Explains how to get cache information.
Need information about cache size of L1, L2, and L3 for Intel® processor.
To find the total size of the L1, L2, or L3 cache for Intel® Processor, follow the steps below:
- Install the Intel® Processor Identification Utility.
- Launch the utility by typing in the search window Intel® Processor Identification Utility.
- Click CPU DATA.
The sizes of the caches are listed in the tool.
For L1 size follow the steps below:
- Add L1 Data Cache size and L1 instruction Cache size to get the L1 cache size per core.
- Total size of the L1 cache for all cores equals to the number of cores multiplied by the L1 cache size per core.
Example:
L1 Data cache = 32 KB per core
L1 Instruction cache = 32 KB per core
So the L1 cache size per core = 32 KB + 32 KB, which = 64 KB
There are 4 cores reported, then the total size of L1 cache = 4 X 64 KB = 256 KB.
See illustration below.