OS Tuning
Minimal Installation of OS
Select only test related features when installing the operating system, which may cause many services uninstalled and thus may reduce the consumption of resources by the operation system itself.In accordance with the following ways to install operating system:
ulimit -s [n | unlimited] (Linux)
Sets the stack size to n kbytes, or unlimited to allow the stack size to grow without limit.
Tmpfs Filesystem Setting
tmpfs is a file system on which everything is kept in virtual memory and no files will be created on the hard drive; the tmpfs will used swap space as backing store in case of low memory situations. This feature has a much negative effect on the I/O load and system performance.
Transparent HugePages
Transparent HugePages increase the memory page size from 4KB to 2MB. This feature provide significant performance advantages on systems with highly contended resources and the memory workloads. If memory utilization is too high or memory is badly fragmented which prevents hugepages being allocated, the kernel will assign smaller 4K pages instead.
On RHEL6 and later, Transparent Hugepages are used by default if /sys/kernel/mm/redhat_transparent_hugepage/enabled is set to always. The default value is always. On SUSE SLES11 and later and on NLAS V7U2, Transparent Hugepages are used by default if /sys/kernel/mm/transparent_hugepages/enabled is set to always. The default value is always.
Power Technology
This BIOS switch allows 3 options:"Disable", "Energy Efficient" and "Custom". "Energy Efficent" is the default value and it's for power saving. "Custom" is for personal customization and only when the switch is set as this value, the submemus, including "CPU HWPM State Control","CPU C State Control","CPU T State Control" and "CPU advanced PM Tuning" are open for configuring.
Package C State limit
This switch is included in "CPU C State Control" menu.It allows 4 values: "C0/C1 state", "C2 state", "C6(non Retention) state" and "C6(Retention) state". Default is "C6(Retention) state", which causes the CPU to enter a low-power mode when the CPU is idle. When set as "C0/C1 state", all of the cores are locked at the maxium performance and will cause a large consumption of power.
Enhanced Halt State (C1E)
This switch is included in "CPU C State Control" menu.Enabling this option which is the default allows the processor to transmit to its minimum frequency when entering the power state C1. If the switch is disabled the CPU stays at its maximum frequency in C1. Because of the increase of power consumption users should only select this option after performing application benchmarking to verify improved performance in their environment.
ACPI T-States
This switch is included in "CPU T State Control" menu.Enable or Disable this switch will activate/inactivate CPU throttling by operating system.Throttling reduces power consumption.The default value is Enable.Disable this feature will contribute to performance tuning but may cause high power consumption.
Energy Performance BIAS Setting.
This BIOS switch is included in the "Energy Perf BIAS" menu, which is a submenu of "CPU advanced PM Tuning". It allows 4 options: "Balanced performance", "Performance", "Balanced Power" and "Power". The default is "Balanced Performance", which has been optimized to maximum power savings with minimal impact on performance. "Performance" disables all power management options with any impact on performance. "Balanced Power" is optimized for power efficiency and "Power" for power savings.The two options "Balanced Performance" and "Balanced Power" should always be the first choice as both options optimize the efficiency of the system. In cases where the performance is not sufficient or the power consumption is too high the two options "Performance" or "Power" could be an alternative.
Turbo Mode:
Enabling turbo mode can boost the overall CPU performance when all CPU cores are not being fully utilized.
Turbo Boost:
This BIOS option can be set to Power Optimized or Traditional. When Power Optimized is selected, Intel Turbo Boost Technology engages after Performance state P0 is sustained for longer than two seconds. When Traditional is selected, Intel Turbo Boost Technology is engaged even for P0 requests less than two seconds.
Hyper-threading:
This BIOS setting enables/disables Intel's Hyper-Threading (HT) Technology. With HT Technology, the operating system can execute two threads in parallel within each processor core.
NUMA:
This BIOS option sets memory accessing mode. NUMA is as Non Uniform Memory Access. If this option is enabled, each CPU chip can only access memory within its own node.
Fan Control
The default option for fan speed is set as auto mode. Fan speed could be self-controlled in this mode. For advanced users, to set the fan running at full speed with ipmitool is also supported.
Steps to set the fans running at full speed(x.x.x.x is the IP address of Baseboard Management Controller, and make sure you can ping to it):