Get the latest tech news

Rust-Written Linux Scheduler Continues Showing Promising Results For Gaming


"A Canonical engineer has been experimenting with implementing a Linux scheduler within the Rust programming language..." Phoronix reported Monday, "that works via sched_ext for implementing a scheduler using eBPF that can be loaded during run-time." The project was started "just for fun" over Chr...

"The project was started "just for fun" over Christmas, according to a post on X by Canonical-based Linux kernel engineer Andrea Righi, adding "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)." "This scheduler doesn't magically makes everything run faster, it simply prioritizes more the interactive workloads vs CPU-intensive background jobs." Wednesday Righi added some improvements, posting that "Only 19 lines of code (comments included) for ~2x performance improvement on SMT isn't bad... and I spent my lunch break playing Counter Strike 2 to test this patch..."

Get the Android app

Or read this on Slashdot

Read more on:

Photo of Rust

Rust

Photo of promising results

promising results

Related news:

News photo

Rust in Linux: Maturing with Support from Cisco, Samsung, Canonical

News photo

Rust-Based 'Resources' is a New, Modern System Monitor for Linux

News photo

Emma's Adventures: I painted landscapes in the horribly violent world of Rust