Contrast directory-based coherence with snooping. Why is snooping non-scalable for large…
- User
Contrast directory-based coherence with snooping. Why is snooping non-scalable for large systems? Explain the directory bit-vector structure and how it invalidates specific cores without broadcasting.
- Assistant
Contrasting directory-based and snooping coherence
Snooping coherence relies on broadcasting all cache operations to every processor via a shared bus, which limits scalability due to bus bandwidth and broadcast overhead growing with processor count. Directory-based coherence uses a per-block bit-vector directory that tracks exactly which caches hold a copy, enabling targeted invalidations only to those sharers without broadcasting, thus scaling better by limiting communication to actual sharers rather than all processors. In the classic bus‑based machines of the 1980s and early 1990s coherence was maintained by having every cache watch every transaction on a shared interconnect. A load miss or a store would be turned into a broadcast request on the bus, and the caches “snoop” the bus, compare the address on the wires against their tag RAMs and either supply the data or invalidate their own copy. This is simple and works acceptably when you have four or eight processors hanging off a single backplane.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.