time goes slow in VmWare

Joe Holden joe at joeholden.co.uk
Mon Mar 19 17:35:49 UTC 2007


Einstein Oliveira wrote:
> 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.
> 
> 
Hi, I also noticed this, and the above thread, but I ended up solving it 
by setting HZ to 100 in the guest.

Ta,
J


More information about the freebsd-stable mailing list