Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Mar 2007 13:23:26 -0300
From:      Einstein Oliveira <einstein@yawl.com.br>
To:        Va'clav Haisman <v.haisman@sh.cvut.cz>
Cc:        freebsd-stable@FreeBSD.ORG, Sergey Matveychuk <sem@FreeBSD.org>
Subject:   Re: time goes slow in VmWare
Message-ID:  <45FEB8FE.9030207@yawl.com.br>
In-Reply-To: <45FEB3DA.1060002@sh.cvut.cz>
References:  <45FE9AFB.9070703@FreeBSD.org> <45FEB3DA.1060002@sh.cvut.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
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@yawl.com.br
___________________________________________________
Yawl Internet Ltda.         http://www.yawl.com.br/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45FEB8FE.9030207>