5 ms·
Noob question: Is it something that only beneficial for games or also be beneficial as generic scheduler ?
by yla92 2y ago
Noob question: Is it something that only beneficial for games or also be beneficial as generic scheduler ?
- jvanderbot 2y agoI bet (as does TFA) that this is mostly targeted towards dedicated gaming devices. Schedulers are very workload specific, once the basics are in place.
- alexgartrell 2y agoThe core framework (sched_ext) was written for general workloads and can quite beneficial. It lowers the costs of creating and iterating on schedulers quite a bit. To be honest, when they started working on it I don’t think any of us expected for it to be a source of collaboration with gaming companies :) (I’m a middle manager at Meta)
- Twirrim 2y agoIt may do, but the CFS scheduler is really good for generic purposes, and the new replacement for it, EEVDF, that became default in a recent kernel, does even better. What I think is more interesting in this project is it's one of the first "real world" uses of sched_ext, https://lwn.net/Articles/922405/ https://lwn.net/Articles/922405/, which makes it trivial to build and experiment with new schedulers. It'll be interesting to see what will come out of the research opportunities this now provides.
- surajrmal 2y agoIf your general workload has no humans involved maybe. Trying to do anything interactive while also running something CPU intensive is very much a poor experience on Linux compared to osx and Windows. Using nice and cgroups help but are ultimately unable to fully solve the issues.
- Twirrim 2y agoTrue. I tend to shove stuff in to cgroups and adjust niceness to compensate, so e.g. slack and email client are both lower priority and cpu restricted.