Tuning Control Center
Tuning for all instance sizes
- In
/etc/default/serviced
on the Control Center master, setGOMAXPROCS
to half of the value of the CPU core count. - In
/etc/nfsmount.conf
on the Control Center master, setDefaultvers=4.0
Tuning for medium and large instances
- Confirm that the Control Center master has at least 8 CPU cores and
32 GB of RAM. If so, make the following changes proactively:
- Immediate change:
echo 1 > /proc/sys/vm/swappiness
- Permanent change (requires restart to take effect): set
vm.swappiness = 1
in/etc/sysctl.conf
- Immediate change:
-
Raise the Java memory allocations for the 3 logging related services which all default to 1GB by editing /etc/default/serviced
-
SERVICED_ISVCS_ENV_0=elasticsearch-logstash:ES_JAVA_OPTS=-Xmx4g
-
SERVICED_ISVCS_ENV_1=elasticsearch-serviced:ES_HEAP_SIZE=2g
-
SERVICED_ISVCS_ENV_2=logstash:LS_HEAP_SIZE=2g
- Set the Timezone (
TZ=
) in/etc/default/serviced
config on all Control Center delegates (and master) based on the master time zone.
-