ISRO Scientist/Engineer CSE 2020Computer Organization and Architecture › Cache and Memory Hierarchy
ISRO Scientist/Engineer CSE 2020 PYQ: Which of the following is an efficient method of cache updating?
Which of the following is an efficient method of cache updating?
- ASnoopy writesCorrect answer
- BWrite through
- CWrite within
- DBuffered write
Answer
(A) Snoopy writes
Approach
The question concerns cache updating in a shared-memory multiprocessor, where the real cost is maintaining coherence across private caches. Snoopy protocols let every cache controller monitor (snoop) the common bus; when one processor writes, the other caches detect the transaction and invalidate or refresh their copies in hardware, without the writing CPU being stalled and without a separate directory lookup. This decentralization is what makes snoopy-based updating efficient. Write-through pushes every write straight to main memory, saturating the bus and slowing every store; buffered write merely hides part of that latency behind a buffer but still writes memory on each store, so it is an optimization of write-through, not a distinct efficient scheme; 'write within' is not a recognized cache-update policy and serves only as a distractor. Hence, among the four choices, the snoopy-write approach is the efficient method of cache updating, and option A is correct. (The term 'Snoopy writes' is informal phrasing for snooping-based coherence, but it is the only option describing a genuinely efficient update mechanism.)
Reviewed by ISRO IQ Editorial Team.