Re: [PATCH] selftests: vDSO: align getrandom states to cache line

2024-10-01 Thread Shuah Khan
On 9/28/24 20:55, Jason A. Donenfeld wrote: This prevents false sharing, which makes a large difference on machines with several NUMA nodes, such as on a dual socket Intel(R) Xeon(R) Gold 6338 CPU @ 2.00GHz, where the "bench-multi" test goes from 2.7s down to 1.9s. While this is just test code, i

[PATCH] selftests: vDSO: align getrandom states to cache line

2024-09-28 Thread Jason A. Donenfeld
This prevents false sharing, which makes a large difference on machines with several NUMA nodes, such as on a dual socket Intel(R) Xeon(R) Gold 6338 CPU @ 2.00GHz, where the "bench-multi" test goes from 2.7s down to 1.9s. While this is just test code, it also forms the basis of how folks will wind