All of lore.kernel.org
 help / color / mirror / Atom feed
* Compenstating for clock drift
@ 2006-03-02 15:59 Jon Smirl
  2006-03-02 18:52 ` Nick Warne
  0 siblings, 1 reply; 2+ messages in thread
From: Jon Smirl @ 2006-03-02 15:59 UTC (permalink / raw)
  To: lkml

>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?

--
Jon Smirl
jonsmirl@gmail.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Compenstating for clock drift
  2006-03-02 15:59 Compenstating for clock drift Jon Smirl
@ 2006-03-02 18:52 ` Nick Warne
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Warne @ 2006-03-02 18:52 UTC (permalink / raw)
  To: Jon Smirl; +Cc: lkml

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-03-02 18:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-02 15:59 Compenstating for clock drift Jon Smirl
2006-03-02 18:52 ` Nick Warne

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.