Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Feb 2008 20:28:22 +0100
From:      Peter Boosten <peter@boosten.org>
To:        Shawn Barnhart <swb@grasslake.net>
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Clock stabilization in VMWare hosted machines?
Message-ID:  <20080209202822.om3ysati0c4owoc4@www.boosten.org>
In-Reply-To: <47ADFB65.707@grasslake.net>
References:  <47ADFB65.707@grasslake.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Shawn Barnhart <swb@grasslake.net>:

> I know this is a major nuisance, but I can't remember how I dealt with
> it in the past.  My most recent stab at using ntpd with minpoll 4
> polling of a local ntp time source isn't working, the clock drift
> prevents any sync from happening (but I'll admit not trying some of the
> more aggressive time adjustment options to ntpd).
>
> VMWare's documentation and support leans pretty heavily toward Linux
> and I'm not finding a decent recommendation from them.
>
> I rebuilding a kernel with options HZ=100 to see if that makes a
> difference, not sure why I remember that helping, but any other
> strategies known to work?


In my /boot/loader.conf:

kern.hz="100"

In the vmx-file:
tools.synctime = "TRUE"

I installed the vmware tools and ntpd

That's about all.

ntpdate -d 192.168.23.15:

  9 Feb 20:26:47 ntpdate[45172]: adjust time server 192.168.23.15  
offset 0.057667 sec

Cheers,

Peter

-- 
http://www.boosten.org



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