Cache coherence

MSI

image.png

MESI

Additional exclusive state…

MOESI

Additional owned state…

False sharing

2 threads on 2 cores read/write 2 different variables, but those 2 variables may both lie in the same cache line => need to keep broadcasting the changes despite not sharing the data!

Cache consistency

Consistency models