lkml.org 
[lkml]   [2006]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Compenstating for clock drift
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-02 19:55    [W:1.445 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site