public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: John Sigler <linux.kernel@free.fr>
To: linux-kernel@vger.kernel.org
Cc: linux-rt-users@vger.kernel.org, johnstul@us.ibm.com,
	tglx@linutronix.de, questions@lists.ntp.org
Subject: Re: System clock frequency offset changes drastically across reboots
Date: Fri, 03 Aug 2007 09:47:17 +0200	[thread overview]
Message-ID: <46B2DD85.2030100@free.fr> (raw)
In-Reply-To: <46AD9A74.8070302@free.fr>

[ Expanding recipients list to include NTP mailing list ]

> John Sigler wrote:
> 
>> I'm using 2.6.20.7-rt8 on a P3.
> 
> (But some ntpd users have reported the problem with mainline kernels and 
> different versions.)
> 
>> I've noticed that the frequency offset of my system clock (computed 
>> either by ntpd, or by hand) changes drastically across reboots.
>>
>> By drastically, I mean +/- 60 ppm every time I reboot.
>>
>> Apparently this is caused by some imprecision in the frequency 
>> estimation done in calculate_cpu_khz() (arch/i386/kernel/tsc.c)
>>
>> My brutally crude work-around was to skip the computation altogether 
>> and hard-code the "correct" value for cpu_khz.
>>
>> http://linux.kernel.free.fr/cpu_khz.adlink
>>
>> Has this issue been investigated more thoroughly by other users?

Is there, perhaps, more appropriate a forum to discuss such matters?

Regards.


  reply	other threads:[~2007-08-03  7:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-27 11:56 System clock frequency offset changes drastically across reboots John Sigler
2007-07-30  7:59 ` John Sigler
2007-08-03  7:47   ` John Sigler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-09-03 10:21 John Sigler

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=46B2DD85.2030100@free.fr \
    --to=linux.kernel@free.fr \
    --cc=johnstul@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=questions@lists.ntp.org \
    --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