• AutoTL;DR@lemmings.worldB
    link
    fedilink
    arrow-up
    3
    ·
    5 months ago

    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!