Date: Fri, 16 Dec 2011 11:56:39 -0600 From: "Li-Lun \"Leland\" Wang" <llwang@infor.org> To: Adam Vande More <amvandemore@gmail.com> Cc: freebsd-emulation@freebsd.org, freebsd-ports@freebsd.org Subject: Re: Lousy timekeeping in VirtualBox 4.0.14 Message-ID: <CAAMzD71BxprH9E_%2B3WTNKZtP7U5rfYwa5kBShmuBUAT6T-PsTw@mail.gmail.com> In-Reply-To: <CA%2BtpaK3jNqy-6YfD8fufnbGaNDV%2B1SG242u%2BNXsxpxfBPGJ1MQ@mail.gmail.com> References: <4EE9014F.7010300@lerctr.org> <4EEA5461.4080107@lerctr.org> <CA%2BtpaK3jNqy-6YfD8fufnbGaNDV%2B1SG242u%2BNXsxpxfBPGJ1MQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 16, 2011 at 10:04 AM, Adam Vande More <amvandemore@gmail.com> w= rote: > On Thu, Dec 15, 2011 at 2:11 PM, Larry Rosenman <ler@lerctr.org> wrote: >> I've set up VirtualBox 4.0.14 on my FreeBSD 10.0-CURRENT (r228498) >> box, and have a FreeBSD 10.0-CURRENT VM running underneath it. >> While the VM is running, it doesn't keep time worth a flip. > > =C2=A0There is a bunch of tuning you can do with Virtualbox to try and al= leviate > such issues: > > http://www.virtualbox.org/manual/ch09.html#idp13756960 > > However no combination has worked for me. =C2=A0The only stable config I'= ve been > able to find is to setup NTP on host and guest and keep vboxservice > running. =C2=A0Running vboxservice alone results in very erratic timekeep= ing and > the service core dumps every few days. =C2=A0Running NTP alone results in= the > difference going too high and out of NTP's allowable range. I don't remember where I saw it, but have you tried to set the kernel tunable kern.hz=3D50 in your guest FreeBSD? It made a huge difference to me. -- llwang
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAMzD71BxprH9E_%2B3WTNKZtP7U5rfYwa5kBShmuBUAT6T-PsTw>