TimeSyncing Issues w/ VMs

Mindwatering Incorporated

Author: Tripp W Black

Created: 02/18/2007 at 11:58 PM

 

Category:
VMWare
Host Configuration

Time Runs Too Fast with Linux VMs on Linux Host w/Multicore Intel or AMD Processors:

Time games at least 10-30% daily.

NTP did not work, even hourly we see server hours ahead only to be yanked back. Causes issues with database replication and logging.

Things to try:
GUEST: Edit guest .vmx file on host, add the following:
tools.syncTime = "TRUE"

GUEST: /boot/grub/grub.conf, add the following to kernel line:
"clock=pit"

HOST: /etc/vmware/config, add the following:
host.cpukHz = {cpuspeed ######## in KHz from /proc/cpuinfo}
host.noTSC = TRUE
ptsc.noTSC = TRUE

HOST: Keep ntpd running
(Note: May be on from original host install.)

HOST: Keep cpuspeed off
(Note: May be on from original host install.)

GUEST: Keep cpuspeed off (already there)
(Note: May be on from original host install.)

previous page

×