time goes slow in VmWare

Einstein Oliveira einstein at yawl.com.br
Mon Mar 19 16:50:18 UTC 2007

Va'clav Haisman wrote:
> Sergey Matveychuk wrote:
>> Hello.
>> I have a problem with FreeBSD 6.2-RELEASE in VmWare Server on Windows
>> 2003 host.
>> Time is a hour slow for a day.
>> I have hint.apic.0.disabled=1 in loader.conf
>> I've tried all possible values in kern.timecounter.hardware.
>> Nothing helps.
>> I've found it's not only my problem:
>> http://www.vmware.com/community/thread.jspa?threadID=26034&tstart=0
>> ntpd does not help. I think because it's too rude time for NTP.
>> Any hints please.
> I have same problem under MS Virtual Server R2. I did not find any way
> how to solve this. Instead, I worked around this using ntpdate every
> five minutes in cron job and I also set kern.hz=2000 in
> /boot/loader.conf which helps a little bit.
> --
> VH

We're using VMware hosted on Linux with FreeBSD as guest with this
lines in /etc/vmware/config:

host.cpukHz = "3000000"  # Adjust this line to your cpu speed!
host.noTSC = "TRUE"
ptsc.noTSC = "TRUE"

and vmware-tools installed with the following line in the FreeBSD .vmx:

tools.syncTime = "TRUE"

This is the best combination we tried to solve this problem.

Einstein Oliveira              einstein at yawl.com.br
Yawl Internet Ltda.         http://www.yawl.com.br/

More information about the freebsd-stable mailing list