Skip to:
The costs is fairly small (~40) on linux, and increasing the number is likely to reduce contention - so may as well increase the number.
Final solution was much better. It moved the critical section so it was never contended for different nodes.
The costs is fairly small (~40) on linux, and increasing the number is likely to reduce contention - so may as well increase the number.