mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marc Perkel <mperkel@yahoo.com>
To: Bart Van Assche <bart.vanassche@gmail.com>
Cc: Chris Snook <csnook@redhat.com>, linux-kernel@vger.kernel.org
Subject: Re: AMD Quad Core clock problem?
Date: Thu, 17 Apr 2008 11:03:04 -0700 (PDT)	[thread overview]
Message-ID: <298557.12633.qm@web52504.mail.re2.yahoo.com> (raw)
In-Reply-To: <e2e108260804162317s5162a6cds151bba6abf988921@mail.gmail.com>


--- Bart Van Assche <bart.vanassche@gmail.com> wrote:

> On Wed, Apr 16, 2008 at 11:44 PM, Marc Perkel
> <mperkel@yahoo.com> wrote:
> >  --- Bart Van Assche <bart.vanassche@gmail.com>
> wrote:
> >  > It's better to correct the clock frequency once
> with
> >  > the tickadj or adjtimex, so you don't have to
> add
> >  > ntpdate to cron and you can still run ntpd.
> >  >
> >  > Bart.
> >
> >  ok - thanks. How do I do that?
> 
> You can do that as follows:
> * First of all, make sure that adjtimex is
> installed. Some distro's
> include this command in util-linux.
> * Query the current tick value via adjtimex -p |
> grep tick. E.g. with
> HZ = 100, tick == 10000.
> * Multiply the tick value with the relative clock
> error: when e.g. 3s
> are lost every hour, the correct tick value is 10000
> * (1 + 3/3600) =
> 10008.
> * Pass this new tick value to the kernel via
> adjtimex -t 10008.
> * Stop and restart ntpd such that it forgets any
> previous frequency estimates.
> * Keep an eye on the output of adjtimex -p|grep
> frequency to see
> whether the frequency estimate converges (should be
> stable within 10
> ppm after an hour. See also man adjtimex for the
> units of this value).
> 
> Bart.
> 

Thanks Bart - that seems to have worked. A value of
10025 seems to get it close enough for NTPD to lock
on. I'm using tickadj.

So - the question is - is this a kernel bug not
calibrating quad core phenoms right or do I just have
a bad motherboard?



Marc Perkel
Junk Email Filter dot com
http://www.junkemailfilter.com


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

  reply	other threads:[~2008-04-17 18:03 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-11 18:27 Marc Perkel
2008-04-11 18:35 ` H. Willstrand
2008-04-11 18:38 ` Chris Snook
2008-04-11 20:28   ` Marc Perkel
2008-04-11 21:11     ` Chris Snook
2008-04-11 21:36       ` Marc Perkel
2008-04-11 21:38         ` Lennart Sorensen
2008-04-13 19:35           ` H. Peter Anvin
2008-04-14 15:12             ` Lennart Sorensen
2008-04-14 16:23               ` H. Peter Anvin
2008-04-14 16:29                 ` Lennart Sorensen
2008-04-15  1:11               ` Krzysztof Halasa
2008-04-15  1:24                 ` H. Peter Anvin
2008-04-15  1:45                   ` Krzysztof Halasa
2008-04-15  2:40                     ` H. Peter Anvin
2008-04-11 21:46         ` Krzysztof Halasa
2008-04-11 22:09       ` Marc Perkel
2008-04-13  8:19         ` Bart Van Assche
2008-04-12  1:04       ` Marc Perkel
2008-04-14 19:16         ` Chris Snook
2008-04-14 20:46           ` Marc Perkel
2008-04-15  6:11           ` Bart Van Assche
2008-04-16 21:44             ` Marc Perkel
2008-04-17  6:17               ` Bart Van Assche
2008-04-17 18:03                 ` Marc Perkel [this message]
2008-04-18 11:56                   ` Bart Van Assche
2008-06-17 21:09           ` Marc Perkel
2008-04-14 13:40       ` Marc Perkel

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=298557.12633.qm@web52504.mail.re2.yahoo.com \
    --to=mperkel@yahoo.com \
    --cc=bart.vanassche@gmail.com \
    --cc=csnook@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /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

Powered by JetHome