IT lexicon › Programming › Directory coherence

Directory coherence

Programming På svenska → Updated: 2026-11-16

A cache coherence mechanism for many processors where a central directory tracks which processor owns or reads each cache line, replacing bus-wide broadcast.

With snoop coherence, every update must be broadcast to all cores, which doesn't scale well. Directory-based coherence introduces a ledger (directory): it says "core 3 owns this line, cores 5 and 7 read it." When an update arrives, invalidation messages go only to affected cores, not all. This makes the system scalable to 100+ cores.

The tradeoff is higher latency for cache misses (must query the directory) and directory overhead. Directory coherence is the standard for modern NUMA systems, while snoop coherence suffices for small multi-cores.

← Back to the lexicon