I am looking for a command to check for on-chip L3 cache size on a Unix system.
|
feedback
|
migrated from stackoverflow.com Aug 5 '09 at 23:44
This question came from our site for professional and enthusiast programmers.
|
look at '/proc/cpuinfo' | |||||||
feedback
|
|
Take a look at dmidecode, which has an excellent man page. Look for an entry named "Processor Information", mine reads:
This tells me to look for the handle 0x0009 (for L2 cache, since I don't have any L3). This reads:
| ||||
|
feedback
|
|
On recent Linux kernels running on the x86 architecture, you can probably find the information you want at
This corresponds to a L1 data cache of 64K, a L1 instruction cache of 64K, and a L2 instruction+data cache of 512K. Note that this is more detailed than Please read | |||
|
feedback
|
|
If all else fails, just use /proc/cpuinfo or any other method to find the model number of your processor, and look that up on google to find the specs. | |||
|
feedback
|