Variable ripple::avoid_false_sharing_size¶
Variable Documentation¶
-
constexpr size_t
ripple
::
avoid_false_sharing_size
= 64¶ Defines the number of bytes to allocate to avoid false sharing.
This is 128b rather than 64b because in the Intel Optimization guide, chapter 2.1.5.4, the prefetcher likes to keep pairs of cache lines in the L2 cache, unless the size is defined as a compiler flag.