Sched_ext: A sketch of the scx_lavd scheduler (Part 3)
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
Changwoo Han of Igalia describes scx_lavd, a Linux CPU scheduler written in BPF on sched_ext that infers task urgency from wait frequency, wake frequency and runtime, then turns it into a virtual deadline, time slice and preemption right. Started for Valve's Steam Deck, it is said to run on the Steam Frame and in Meta's datacenters, though that deployment claim and the quoted figures (futex share, probe costs, code size) are the author's own and unverified. For builders, the design shows how to schedule without annotations.