public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* exposing FSB clock speed in /sys
@ 2007-03-30 15:39 Stephane Eranian
  2007-03-30 15:49 ` Arjan van de Ven
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Stephane Eranian @ 2007-03-30 15:39 UTC (permalink / raw)
  To: linux-kernel; +Cc: perfmon, Stephane Eranian

Hello,

It seems that the kernel does not expose the Front-Side Bus (FSN) Clock
speed to user applications. I found code in the kernel dealing with
frequency scaling that extracts the information for x86 processors but
the value is never exposed.

Knowledge the the FSB speed is very useful to monitoring tools. It is used
to compute certain bus-related metrics.

Looking at the code, it seems that there is no standard way of extracting
the FSB speed. For each processor model, you have different MSRs. I would
think that the routines in the cpufreq code could be moved out and used
as the basis to expose the information somewhere in /sys.

Any comments?

-- 
-Stephane

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-04-02 20:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-30 15:39 exposing FSB clock speed in /sys Stephane Eranian
2007-03-30 15:49 ` Arjan van de Ven
2007-03-30 18:20 ` Alan Cox
2007-03-30 18:44 ` [perfmon] " Martin Cracauer
2007-03-31  2:31 ` Andi Kleen
2007-03-31  8:18   ` Stephane Eranian
2007-03-31 10:02     ` Andi Kleen
2007-04-02 16:14     ` Lennart Sorensen
2007-04-02 20:52       ` Stephane Eranian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox