News for hackers. Stuff that matters.
Re:Golang Sync Mutex: Normal and Starvation Mode by Thorrez on Monday August 12, 2024 @03:15PM (#41228230)
So some CPU models wait 120 cycles and others wait a millisecond (millions of cycles)? That seems like a pretty drastic difference. I wonder why they would write code with such a drastic difference between CPU models.
Re:Golang Sync Mutex: Normal and Starvation Mode by fear91 on Tuesday August 13, 2024 @03:03AM (#41233021)
No, Haswell's PAUSE is 9 cycles, the P-cores of Alder Lake are 160 cycles. Zen 4 is 65.