From: Jesper Juhl <jesper.juhl@gmail.com>
To: Tim Schmielau <tim@physik3.uni-rostock.de>
Cc: "Randy.Dunlap" <rdunlap@xenotime.net>, linux-kernel@vger.kernel.org
Subject: Re: early printk timings way off
Date: Fri, 16 Sep 2005 15:56:33 +0200 [thread overview]
Message-ID: <9a87484905091606564559fadd@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.53.0509161226440.19898@gockel.physik3.uni-rostock.de>
On 9/16/05, Tim Schmielau <tim@physik3.uni-rostock.de> wrote:
> On Fri, 16 Sep 2005, Tim Schmielau wrote:
>
> > On Fri, 16 Sep 2005, Jesper Juhl wrote:
> > > It also doesn't
> > > explain why two lines, the first with timing value 0.000, and the next
> > > with 27.121 don't seem to match reality - the *actual* delta between
> > > printing those two lines is far lower than 27 seconds.
> >
> > Yes, this seems to be different, possibly unrelated problem.
> > It's interesting that the value jumps _exactly_to_zero_, though.
> > Will need to dig into the code...
>
> Did that.
> The problem is that printk uses sched_clock() to determine the time, which
> just isn't supposed to be a reliable long-time clock. We need to base the
> output on a different clock.
>
> Btw, the rate-limiting logic in printk.c looks 'interesting'. Will look
> into that, too.
>
Thanks Tim, much appreciated.
--
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
prev parent reply other threads:[~2005-09-16 13:56 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-15 21:42 early printk timings way off Jesper Juhl
2005-09-15 21:59 ` Randy.Dunlap
2005-09-15 22:07 ` Jesper Juhl
2005-09-15 22:37 ` Randy.Dunlap
2005-09-15 22:49 ` Jesper Juhl
2005-09-15 22:55 ` Randy.Dunlap
2005-09-15 23:00 ` Jesper Juhl
2005-09-16 10:30 ` Rogier Wolff
2005-09-16 13:55 ` Jesper Juhl
2005-09-16 17:04 ` Tim Bird
2005-09-16 17:15 ` Tim Schmielau
2005-09-16 17:25 ` Tim Schmielau
2005-09-16 17:42 ` Tim Bird
2005-09-16 18:24 ` Tony Luck
2005-09-16 17:37 ` Tim Bird
2005-09-16 10:09 ` Tim Schmielau
2005-09-16 10:33 ` Tim Schmielau
2005-09-16 13:56 ` Jesper Juhl [this message]
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=9a87484905091606564559fadd@mail.gmail.com \
--to=jesper.juhl@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rdunlap@xenotime.net \
--cc=tim@physik3.uni-rostock.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