GATE / CS ARCHIVE

GATE CSE 2001 / QUESTION 1.7

Why cache blocks contain multiple words

Computer Organization & Architecture · Cache Memory · Full GATE CSE 2001 paper

GATE 2001, Q1.7 1 mark · MCQ
Report issue

Cache Memory

Question 1.7, GATE 2001: Why does a cache block contain multiple words? Choices: temporal locality, spatial locality, reduced miss penalty, or none of these.
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

Step 1: A reference often predicts references to nearby addresses, for example successive array elements or adjacent instructions. Loading neighboring words with the requested word prepares for those accesses: spatial locality.

Step 2: Temporal locality concerns repeated use of the same location and already motivates retaining even a single cached word. A larger block can increase rather than reduce the transfer time of a miss.

Therefore spatial locality is the specific reason for grouping words, B.

Original paper, page 2