Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 2015 23:36:24 -0600
From:      Adam Vande More <amvandemore@gmail.com>
To:        Rick Thomas <rbthomas@pobox.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: How to adjust clock frequency in FreeBSD 10.1 ?
Message-ID:  <CA%2BtpaK3bn-UPrqTU9cME2V9Ls=auf1n0rdr%2BuHA1b7pcspmiPw@mail.gmail.com>
In-Reply-To: <AE5A370C-A7F7-41D2-900D-B26521A2D705@pobox.com>
References:  <AE5A370C-A7F7-41D2-900D-B26521A2D705@pobox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 11, 2015 at 9:09 PM, Rick Thomas <rbthomas@pobox.com> wrote:

> Hi All,
>
> I=E2=80=99ve got a machine with a really bad clock.  When I run NTP on it=
, the
> freq goes straight to 500.0 (over a period of a few days) and stays there=
,
> while the offset grows and grows.
>
> I recently switched this machine from Debian Linux to FreeBSD (wanting to
> learn more about FreeBSD).  Under Linux, I used adjtimex to modify the TI=
CK
> value and (once I had converged on the right value) NTP was able to
> stabilize the clock.
>
> Is there an equivalent hack for FreeBSD?
>

You may wish to play around w/

sysctl kern.timecounter

to find a setting that works for you.

--=20
Adam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK3bn-UPrqTU9cME2V9Ls=auf1n0rdr%2BuHA1b7pcspmiPw>