Rust-Written Linux Scheduler Showing Promising Results For Gaming Performance

Andrea Righi who is a Linux kernel engineer at Ubuntu maker Canonical tweeted that he's been experimenting with a Rust scheduler:
"I ended up writing a Linux scheduler in Rust using sched-ext during Christmas break, just for fun. I'm pretty shocked to see that it doesn't just work, but it can even outperform the default Linux scheduler (EEVDF) with certain workloads (i.e., gaming)."
He shared a YouTube video showing a game with the "scx_rustland" scheduler outperforming the default Linux kernel scheduler while running a parallel kernel build in the background:
For those interested the code is hosted on GitHub. It's an interesting Christmas break adventure and will be interesting to see where it leads.
79 Comments
