From: john stultz <johnstul@us.ibm.com>
To: Krzysztof Oledzki <olel@ans.pl>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.18 and tsc clocksource on SMP
Date: Thu, 19 Oct 2006 11:48:16 -0700 [thread overview]
Message-ID: <1161283696.6961.137.camel@localhost> (raw)
In-Reply-To: <Pine.LNX.4.64.0610182125580.29565@bizon.gios.gov.pl>
On Wed, 2006-10-18 at 21:32 +0200, Krzysztof Oledzki wrote:
> Hello,
>
> I have just upgraded kernel (2.6.16.x->2.6.18.1) on on of my servers (Dell
> PowerEdge1425SC with 2 CPUs with HT - total 4 CPUs) and noticed that
> system no longer uses HPET as a clocksource.
>
> # cat /sys/devices/system/clocksource/clocksource0/available_clocksource
> acpi_pm jiffies hpet tsc pit
>
> # cat /sys/devices/system/clocksource/clocksource0/current_clocksource
> tsc
Yep. You'll notice the hpet is still available, but by default we select
the TSC (unless it is marked as unstable).
> AFAIK TSC should not be used on SMP systems, shouldn't it?
This was done to unify the behavior between i386 and x86_64. Previously
i386 was overly cautious, selecting the TSC only if ACPI PM, or HPET
were not available. However this impacted performance as the TSC is much
faster. In fact, many distros reversed the order to prefer the TSC.
It has been asserted that many Intel SMP systems can safely use the TSC,
while AMD smp boxes for the most part cannot. On any system, if the
system enters C3, or we notice cpufreq changes in the TSC, it will be
disqualified and it will fall back to the hpet or the next best
available clocksource. Hopefully this will always select the best
clocksource.
Please do let us know if you see any problems due to this change.
thanks
-john
prev parent reply other threads:[~2006-10-19 18:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-18 19:32 2.6.18 and tsc clocksource on SMP Krzysztof Oledzki
2006-10-19 18:48 ` john stultz [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=1161283696.6961.137.camel@localhost \
--to=johnstul@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=olel@ans.pl \
/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