I put a neural network in the Linux kernel scheduler, just for fun, and it actually works... at least for the workload it was trained on :)
piped.video/watch?v=ywW83YK9…
Can AI help the Linux kernel make smarter scheduling decisions?
@arighi explores how to combine Rust and machine learning to experiment with AI-powered CPU schedulers.
🧠 Exploring AI-Powered Kernel Schedulers with Rust
#rustlang#rustlab2025
virtme-ng v1.37 has been released with the initial support for systemd. You can now test apps that depend on systemd inside the virtualized environment.
More info: github.com/arighi/virtme-ng/…
I just got a new GPD 4 mini laptop with an AMD Ryzen AI 9 HX 370. Interesting topology, I need to add a better support for these AMD hybrid cores in sched_ext
I'm quite shocked to see a user-space Rust scheduler (rustland) competing and, in some cases, even outperforming other BPF or in-kernel schedulers.
Big shoutout to the @CachyOS community for constantly running all these benchmarks! It's great motivation to keep improving!
May the 4th be with your kernel tests, virtme-ng v1.34 is out!
In this new release: vsock SSH support (more lightweight guest connections), a better support for the s390 architecture and the usual set of bug fixes and improvements.
github.com/arighi/virtme-ng/…
I've decided to revamp my Linux kernel scheduler in Rust, re-designing and improving the BPF <-> user-space pipeline, and found some interesting benchmark results (from the @phoronix suite). User-space scheduling feels even more viable now. More info: arighi.blogspot.com/2025/05/…
virtme-ng v1.33 is available! Now you can run amd64 instances on non-x86 architectures (which means you can use arm64 as your kernel dev / testing platform with vng). Plus, more bug fixes and security improvements.
Check out the full changes here:
github.com/arighi/virtme-ng/…
Video of my talk at FOSDEM 2025 "Rust-ifying the Linux kernel scheduler (in user space)":
video.fosdem.org/2025/ub2252…
There are some skips here and there in the recording, but they don't alter the content too much.
A @NVIDIA Engineer Talks Up sched_ext Linux Scheduler Possibilities At FOSDEM
Better Linux gaming performance & new possibilities with Rust-based user-space scheduling.
phoronix.com/news/NVIDIA-Tal…