Extensible scheduler class to be merged for 6.11
I honestly see no reason to delay this any more. This whole patchset was the major (private) discussion at last year's kernel maintainer summit, and I don't find any value in having the same discussion (whether off-list or as an actual event) at the upcoming maintainer summit one year later, so to make any kind of sane progress, my current plan is to merge this for 6.11.
Posted Jun 11, 2024 23:16 UTC (Tue)
by jason.rahman (subscriber, #120510)
[Link] (1 responses)
Posted Jun 13, 2024 4:38 UTC (Thu)
by alison (subscriber, #63752)
[Link]
Regarding use cases, SCHED_EXT author Dan Schatzberg's talk at Southern California Linux Expo was excellent, and Daroc wrote about it for LWN: https://lwn.net/Articles/966618/
Posted Jun 12, 2024 5:54 UTC (Wed)
by iq-0 (subscriber, #36655)
[Link] (3 responses)
Posted Jun 12, 2024 6:36 UTC (Wed)
by WolfWings (subscriber, #56790)
[Link] (2 responses)
Posted Jun 12, 2024 10:49 UTC (Wed)
by farnz (subscriber, #17727)
[Link] (1 responses)
The biggest set of experiments I expect to see are on the desktop; can you schedule based on knowledge of what the user can see and interact with, such that while overall system throughput is down, user-perceived responsiveness is up? Can you schedule such that a Steam game (which itself involves multiple processes) gets a lower maximum time per frame?
Posted Jun 14, 2024 1:07 UTC (Fri)
by raistlin (guest, #37586)
[Link]
https://lore.kernel.org/lkml/20240501151312.635565-1-tj@k...
> - Valve has been working with Igalia to implement a sched_ext scheduler for
And:
https://blogs.igalia.com/changwoo/sched-ext-a-bpf-extensi...
Posted Jun 12, 2024 6:31 UTC (Wed)
by epa (subscriber, #39769)
[Link] (1 responses)
Posted Jun 12, 2024 7:46 UTC (Wed)
by mattburgess (subscriber, #143223)
[Link]
Posted Jun 12, 2024 9:47 UTC (Wed)
by danielkza (subscriber, #66161)
[Link] (3 responses)
I believe there kernel should have something analogous to distributions' Engineering Councils to settle these types of disputes. While maintainer authority is important, there must be checks to stop it from being used across reasonable subsystem barriers and/or in obstructionist ways (even if with good intentions).
Posted Jun 12, 2024 12:21 UTC (Wed)
by khim (subscriber, #9252)
[Link] (1 responses)
Linus may always override any decision of any maintainer. He uses that superpower very rarely, which is precisely how he may keep it: every time Linus does that some people become angry at him, obviously, and frequent application would make community leave Linus, but as long as he uses such superpower only once a year or even less often the majority of developers support him. At some point kernel community would need to find a way to do that without Linus, but that that bridge would be crossed when it would be reached, there are no rush.
Posted Aug 17, 2024 12:11 UTC (Sat)
by Lennie (subscriber, #49641)
[Link]
Posted Jun 12, 2024 12:24 UTC (Wed)
by farnz (subscriber, #17727)
[Link]
It does have such a process at the moment; Linus is the final arbiter (analogous to an "Engineering Council"), and if there's a deadlock that you think should be resolved in your favour, you go to Linus to get things resolved. Linus trusts his chosen maintainers, so the process is biased in their favour, but if they're being donkeys, Linus will break the deadlock - in the extreme, by doing what he's doing with sched_ext and merging it over maintainer objection.
Ultimately, the current kernel is structured with Linus as benevolent dictator; all a Council or Committee can do is make suggestions to Linus, and see if he takes them. Of course, the same applies to maintainers; while they suggest changes to Linus via pull requests, he has the ultimate authority over what changes will and will not be accepted.
Great News
Overriding the MAINTAINERS
The future looks bright
The future looks bright
The future looks bright
The future looks bright
> Steam Deck. The development is still in its early stages but they are
> already happy with the results (more consistent FPS) and are planning to
> enable the scheduler on Steam Deck.
>
> https://github.com/sched-ext/scx/tree/main/scheds/rust/sc...
> https://ossna2024.sched.com/event/1aBOT/optimizing-schedu...
https://ossna2024.sched.com/event/1aBOT/optimizing-schedu...
Scheduling
Scheduling
should the kernel have an engineering council?
should the kernel have an engineering council?
should the kernel have an engineering council?
Current process is appeal to Linus