- vSphere High Performance Cookbook(Second Edition)
- Kevin Elder Christopher Kusek Prasenjit Sarkar
- 116字
- 2021-07-02 21:00:00
Memory performance best practices
Virtualization causes an increase in the amount of physical memory required due to the extra memory needed by ESXi for its own code and data structures, and you need to know what are the best practice standards you have.
There are four basic principles that you should keep in mind:
- Allocate enough memory to hold the working set of applications that you will run on the VM, thus minimizing swapping. You can estimate the working set by monitoring the Active Memory counter.
- Do not disable the balloon driver.
- Keep TPS enabled. It's free!
- Avoid overcommitting memory to the point that it results in heavy memory reclamation, especially complicated Swap In rates (KBps).