lkml.org 
[lkml]   [2008]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectconsistency: temperature versus metric bytes (was: Re: Why /proc/cpuinfo doesn't print L1,L2,L3 caches?)
On Tue, 25 Mar 2008, Chris Snook wrote:
> I think you want this:
>
> /sys/devices/system/cpu/cpu0/cache
>
> /proc/cpuinfo is intended to give a general summary of certain properties of
> the processor that tend to be particularly interesting, and present them all
> in one place. It is not intended to expose everything the kernel knows about
> every processor on the system.

Oh my god! My caches run at different temperatures!! ;-)

| anakin$ cat /sys/devices/system/cpu/cpu0/cache/index*/size
| 64K
| 64K
| 512K

Furthermore /proc/cpuinfo misses _more_ than 128 KiB:

| anakin$ cat /proc/cpuinfo

[...]

| cache size : 512 KB
^^^^^^

[...]

With kind regards,

Geert Uytterhoeven
Software Architect

Sony Network and Software Technology Center Europe
The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium

Phone: +32 (0)2 700 8453
Fax: +32 (0)2 700 8622
E-mail: Geert.Uytterhoeven@sonycom.com
Internet: http://www.sony-europe.com/

Sony Network and Software Technology Center Europe
A division of Sony Service Centre (Europe) N.V.
Registered office: Technologielaan 7 · B-1840 Londerzeel · Belgium
VAT BE 0413.825.160 · RPR Brussels
Fortis Bank Zaventem · Swift GEBABEBB08A · IBAN BE39001382358619
\
 
 \ /
  Last update: 2008-03-26 09:57    [W:0.052 / U:0.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site