VMFAQ.com - FAQing about virtualization since 2008
Search:     Advanced search
Browse by category:
Contact Us

Recommended performance tuning options for Linux guests

Add comment
Views: 2155
Votes: 1
Comments: 0
Posted: 23 Jan, 2008
by: Huhtinen H.
Updated: 09 Mar, 2008
by: Huhtinen H.

Linux guests' performance may be improved if they have been created without much thought.

Always use a single VCPU when the CPU capacity requirement of the VM allows it.

Install VMware Tools and keep it updated.

Add the options "nosmp noapic nolapic clock=pit" to the guest's kernel (2.6) parameters. Don't add "nosmp" if using more than one VCPU.

Note clock=pit is depracted since kernel 2.6.16. Use clocksource=pit instead if your kernel is newer than that.

On RHEL 5.1 (and variants such as CentOS 5.1) add the option divider=10 to the kernel boot parameters. This causes the default clock tick rate, 1000HZ to be divided by 10, so HZ=100. On other distros, try using a kernel with Hz=100. Most 2.6 desktop distros are using HZ=1000, while the server distros tend to use HZ=100 or HZ=250.

See also http://kb.vmware.com/kb/775 and http://bugs.centos.org/view.php?id=2189

 You might also benefit from optimizing the host: I need more performance out of my VMware environment

Also read
document My virtual machine's clock is inaccurate. What can be done to make it more accurate?

Others in this Category
document Which hardware can I install ESX on?
document Can I grow an existing virtual disk (.vmdk file)?
document I'm trying to install ESX4, but it stalls at 26% then slowly goes up to 29% and then nothing happens
document Need to mount a snapshotted LUN or a LUN that was suddenly lost
document I'm trying to install VMware Tools on Linux, but nothing happens
document I keep ketting strange com.vmware.vcIntegrity reconfiguration messages
document I need more performance out of my VMware environment
document I can't find VMware documentation
document Recommendations for template virtual machines
document Active Directory and VMware snapshots
» More articles



RSS