SmartSense Performance Tuning

To achieve optimal performance for your cluster size, you may need to increase the JVM memory settings.

The default setting is:

-Xms512m -Xmx2048m

This setting is appropriate for a cluster with up to 100 nodes. For each additional 100 nodes, increase this setting by 0.5 GB to improve performance. To adjust the setting, edit the /etc/sbin/hst-server.py file:

Line: 1408
 def get_server_start_cmd():
  return "{0} -server -XX:NewRatio=3 "\
          "-XX:+UseConcMarkSweepGC " +\
          "-XX:-UseGCOverheadLimit -XX:CMSInitiatingOccupancyFraction=60 " +\
          debug_options +\
          " -Dlog.file.name="+ SERVER_LOG_FILENAME +" -Xms512m -Xmx2048m -cp {1}" + os.pathsep + "{2}" +\
          " com.hortonworks.support.tools.server.SupportToolServer "\
          ">" + get_out_file() + " 2>&1 &"