False Sharing's Performance Degradation: Worse Than Single-Threaded

Producer-consumer queue pointer contention, a form of false sharing, can drastically reduce performance, leading to cache thrashing and making multithreaded systems perform worse than their single-threaded counterparts due to constant cache line invalidations and transfers.

Sources

Open the full topic