Tag
false-sharing
- Oct 20, 2026 Sharded Counters, Padding, and False Sharing Why two independent counters placed next to each other can cost more than one shared counter, how cache-line granularity forces padding, and what sharding gives up in exchange. performance engineering
- Apr 26, 2025 Contention Ceilings and the Limits of Parallel Scaling Why adding workers to a shared counter, lock, or cache line stops helping, how the serial fraction bounds speedup, and which designs remove the ceiling instead of raising it. backend systems
- Aug 13, 2024 MESI Transitions and the Traffic an Invalidation Generates What each coherence state permits, which transactions move a line between them, and why a false sharing pattern produces more bus traffic than the data it writes. memory systems
- Jan 30, 2023 Cache Line Transfer, False Sharing, and the Cost of Contention Why an atomic operation on an uncontended location is cheap and on a contended one is not, what coherence protocol traffic each attempt generates, and how padding and sharding change the shape of the cost. systems programming