I am trying to find out specifics about caches (in particular which caches are shared between cores and which are not) and have stumpled onto a inconsistency.
sudo lshw says
*-cache:0
description: L1 cache
physical id: a
slot: Internal Cache
size: 64KiB
capacity: 64KiB
capabilities: synchronous internal write-back
*-cache:1
description: L2 cache
physical id: b
slot: External Cache
size: 8MiB
capabilities: synchronous internal write-back
but lscpu claims
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 8192K
I do not worry too much about instruction and data cache being added together, but where did L2 go?
Observed on a machine running Ubuntu 10.10, or to let uname -a speak:
Linux name 2.6.35-32-generic #66-Ubuntu SMP Mon Feb 13 21:04:32 UTC 2012 x86_64 GNU/Linux
This is a general question, but note that neither the most precise manufacturer spec I could find nor Wikipedia do have the necessary detail.
Unrelated bonus question: does External Cache mean the cache is shared between the (four) cores (and Internal Cache the opposite)?
