Solving time drift problem on Ubuntu VMWare Guest
I have an Ubuntu VMWare guest, and having trouble with time drift.
After a bit twiddling with ntp synchronization and still getting unacceptable time drift,
finally I read a post in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471784 :
I done the steps above, and it seems to work perfectly.
Oh, I didn't do the reboot parts nor the pager one.
EDIT: Seems that its not enough. I have a AMD Phenom x4 CPU, which have some anomalies in regard to CPU clock speed.
The problem is, the CentOS 4.6 Host detected that the CPU have clock speed 1100MHz, in reality the CPU have 2200MHz clock. So, imitating this post, I must tell VMware server the real maximum clock:
And make sure ntpd runs to handle the small drifts that still occurs.
After a bit twiddling with ntp synchronization and still getting unacceptable time drift,
finally I read a post in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471784 :
I had a same problem, and resolved following commands:
From: Kazuhiro NISHIYAMA
To: 471784@bugs.debian.org
Subject: Please recommends open-vm-source
Date: Fri, 28 Mar 2008 21:13:22 +0900
I done the steps above, and it seems to work perfectly.
Oh, I didn't do the reboot parts nor the pager one.
EDIT: Seems that its not enough. I have a AMD Phenom x4 CPU, which have some anomalies in regard to CPU clock speed.
The problem is, the CentOS 4.6 Host detected that the CPU have clock speed 1100MHz, in reality the CPU have 2200MHz clock. So, imitating this post, I must tell VMware server the real maximum clock:
vi /etc/vmware/config
edit the file so it resembles these lines:
host.cpukHz = 2200000
host.noTSC = "TRUE"
ptsc.noTSC = "TRUE"
And make sure ntpd runs to handle the small drifts that still occurs.
Comments