From: Valdis.Kletnieks@vt.edu
To: Rafal <newsgroup@limcore.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Kernel unable to adjust timeofday
Date: Fri, 26 Sep 2008 10:51:46 -0400 [thread overview]
Message-ID: <47571.1222440706@turing-police.cc.vt.edu> (raw)
In-Reply-To: Your message of "Fri, 26 Sep 2008 15:29:53 +0200." <gbio4j$aqq$1@ger.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 938 bytes --]
On Fri, 26 Sep 2008 15:29:53 +0200, Rafal said:
> Hello, my system (64bit Ubuntu amd64 box) drifts about 10 seconds per hour
> (i.e. time visible in the system).
First thing to do is figure out why your box has *such* a dreadfully poor
clock. You're drifting at around 3,000 parts-per-million. NTP is only able
to deal with drifts up to 500 ppm, and most systems clocks are *much* more
stable than that (for instance, my laptop is drifting at 2 ppm at the moment).
The fact you're way outside the sane range leads to trouble...
> When I use adjtime(), or when I use ntpd that uses adjtime() then the
> adjustment is slower then the speed of drift.
... which is why you see this happen.
> The default rate of adjustment seems to be really low, can we set the
> default adjustment rate to be a higher?
The default rate is set fine. It's simply unable to deal with insane hardware
and/or software. What kernel are you running on it?
[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]
next prev parent reply other threads:[~2008-09-26 14:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-26 13:29 Rafal
2008-09-26 14:51 ` Valdis.Kletnieks [this message]
2008-09-26 19:49 ` H. Peter Anvin
2008-10-05 1:46 ` Rafal
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=47571.1222440706@turing-police.cc.vt.edu \
--to=valdis.kletnieks@vt.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=newsgroup@limcore.com \
/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
all inboxes | Powered by JetHome®