
25 Aug
2005
25 Aug
'05
1:34 p.m.
Maxim Yegorushkin wrote:
I just skimmed through boost/detail/quick_allocator.hpp and noticed that quick_allocator causes false sharing on SMP. It happens when several counters are allocated within the same cache line and those counters are used by different processors, thus thrashing processors' cache lines when the counter is written, even when the counter is used by a single processor only.
What do you suggest?