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 …
-
-
And here’s something interesting about cooperative scheduling in Go:https://github.com/golang/proposal/blob/master/design/24543-non-cooperative-preemption.md …
-
So perhaps cooperative scheduling didn’t really work out? Basically long loops with no function calls means a goroutines can’t be preempted.
- 4 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.