From: john stultz <johnstul@us.ibm.com>
To: Chris Friesen <cfriesen@nortelnetworks.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: high res timestamps and SMP
Date: 19 Nov 2003 19:02:22 -0800 [thread overview]
Message-ID: <1069297341.23568.130.camel@cog.beaverton.ibm.com> (raw)
In-Reply-To: <3FBBF148.20203@nortelnetworks.com>
On Wed, 2003-11-19 at 14:40, Chris Friesen wrote:
> We have a requirement to have high-res timestamps available on SMP systems.
>
> Assuming that we are running identical cpus, is a sync-up at boot time
> enough to give usable time values, or do I need to do force periodic
> re-syncs?
If the cpus (or their time stamp counter) are all driven by the same
signal and you do not suffer from NUMA effects, then syncing them should
be enough.
However, if you suffer from NUMA effects, or if the counters are not
driven off the same signal, its likely you could run into problems.
> We're currently looking at MIPS, x86 (Xeons), and PPC.
o No clue on MIPS.
o The x86 TSC is a horrible time source, but may work well enough on
simple SMP systems.
o PPC has a nice in-cpu time-base register (ppc folks, feel free to
smack or correct me on this) which is driven off the bus-clock and is
synced in hardware.
good luck!
-john
next prev parent reply other threads:[~2003-11-20 3:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-19 22:40 Chris Friesen
2003-11-20 3:02 ` john stultz [this message]
2003-11-20 10:21 ` Mikael Pettersson
2003-11-20 19:46 ` Anton Blanchard
2003-11-20 22:31 ` Chris Friesen
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=1069297341.23568.130.camel@cog.beaverton.ibm.com \
--to=johnstul@us.ibm.com \
--cc=cfriesen@nortelnetworks.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
all inboxes | Powered by JetHome®