Anyone have any modern resources on why green threads are considered "better" than OS threads? Presumably the answer has to be deeper than just allocating stack? I would expect that the OS scheduler is generally better at this than the VM (if not why haven't we fixed this?)
-
-
Replying to @sgrif
Look at the numbers in http://www.linuxplumbersconf.org/2013/ocw/system/presentations/1653/original/LPC%20-%20User%20Threading.pdf …
1 reply 0 retweets 1 like -
Replying to @pcwalton
This is focused on the cost of context switching, which is entirely costs that live at the scheduler, right? Is there a reason we can't just improve OS/CPU schedulers in the same way?
3 replies 0 retweets 0 likes -
Replying to @sgrif
I don’t know the answer myself. I think that something like Windows UMS or that switchto patch may be the best approach.
1 reply 0 retweets 0 likes
Replying to @pcwalton
Fair enough. Thanks for the link to those slides at least. <3
2:36 PM - 20 Dec 2017
from Albuquerque, NM
0 replies
0 retweets
0 likes
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.