From: "Luck, Tony" <tony.luck@intel.com>
To: john stultz <johnstul@us.ibm.com>
Cc: linux-arch@vger.kernel.org
Subject: Re: Request for feedback on Generic Timeofday Subsystem (B20)
Date: Wed, 8 Mar 2006 13:33:35 -0800 [thread overview]
Message-ID: <20060308213335.GA8131@agluck-lia64.sc.intel.com> (raw)
In-Reply-To: <1141772520.21582.36.camel@leatherman>
On Tue, Mar 07, 2006 at 03:01:58PM -0800, john stultz wrote:
> You are right there. The jitter handling (if I recall, basically a
> cmpxchg w/ the last read cycle value to be sure the clocksource doesn't
> go backward) wouldn't be doable in userspace, but it seems that would
> already be a pretty bad hit on performance. Is it not? And how many
> systems actually use unsycned/jittery ITCs instead of alternative mmioed
> clocksources?
Yes the cmpxchg can be painful on a large NUMA ... so those systems tend
to use a non-jittery source. Smaller machines may not have access (as
BIOS may not describe where the HPET is), and there is also a tradeoff
since reading the "ar.itc" register is much faster[1] than reading some
bus-based clock ... so the cmpxchg may not hurt too badly if you only
have a few cpus.
> Regardless, if its really a blocking issue, I'm not opposed to putting
> the direct access methods back into the structure, or going with an
> alternative solution to make these bits doable. Ingo might have a better
> idea for this as well.
I'm always open to a "better idea" ... but if one of those fails to show up
then I'd like to have the direct access methods.
> Do you have any other issues or questions?
Not at this time.
-Tony
[1] Ok, "is less slow than" (reading ar.itc isn't "fast" either).
next prev parent reply other threads:[~2006-03-08 21:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-06 20:15 Request for feedback on Generic Timeofday Subsystem (B20) Luck, Tony
2006-03-07 1:35 ` john stultz
2006-03-07 19:06 ` Luck, Tony
2006-03-07 19:37 ` john stultz
2006-03-07 22:40 ` Luck, Tony
2006-03-07 23:01 ` john stultz
2006-03-08 21:33 ` Luck, Tony [this message]
2006-03-10 1:15 ` john stultz
2006-03-09 18:18 ` Andi Kleen
2006-03-18 0:35 ` john stultz
-- strict thread matches above, loose matches on Subject: below --
2006-03-06 18:01 john stultz
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=20060308213335.GA8131@agluck-lia64.sc.intel.com \
--to=tony.luck@intel.com \
--cc=johnstul@us.ibm.com \
--cc=linux-arch@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