Poor performance on cluster multithreading

This will actually have false sharing. You need to allocate the rng from each threads.

3 Likes