From: john stultz <johnstul@us.ibm.com>
To: Miroslav Lichvar <mlichvar@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>, Rik van Riel <riel@redhat.com>,
mingo@redhat.com, hpa@zytor.com, linux-kernel@vger.kernel.org,
akpm@linux-foundation.org, tglx@linutronix.de,
linux-tip-commits@vger.kernel.org
Subject: Re: [tip:timers/ntp] ntp: adjust SHIFT_PLL to improve NTP convergence
Date: Tue, 02 Jun 2009 13:55:35 -0700 [thread overview]
Message-ID: <1243976135.3501.10.camel@localhost> (raw)
In-Reply-To: <20090602162208.GA15696@localhost>
On Tue, 2009-06-02 at 18:22 +0200, Miroslav Lichvar wrote:
> On Tue, Jun 02, 2009 at 02:20:39AM +0200, Ingo Molnar wrote:
> >
> > Not just that - but there's calibration noise during bootup that can
> > cause randomly distributed recalibrations as well. So other hosts in
> > a mixed environment will see inconsistencies anyway, after every
> > bootup.
[snip]
> As for the calibration issue, would it be possible to export the
> information that an instable clocksource is used and when was the last
> time it was calibrated? Then we'd know when the drift file should not
> be trusted and let NTP calculate the frequency directly (it takes
> about 15 minutes).
Just to de-thread the issues here, the calibration noise issue really is
separate from the SHIFT_PLL convergence issue.
I'd really prefer the calibration noise issue to be resolved by the
kernel, as its really only an issue on a subset of x86 machines. The
tsc_khz= boot option I proposed earlier for folks who really care seems
to me like a good route.
The only NTPd side change to help the calibration issue that might be
useful, would be a explicit ntp option to force NTP to always calculate
the freq on startup if the drift file was present or not. Anything else
would be way too much of a hack to get around bad kernel behavior.
thanks
-john
next prev parent reply other threads:[~2009-06-02 20:55 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200905051956.n45JuVo9025575@imap1.linux-foundation.org>
2009-05-06 9:46 ` [tip:timers/ntp] ntp: adjust SHIFT_PLL to improve NTP convergence tip-bot for john stultz
2009-05-12 1:13 ` john stultz
2009-05-12 9:31 ` [tip:timers/ntp] ntp: fix comment typos tip-bot for john stultz
2009-05-28 20:33 ` [tip:timers/ntp] ntp: adjust SHIFT_PLL to improve NTP convergence John Stultz
2009-06-01 23:22 ` Ingo Molnar
2009-06-01 23:58 ` John Stultz
2009-06-02 0:06 ` Rik van Riel
2009-06-02 0:20 ` Ingo Molnar
2009-06-02 16:22 ` Miroslav Lichvar
2009-06-02 20:55 ` john stultz [this message]
2009-06-02 0:29 ` John Stultz
2009-06-02 3:39 ` Ray Lee
2009-06-02 17:47 ` Mr. James W. Laferriere
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=1243976135.3501.10.camel@localhost \
--to=johnstul@us.ibm.com \
--cc=akpm@linux-foundation.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=mingo@redhat.com \
--cc=mlichvar@redhat.com \
--cc=riel@redhat.com \
--cc=tglx@linutronix.de \
/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