[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0803260951100.23975@vixen.sonytel.be>
Date: Wed, 26 Mar 2008 09:54:14 +0100 (CET)
From: Geert Uytterhoeven <Geert.Uytterhoeven@...ycom.com>
To: Chris Snook <csnook@...hat.com>
cc: "J.C. Pizarro" <jcpiza@...il.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: consistency: 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@...ycom.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
Powered by blists - more mailing lists