Possible Duplicate:
finding L2 cache size in Linux
I am using Debian Linux Server and want to know the size of L1 and L2 cache. Can anybody help me, how to get that ?
I am using Debian Linux Server and want to know the size of L1 and L2 cache. Can anybody help me, how to get that ? |
|||
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
|
For my CPU, for instance, it shows the following output:
From this you can see I have an L1 cache of 64kb, an L2 cache of 256kb and an L3 cache of 3072kb. |
|||
|
|
|
you can use lshw to find cache information. if not installed, you should be get it from the repo. |
|||
|
|
|
Looks like this is a duplicate of finding L2 cache size in Linux In both cases, however, dmidecode didn't work for me, which makes sense, because it reports BIOS information, which is not always present or accurate. So, best choice for me was:
|
|||
|
|
|
x86info is a decent tool for getting processor info if you are running an i386/amd64 box. |
|||
|
|
cpuinfomay show It – Simon Sheehan May 1 '12 at 20:48