by synergy20 on 7/4/22, 3:11 PM
Great write!
When I started Linux I was confused by the cpu/processor scheduler and IO scheduler, would be even better if the article can point out the difference briefly.
In AI workload these days, how to schedule thousands of parallel threads(SIMD style) becomes more and more interesting, wish someone had a good write on that topic.
by snvzz on 7/4/22, 3:35 PM
For the state of the art in scheduling, and for highest performance in context switching, look into seL4[0].
Lots of cool papers to read.
0. https://sel4.systems/
by PaulDavisThe1st on 7/4/22, 3:56 PM
Good overview, but missing any discussion (that I could see) of how non-SCHED_OTHER scheduling classes (such as SCHED_FIFO and SCHED_RR) interact with "normal" scheduling. The rules described here (e.g. "the task that has run least runs next") do not apply to tasks in these scheduling classes.
by nrclark on 7/4/22, 4:17 PM
Great article, very informative. If you do a follow-up, I'd love to read about how the different SCHED modes interact with each other / default operation.
by timvisee on 7/4/22, 12:00 PM
Great read! Thanks for all the links to Linux kernel source. That's super interesting to see.
by sdgluck on 7/4/22, 3:17 PM
Just to let you know, the link to Twitter in the nav doesn't work!
by kosolam on 7/4/22, 10:02 PM
Awesomeness. Thank you for sharing. Saved to read later.