Cache Contention
As long as memory reads far exceed memory writes, there is little performance cost for maintaining coherence.
Cache contention occurs when two or more CPUs alternately and repeatedly update the same cache line. This may be due to
- memory contention, in which two or more CPUs try to update the same variables.
- False sharing, in which the CPUs update distinct variables that occupy the same cache line.