A Canonical engineer has been experimenting with implementing a Linux scheduler within the Rust programming language.
His early results are interesting and hopeful around the potential of a Rust-based scheduler that works via sched_ext for implementing a scheduler using eBPF that can be loaded during run-time.
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.
The original article contains 160 words, the summary contains 145 words. Saved 9%. I’m a bot and I’m open source!
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !pcgaming@lemmy.ca
No game suggestions, friend requests, surveys, or begging.
No Let’s Plays, streams, highlight reels/montages, random videos or shorts.
No off-topic posts/comments, within reason.
Use the original source, no clickbait titles, no duplicates.
(Submissions should be from the original source if possible, unless from paywalled or non-english sources.
If the title is clickbait or lacks context you may lightly edit the title.)
This is the best summary I could come up with:
A Canonical engineer has been experimenting with implementing a Linux scheduler within the Rust programming language.
His early results are interesting and hopeful around the potential of a Rust-based scheduler that works via sched_ext for implementing a scheduler using eBPF that can be loaded during run-time.
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.
The original article contains 160 words, the summary contains 145 words. Saved 9%. I’m a bot and I’m open source!
Thanks website scraper bot