Questions: Memory Interleaving and Bandwidth Optimization

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A program accesses memory addresses 0, 4, 8, 12, and 16 in sequence using a 4-way low-order interleaved system where the 2 low-order address bits select the bank. What happens to memory bandwidth?

AThe accesses are distributed evenly across all four banks, achieving 4× bandwidth
BAll accesses hit bank 0, creating bank conflicts and eliminating the parallelism
CThe memory controller automatically detects the stride and redistributes the accesses
DTwo banks are accessed in parallel, achieving 2× bandwidth
Question 2 Multiple Choice

Why does low-order interleaving improve bandwidth for sequential access but not for a stride-N access pattern (where N equals the number of banks)?

ALow-order interleaving only works when the CPU cache is disabled
BSequential access hits a different bank each cycle; stride-N access hits the same bank every time, serializing requests
CStride-N accesses are too large for the memory address space
DLow-order interleaving was designed only for instruction fetch, not data access
Question 3 True / False

In low-order memory interleaving, consecutive memory addresses are placed in the same bank to improve locality of reference.

TTrue
FFalse
Question 4 True / False

N-way memory interleaving can achieve up to N times the memory bandwidth of a single-bank system when access patterns spread requests across all N banks.

TTrue
FFalse
Question 5 Short Answer

Why does the benefit of N-way memory interleaving depend on the access pattern rather than just the number of banks?

Think about your answer, then reveal below.