Old Drepper paper on M:N vs 1:1 in Linux. NGPT is M:N, NPTL is 1:1. 1:1 threads beat M:N in every case. https://akkadia.org/drepper/nptl-design.pdf …
-
-
NPTL beat a single implementation, and how much of that complexity was dealing with irrelevant issues like preemptive scheduling, signals, and the relative lack of thread support in the Linux kernel at the time?
-
Dunno! Probably worth doing measurement! We’ve done measurements in Rust and M:N didn’t appreciably beat 1:1 on modern Linux. Even with cooperative scheduling and no signals.
- 7 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.