In case you are planning to install VMware ESXi on a host server, you need to be aware of the VMware ESXi best practices that get the most out of your system. You need to be able to identify the best options regarding the CPU cores and sockets, hyper threading, NUMA mode, Hardware assisted virtualization, power management, cache prefetching and memory scrubbing.
Upgrade that BIOS version
Confirm that you’re running the most recent version of the BIOS released for your system. This is crucial since you don’t want any resolved bugs or new features missing from your system.
VMware ESXi needs Cores and sockets
According to Vmware ESXi best practices, to get the best performance out of your CPU, you need to check that the BIOS is set to enable all processor sockets and to enable all cores in every socket. Also, set “Turbo Boost” within the BIOS if your processors support it.
What about Hyper threading?
To further enhance CPU performance, confirm that hyper-threading is enabled within the BIOS if supported.
Node interleaving aka NUMA mode
Some NUMA-capable systems offer the possibility within the BIOS to deactivate NUMA by activating node Interleaving. According to ESXi best practices, it is best to leave NUMA enabled since you get the most effective performance by deactivating node interleaving.
Hardware assisted virtualization is a common sense
Check that any hardware-assisted virtualization preferences (VT-x, AMD-V, EPT, RVI, so on) are enabled in the BIOS.
Get rid of unused devices
Disable from inside the BIOS any devices you won’t be utilizing, like unnecessary serial, USB, or network ports.
Does VMware ESXi likes cache prefetching?
Cache prefetching mechanisms (usually known as DPL Prefetch, Hardware Prefetcher, L2 Streaming Prefetch, or Adjacent Cache Line Prefetch) typically aid performance, particularly when access memory patterns are regular. In case you are running applications that access memory at random, however, deactivating these mechanisms may possibly lead to better performance.
VSphere best practices suggest to leave memory scrubbing rate at the default setting if the BIOS permits to be configured.
VMware ESXi can handle power management
Since VSphere embraces full-featured power management capabilities, it is best to set power management within the BIOS to “OS Controlled mode”, however, there are specific cases reported where “Performance Mode” does much better.
VSphere best practices suggest to enable all deeper C-states than C1 (ie C3,C6 etc) in BIOS and use ESXi host power management to control it.
Note that C1E halt state may improve the performance of some single-threaded workloads or decrease performance for workloads that have low CPU utilization and are highly sensitive to I/O latency.
Lefteris is an experienced IT specialist / infrastructure architect with an extensive background in the small-to-medium project-based business.
Since 2002 Lefteris has been providing IT Services that improve the information and technology set-ups of small and medium businesses to an ideal level, therefore reducing your company’s operating costs and increasing your staff’s effectiveness.
Unlike other IT specialists and service providers who focus on plain-vanilla IT support, we focus on your company’s improvement by the use of technology.