login
Header Space

 
 

Re: Why /proc/cpuinfo doesn't print L1,L2,L3 caches?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Chris Snook <csnook@...>, LKML <linux-kernel@...>
Date: Tuesday, March 25, 2008 - 6:50 pm

On 2008/3/25, Chris Snook <csnook@redhat.com> wrote:

Thanks, but there is not easier manner to print the properties of hw-caches
unless printing recursively this tree /sys/devices/system/cpu/cpu[0-9]+/cache/
that they are only numbers without symbolic fields.

There is not manner to know the speed (in MHz) of the L1, L2 and L3 caches.


/proc/cpuinfo doesn't give a general summary because it gives superfluous info.

I think that it's better to refactorize /proc/cpuinfo still more.

(
   ... fields common to all present processors known by the kernel ....
       [ to warn if the values are differents between cores ]
)
(
   ... specific fields for each processor ... by example:

processor       : 0
cpu MHz         : 2000.000     # normal clocked
bogomips        : 4010.63
processor       : 1
cpu MHz         : 500.000     # underclocked for energy saving ...
bogomips        : 1003.20

)

I think that all the cores are equals in almost non-weird systems.
With this scheme, the cpuinfo's reports will be smaller than before,
and non-superfluous.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Why /proc/cpuinfo doesn't print L1,L2,L3 caches?, J.C. Pizarro, (Tue Mar 25, 5:39 pm)
Re: Why /proc/cpuinfo doesn't print L1,L2,L3 caches?, Dave Jones, (Tue Mar 25, 9:39 pm)
Re: Why /proc/cpuinfo doesn't print L1,L2,L3 caches?, Chris Snook, (Tue Mar 25, 5:57 pm)
consistency: temperature versus metric bytes (was: Re: Why /..., Geert Uytterhoeven, (Wed Mar 26, 4:54 am)
Re: Why /proc/cpuinfo doesn't print L1,L2,L3 caches?, J.C. Pizarro, (Tue Mar 25, 6:50 pm)
Re: Why /proc/cpuinfo doesn't print L1,L2,L3 caches?, Chris Snook, (Tue Mar 25, 6:59 pm)
Re: Why /proc/cpuinfo doesn't print L1,L2,L3 caches?, J.C. Pizarro, (Tue Mar 25, 7:10 pm)
Re: Why /proc/cpuinfo doesn't print L1,L2,L3 caches?, Chris Snook, (Tue Mar 25, 7:14 pm)
speck-geostationary