News for hackers. Stuff that matters.
Re:A collection of lock-free data structures written in stan... by sakras on Wednesday May 10, 2023 @09:23PM (#35896067)
Parallel reductions are more heavy-weight synchronizations than locks. Say we have 64 partitions, then we need to perform 6 levels of tree reduction, or avoid parallelism completely and perform the reduction on a single thread. Either way it was slower.

The locking strategy very rarely had any reduction in parallelism due to the randomized lock-taking.

There were also other reasons, such as not wanting to replicate the filter per-thread.

There are no comments on this comment yet.