netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jesper Dangaard Brouer <hawk@diku.dk>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org, netdev <netdev@vger.kernel.org>,
	Len Brown <len.brown@intel.com>,
	Shaohua Li <shaohua.li@intel.com>,
	hawk@comx.dk
Subject: TSC unstable due to TSC halts in idle?
Date: Fri, 14 May 2010 22:13:57 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.64.1005142208290.6220@ask.diku.dk> (raw)


Hi Thomas,

I want to know, if its safe to enable the TSC clocksource, when the
kernel reports:
  "Marking TSC unstable due to TSC halts in idle"

The system selects HPET (in current_clocksource), but I can still see
TSC as an available clocksource (in
/sys/devices/system/clocksource/clocksource0/available_clocksource).

Is it safe to enable TSC manually (by changing current_clocksource)?
(my workload is 10Git/s routing, cannot survive with a slow clock)


Any trick to avoid this? (e.g. kernel config setting, or a /sys/ setting
which changes the minimum P-state?)


The system is a new HP370-G6 server, with two Xeon X5550 CPUs.  Its
(currently) running a Debian compiled kernel 2.6.26-2-amd64.

Kernel log:
  checking TSC synchronization [CPU#0 -> CPU#1]: passed.
  checking TSC synchronization [CPU#0 -> CPU#2]: passed.
  ...
  checking TSC synchronization [CPU#0 -> CPU#14]: passed.
  checking TSC synchronization [CPU#0 -> CPU#15]: passed.
  Marking TSC unstable due to TSC halts in idle


Cheers,
   Jesper Brouer

--
-------------------------------------------------------------------
MSc. Master of Computer Science
Dept. of Computer Science, University of Copenhagen
Author of http://www.adsl-optimizer.dk
-------------------------------------------------------------------

             reply	other threads:[~2010-05-14 20:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-14 20:13 Jesper Dangaard Brouer [this message]
2010-05-14 22:28 ` TSC unstable due to TSC halts in idle? john stultz
2010-05-14 23:15   ` Suresh Siddha
2010-05-15  9:54     ` Jesper Dangaard Brouer

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=Pine.LNX.4.64.1005142208290.6220@ask.diku.dk \
    --to=hawk@diku.dk \
    --cc=hawk@comx.dk \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=shaohua.li@intel.com \
    --cc=tglx@linutronix.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;
as well as URLs for NNTP newsgroup(s).