Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jun 2008 08:04:51 +0200
From:      Uwe Laverenz <uwe@laverenz.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: vmware timekeeping
Message-ID:  <20080607060451.GA28805@laverenz.de>
In-Reply-To: <48499CCD.2010708@m2.seamanpaper.com>
References:  <48499CCD.2010708@m2.seamanpaper.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 06, 2008 at 04:23:41PM -0400, Jeff Dickens wrote:

> option turned on in ESX's .vmx file, and I have "hint.apic.0.disabled=1" 
> in my FreeBSD guest's /boot/loader.conf.

This shouldn't be necessary in FreeBSD >= 6.2.

> I used to have "kern.hz=100" in loader.conf, but that caused the guest 
> to gain time even faster.

"100" is ok, I'm using this value on all virtual machines.

> Does anyone have a good recipe for decent timekeeping in this config?

Is it possible to upgrade your ESX from 3.0.2 to 3.5x? If not, there is
another setting on the ESX side that helps with timing problems (FreeBSD
or Linux guests): change "Advanced Settings/Misc/Misc.Timer/MinHardPeriod"
from 400 to 100 (this is default on ESX 3.5x).

Uwe




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