exposing FSB clock speed in /sys

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Stephane Eranian
Date: Friday, March 30, 2007 - 8:39 am

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
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
exposing FSB clock speed in /sys, Stephane Eranian, (Fri Mar 30, 8:39 am)
Re: exposing FSB clock speed in /sys, Arjan van de Ven, (Fri Mar 30, 8:49 am)
Re: exposing FSB clock speed in /sys, Alan Cox, (Fri Mar 30, 11:20 am)
Re: [perfmon] exposing FSB clock speed in /sys, Martin Cracauer, (Fri Mar 30, 11:44 am)
Re: exposing FSB clock speed in /sys, Andi Kleen, (Fri Mar 30, 7:31 pm)
Re: exposing FSB clock speed in /sys, Stephane Eranian, (Sat Mar 31, 1:18 am)
Re: exposing FSB clock speed in /sys, Andi Kleen, (Sat Mar 31, 3:02 am)
Re: exposing FSB clock speed in /sys, Lennart Sorensen, (Mon Apr 2, 9:14 am)
Re: exposing FSB clock speed in /sys, Stephane Eranian, (Mon Apr 2, 1:52 pm)