false-sharing

Tag

Cards List
#false-sharing

Why false sharing alignment should be 128 bytes on x64

Lobsters Hottest · 2026-07-07 Cached

The article explains why false sharing alignment on x64 should be 128 bytes instead of the typical 64 bytes, due to Intel's Sandy Bridge spatial prefetcher that loads cache lines in pairs. It provides reasoning and a benchmark demonstrating the improvement.

0 favorites 0 likes
#false-sharing

Cache-Conscious Data Layout in Rust: Field Zoning, False Sharing, 128-Byte Rule

Hacker News Top · 2026-07-07 Cached

This blog post explains cache-conscious data layout in Rust for multi-threaded structures, covering field zoning and the 128-byte rule to avoid false sharing, using an SPSC ring buffer as an example.

0 favorites 0 likes
#false-sharing

@debasishg: Part 1 in my series on Low Level System Design in Rust is live now - This part covers: • how to lay out a shared Rust s…

X AI KOLs Timeline · 2026-06-29 Cached

Part 1 of a series on low-level system design in Rust covers cache-conscious data layout techniques including field zoning to avoid false sharing, with a focus on multi-threaded structs and the 128-byte rule, using an SPSC ring buffer as an example.

0 favorites 0 likes
← Back to home

Submit Feedback