Tagged “kernel”
-
sched_ext: a sketch of the scx_lavd scheduler (Part 3)
This is the third blog post about sched_ext. It has been a while since the last one, and in the meantime scx_lavd has been deployed to the Steam Frame and to Meta's datacenters. In this post, I sketch scx_lavd — the one idea at its core, inferring which task is latency-critical from how tasks wait and wake each other, and the four things that idea forced on us — the virtual deadline, topology-aware load balancing, core compaction with the energy model, and cgroup bandwidth control as a BPF library.
-
sched_ext: scheduler architecture and interfaces (Part 2)
This is the second blog post about the sched_ext, a BPF-based extensible scheduler class. In this blog post, I briefly update what has been happening in sched_ext, then introduce the scheduler architecture and the sched_ext API. After reading this, you should have a good understanding of the sched_ext architecture and be ready to read the source code of any sched_ext schedulers.
-
sched_ext: a BPF-extensible scheduler class (Part 1)
This blog post introduces sched_ext, a recently proposed extensible scheduler class. sched_ext allows you to write and run your custom process scheduler optimized for your target workloads and hardware architectures using BPF programs. In the rest of the post, I recap the concept of a scheduler at the high level and go over the default schedulers in Linux kernel. Then, I introduce why an extensible scheduler framework, sched_ext, is necessary, how to use it, and provide a BPF scheduler example.
See all tags.
