Linux 7.2 sched_ext Continues Working Toward Sub-Scheduler Support
([Linux Kernel] 6 Hours Ago
sched_ext)
- Reference: 0001642345
- News link: https://www.phoronix.com/news/Linux-7.2-sched-ext
- Source link:
Merged last week for the Linux 7.2 kernel were all of the [1]sched_ext changes for this extensible scheduler support that allows loading BPF programs from user-space for handling scheduling tasks. Linux 7.2 continues building out [2]sched_ext's sub-scheduler support .
The sched_ext sub-scheduler support will allow for multiple scheduler instances to be attached to the cgroup hierarchy for dealing with different workloads on the system. This sub-scheduler support could become extremely valuable for multi-tenant platforms and heterogeneous workload environments.
With Linux 7.2 more of the infrastructure for this sub-scheduler support has been established along with other improvements, as noted in the pull request:
"Most of this continues the in-development sub-scheduler support, which lets a root BPF scheduler delegate to nested sub-schedulers. The dispatch-path building blocks landed in 7.1. A follow-up patchset in development will complete enqueue-path support for hierarchical scheduling."
The sub-scheduler work merged for Linux 7.2 include Topological CPU IDs (CIDs), cmask infrastructure, BPF arena integration that the sub-scheduler support is built on, and reworking scx_qmap to exercise the new arena and CID interfaces.
More details for those interested via last week's [3]pull request .
[1] https://www.phoronix.com/search/sched_ext
[2] https://www.phoronix.com/news/cgroup-sub-scheduler-sched-ext
[3] https://lore.kernel.org/lkml/6a0da8f90fd3890f734555f1632a3a0f@kernel.org/
The sched_ext sub-scheduler support will allow for multiple scheduler instances to be attached to the cgroup hierarchy for dealing with different workloads on the system. This sub-scheduler support could become extremely valuable for multi-tenant platforms and heterogeneous workload environments.
With Linux 7.2 more of the infrastructure for this sub-scheduler support has been established along with other improvements, as noted in the pull request:
"Most of this continues the in-development sub-scheduler support, which lets a root BPF scheduler delegate to nested sub-schedulers. The dispatch-path building blocks landed in 7.1. A follow-up patchset in development will complete enqueue-path support for hierarchical scheduling."
The sub-scheduler work merged for Linux 7.2 include Topological CPU IDs (CIDs), cmask infrastructure, BPF arena integration that the sub-scheduler support is built on, and reworking scx_qmap to exercise the new arena and CID interfaces.
More details for those interested via last week's [3]pull request .
[1] https://www.phoronix.com/search/sched_ext
[2] https://www.phoronix.com/news/cgroup-sub-scheduler-sched-ext
[3] https://lore.kernel.org/lkml/6a0da8f90fd3890f734555f1632a3a0f@kernel.org/