Tuesday, February 17, 2009

How The Memory Cache Works

CPU L1 InstructionL1 DataL2
Athlon 6464 KB
2-way set associative
64-byte lines
128-bit datapath with L2
128-bit datapath with fetch unit
64 KB
2-way set associative
64-byte lines
128-bit datapath with L2
512 KB or 1 MB
16-way set associative
64-byte lines
128-bit datapath with L1 data
128-bit datapath with L1 instruction
Athlon 64 FX64 KB per core
2-way set associative
64-byte lines
128-bit datapath with L2
128-bit datapath with fetch unit
64 KB per core 2-way set associative
64-byte lines
128-bit datapath with L2
1 MB per core
16-way set associative
64-byte lines
128-bit datapath with L1 data
128-bit datapath with L1 instruction
Athlon 64 X264 KB per core
2-way set associative
64-byte lines
128-bit datapath with L2
128-bit datapath with fetch unit
64 KB per core
2-way set associative
64-byte lines
128-bit datapath with L2
512 KB or 1 MB per core
16-way set associative
64-byte lines
128-bit datapath with L1 data
128-bit datapath with L1 instruction
Sempron (sockets 754 and AM2)64 KB
2-way set associative
64-byte lines
128-bit datapath with L2
128-bit datapath with fetch unit
64 KB
2-way set associative
64-byte lines
128-bit datapath with L2
128 KB or 256 KB
16-way set associative
64-byte lines
128-bit datapath with L1 data
128-bit datapath with L1 instruction
Opteron64 KB per core
2-way set associative
128-bit datapath with L2
128-bit datapath with fetch unit
64 KB per core
2-way set associative
64-byte lines
128-bit datapath with L2
1 MB per core
16-way set associative
64-byte lines
128-bit datapath with L1 data
128-bit datapath with L1 instruction
Pentium 4N/A * 8 KB
4-way set associative
64-byte lines
256-bit datapath with L2
256 KB, 512 MB or 1 MB
8-way set associative
128-byte lines
64-bit datapath with fetch unit
256-bit datapath with L1 data
Pentium DN/A *16 KB
4-way set associative
64-byte lines
256-bit datapath with L2
1 MB or 2 MB per core
8-way set associative
128-byte lines
64-bit datapath with fetch unit
256-bit datapath with L1 data
Core 2 Duo32 KB
64-byte lines
256-bit datapath with fetch unit
32 KB
64-byte lines
256-bit datapath with L2
2 MB or 4 MB
8-way set associative
64-byte lines
256-bit datapath with L1 data
Pentium Dual Core32 KB
64-byte lines
256-bit datapath with fetch unit
32 KB
64-byte lines
256-bit datapath with L2
1 MB
8-way set associative
64-byte lines
256-bit datapath with L1 data