News for hackers. Stuff that matters.
Re:No nuances, just buggy code (was: related to Spinlock imp... by soraminazuki on Sunday January 05, 2020 @07:24PM (#21965371)
The point is Windows and BSD isn't doing "what he wants," because the benchmark in question isn't producing any meaningful data for two reasons. First, it's not even measuring what Malte said he was measuring. Second, the benchmark assumes a single threaded HW model, and optimizing for it would very likely slow down performance for modern real-world workloads.
Re:No nuances, just buggy code (was: related to Spinlock imp... by gok on Monday January 06, 2020 @05:16PM (#21974075)
Ignore the benchmark for a moment; the original issue is that a real program (the game Rage 2) uses spin locks, and experiences really terrible hangs on Linux and not on the other kernels. What he wanted was for that to not happen. The upshot is that there really is no way to get spinlocks to not hang on Linux. Now, there's a very good argument that spinlocks are just dumb, and therefore that real game is broken.