Conversation

on musl, locks are actually locks, 100% of the time, verses glibc where they are not. if your multithreaded application has unexpected performance degradation on musl, it may mean that you are contending on locks you don't actually need.
4
52
Replying to
Ah. FWIW, I consider never having to deal with the TSX mess and endless cpu bugs turning safe and correct code unstable as one of the decisions I'm most happy with about musl.
1
3
HLE and TSX are disabled on almost all their CPUs with updated microcode, but most Linux distributions aren't shipping it by default. Microcode is meant to be shipped via motherboard firmware updates but most vendors don't provide good support and cut it off after a few years.
1
3