Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Mar 2007 09:50:40 -0700
From:      Mark Dotson <mark@dmglobal.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: time goes slow in VmWare
Message-ID:  <45FEBF60.3070803@dmglobal.net>
In-Reply-To: <200703191609.l2JG9ql8060947@pinky.frank-behrens.de>
References:  <200703191609.l2JG9ql8060947@pinky.frank-behrens.de>

next in thread | previous in thread | raw e-mail | index | archive | help
I found that the solution here:

"http://taosecurity.blogspot.com/2006/07/slow-time-with-freebsd-61-guest-on.html"

(Add the following to /boot/loader.conf and reboot: kern.hz="100")

Worked well for me.  I still have minor drift (about 5 minutes after  a 
week) but it can easily be handled by ntp at that point.

I'd give that a try.  :-)

-Mark

Frank Behrens wrote:
> Sergey Matveychuk <sem@freebsd.org> wrote on 19 Mar 2007 17:15:
>> I have a problem with FreeBSD 6.2-RELEASE in VmWare Server on Windows
>> 2003 host.
> 
> Unfortunately I can't help you, but I observed the same problem on a GSX 3.2.1 on Linux.
> 
>> 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.
> 
> The same for me, nothing helped. Also
> kern.clockrate: { hz = 100, tick = 10000, profhz = 66, stathz = 13 }
> did not solve the problem.
> 
>> ntpd does not help. I think because it's too rude time for NTP.
> 
> Yes, the difference is too big, even for a home brewed synchronization routine.
> 
> Regards,
>    Frank



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