mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Nick Warne" <nick@linicks.net>
To: "Jon Smirl" <jonsmirl@gmail.com>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: Compenstating for clock drift
Date: Thu, 2 Mar 2006 18:52:21 +0000	[thread overview]
Message-ID: <7c3341450603021052l39773247q@mail.gmail.com> (raw)
In-Reply-To: <9e4733910603020759m10545cd1va3ef67398f1f38ea@mail.gmail.com>

On 02/03/06, Jon Smirl <jonsmirl@gmail.com> wrote:
> From my logs I can see that my system clock is consistently drifting
> about 3 seconds every 24hrs and ntp is faithfully correcting it.  Can
> the kernel track long term data like this and insert/remove a few
> extra ticks to minimize the size of the ntp drift corrections?

ntp should do that anyway - check you have a drift file defined in ntp.conf

# Drift file.  Put this in a directory which the daemon can write to.
# No symbolic links allowed, either, since the daemon updates the file
# by creating a temporary in the same directory and then rename()'ing
# it to the file.
#
driftfile /etc/ntp/drift

Over time it will adjust to suit and step the changes gracefully.

Nick

      reply	other threads:[~2006-03-02 18:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-02 15:59 Jon Smirl
2006-03-02 18:52 ` Nick Warne [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7c3341450603021052l39773247q@mail.gmail.com \
    --to=nick@linicks.net \
    --cc=jonsmirl@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome