Date: Fri, 16 Dec 2011 10:54:00 -0500 From: Maxim Khitrov <max@mxcrypt.com> To: Larry Rosenman <ler@lerctr.org> Cc: freebsd-ports@freebsd.org Subject: Re: Lousy timekeeping in VirtualBox 4.0.14 Message-ID: <CAJcQMWeF12JKqcJtRiEHtrGMyg5WGsKoMOJeb9qt7JTsMVwwqQ@mail.gmail.com> In-Reply-To: <4EEA5461.4080107@lerctr.org> References: <4EE9014F.7010300@lerctr.org> <4EEA5461.4080107@lerctr.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 15, 2011 at 3: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. > > This is even with the VirtualBox-Additions in it. > > 1) is this expected/known? > 2) What can we do to fix it? > > What diagnostics do you need? > > I *CAN* provide ssh access to both the host and the guest. Did you try setting 'kern.hz=64' (or 100) in /boot/loader.conf for the guest? AFAIK, most clock issues in virtual machines have to do with missed interrupts, so reduce Kernel's timer frequency. - Max
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJcQMWeF12JKqcJtRiEHtrGMyg5WGsKoMOJeb9qt7JTsMVwwqQ>