From: Jes Sorensen <jes@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: Re: ia64 printk_clock()
Date: Wed, 08 Feb 2006 06:29:19 +0000 [thread overview]
Message-ID: <43E98FBF.9030300@sgi.com> (raw)
In-Reply-To: <20060202204422.GA27082@sgi.com>
Luck, Tony wrote:
> That looks pretty good. It's a little interesting watching the
> boot with CONFIG_PRINTK_TIME=y ... at first lines are printed with
> a 0.000000 timestamp because we are using ia64_default_printk_clock()
> and jiffies aren't moving yet. Then I think we switch over to the itc
> version, but we still see 0.00000 because the per-cpu nsec_per_cyc
> hasn't been initialized yet (multiply by 0 and you get 0).
>
> Once we've read the PAL to get the frequency, we start seeing good
> timestamps: until we start bringing up other cpus, when we see a
> couple more 0.000000 stamps per cpu. Not sure if these are because
> we printk() before the new cpu has had a chance to set ar.k3, or if
> the printk() is before nsec_per_cpu is initialized.
Hi Tony,
Hadn't seen this effect since the SN2 use the global clock source which
is in sync for all CPUs. Would it make sense to use the HPET on systems
that got it?
Cheers,
Jes
next prev parent reply other threads:[~2006-02-08 6:29 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-02 20:44 ia64 printk_clock() Jack Steiner
2006-02-02 21:22 ` Dean Roe
2006-02-02 21:46 ` Luck, Tony
2006-02-02 21:50 ` Jack Steiner
2006-02-02 22:29 ` Luck, Tony
2006-02-02 22:52 ` Chen, Kenneth W
2006-02-03 17:43 ` Chen, Kenneth W
2006-02-03 18:04 ` Luck, Tony
2006-02-03 18:30 ` Chen, Kenneth W
2006-02-03 18:43 ` Luck, Tony
2006-02-03 18:55 ` Chen, Kenneth W
2006-02-04 0:16 ` Keith Owens
2006-02-04 0:28 ` Chen, Kenneth W
2006-02-04 0:32 ` Luck, Tony
2006-02-04 0:36 ` Keith Owens
2006-02-06 18:14 ` Luck, Tony
2006-02-06 18:34 ` Chen, Kenneth W
2006-02-06 20:40 ` Magenheimer, Dan (HP Labs Fort Collins)
2006-02-06 21:37 ` Chen, Kenneth W
2006-02-07 11:11 ` Jes Sorensen
2006-02-08 0:05 ` Luck, Tony
2006-02-08 6:29 ` Jes Sorensen [this message]
2006-02-08 18:18 ` Luck, Tony
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=43E98FBF.9030300@sgi.com \
--to=jes@sgi.com \
--cc=linux-ia64@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