raising NewSize to 128m from 64m generally improves performance
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@925570 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e1e70fdfc3
commit
6befceaf93
|
@ -241,7 +241,7 @@ cp $HADOOP_HOME/conf/mapred-site.xml $HBASE_HOME/conf/mapred-site.xml
|
||||||
# Override JVM options
|
# Override JVM options
|
||||||
cat >> $HBASE_HOME/conf/hbase-env.sh <<EOF
|
cat >> $HBASE_HOME/conf/hbase-env.sh <<EOF
|
||||||
export HBASE_MASTER_OPTS="-Xmx1000m -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+DoEscapeAnalysis -XX:+AggressiveOpts -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:/mnt/hbase/logs/hbase-master-gc.log"
|
export HBASE_MASTER_OPTS="-Xmx1000m -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+DoEscapeAnalysis -XX:+AggressiveOpts -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:/mnt/hbase/logs/hbase-master-gc.log"
|
||||||
export HBASE_REGIONSERVER_OPTS="-Xmx2000m -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=88 -XX:NewSize=64m -XX:MaxNewSize=64m -XX:+DoEscapeAnalysis -XX:+AggressiveOpts -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:/mnt/hbase/logs/hbase-regionserver-gc.log"
|
export HBASE_REGIONSERVER_OPTS="-Xmx2000m -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=88 -XX:NewSize=128m -XX:MaxNewSize=128m -XX:+DoEscapeAnalysis -XX:+AggressiveOpts -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:/mnt/hbase/logs/hbase-regionserver-gc.log"
|
||||||
EOF
|
EOF
|
||||||
# Configure log4j
|
# Configure log4j
|
||||||
sed -i -e 's/hadoop.hbase=DEBUG/hadoop.hbase=INFO/g' \
|
sed -i -e 's/hadoop.hbase=DEBUG/hadoop.hbase=INFO/g' \
|
||||||
|
|
Loading…
Reference in New Issue