Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
fear91
on Aug 11, 2024
|
parent
|
context
|
favorite
| on:
Golang Sync Mutex: Normal and Starvation Mode
It differs by CPU model.
Thorrez
on Aug 12, 2024
[–]
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.
fear91
on Aug 13, 2024
|
parent
[–]
No, Haswell's PAUSE is 9 cycles, the P-cores of Alder Lake are 160 cycles. Zen 4 is 65.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: