What is Cache line?
The unit in which data moves between a cache and the level below, also called a cache block. Many CPUs use 64 bytes, and the low address bits give the position (offset) within the line.
Field: Memory Hierarchy
The unit in which data moves between a cache and the level below, also called a cache block. Many CPUs use 64 bytes, and the low address bits give the position (offset) within the line.
Field: Memory Hierarchy
DDR4 uses a burst length of 8 and DDR5 16; on a 64-bit DDR4 bus that is 8 × 8 bytes = 64 bytes—exactly one CPU cache line.
Which correctly describes a DRAM burst transfer?Coherence protocols such as MESI tag each cache line with states like Modified, Shared or Invalid and invalidate other copies on writes to keep data consistent.
In a multicore CPU, which mechanism keeps data consistent w…With j in the inner loop, consecutive addresses are read in order, so the rest of each 64-byte cache line fetched on a miss is used right away.
Scanning the 2D C array a[i][j] with j in the inner loop, a…False sharing Spatial locality Prefetching MESI protocol TLB (translation lookaside buffer) Average memory access time Capacity miss Compulsory miss Conflict miss Direct-mapped cache