Andrea Righi(@arighi) 's Twitter Profileg
Andrea Righi

@arighi

Linux kernel engineer @ Canonical.

ID:17114870

linkhttp://arighi.blogspot.com calendar_today02-11-2008 14:35:47

576 Tweets

499 Followers

142 Following

Andrea Righi(@arighi) 's Twitter Profile Photo

A quick howto to get started with sched-ext development and experiment your own Linux scheduler arighi.blogspot.com/2024/04/gettin…

account_circle
Björn Töpel bjorntopel@mastodon.social(@bjorntopel) 's Twitter Profile Photo

I really hope SCHED_EXT makes it to mainline. Such an awesome way to play/learn/hack the scheduler. lwn.net/Articles/96661…

account_circle
Andrea Righi(@arighi) 's Twitter Profile Photo

virtme-ng v1.23 is out to address an issue with the latest qemu 8.2.2, please update if you are using a recent distro.

github.com/arighi/virtme-…

account_circle
Andrea Righi(@arighi) 's Twitter Profile Photo

Feeling excited to have received an official invitation to the LSF/MM/BPF summit!

cvent.me/rW7NkP?sms=2&c…

account_circle
Andrea Righi(@arighi) 's Twitter Profile Photo

Second part of my blog post series on how to write a Linux scheduler in Rust arighi.blogspot.com/2024/03/writin…

account_circle
Phoronix(@phoronix) 's Twitter Profile Photo

Ubuntu Blog Talks Up Rust Schedulers, Potential For Micro-Kernel Design Future

phoronix.com/news/Ubuntu-Ru…

account_circle
Andrea Righi(@arighi) 's Twitter Profile Photo

Proposal to make the BPF backend of scx_rustland a generic standalone crate that allows to easily implement Linux schedulers in Rust (i.e., this allows to write a fully functional FIFO Linux scheduler in only ~100 lines of Rust code) github.com/sched-ext/scx/…

account_circle
Andrea Righi(@arighi) 's Twitter Profile Photo

Happy to see that my blog post about scx_rustland is mentioned in the LWN.net headlines today \o/ lwn.net/Articles/96289…

account_circle
Andrea Righi(@arighi) 's Twitter Profile Photo

Using a BPF_MAP_TYPE_RINGBUF (+ few memory tricks) in scx_rustland reduced the kernel/user-space communication overhead by ~50x. I'm really curious to re-run some benchmarks.

before:
5.52% __sys_bpf
4.10% _copy_from_user

after:
0.14% __sys_bpf
0.07% _copy_from_user

account_circle
Andrea Righi(@arighi) 's Twitter Profile Photo

Big shoutout to CachyOS for shipping a sched-ext enabled kernel, I just installed it in my old laptop and it's now happily running scx_rustland!

account_circle
Andrea Righi(@arighi) 's Twitter Profile Photo

Sharing some implementation details of my Rust Linux scheduler (with some future plans) arighi.blogspot.com/2024/02/writin…

account_circle
Andrea Righi(@arighi) 's Twitter Profile Photo

virtme-ng v1.21 is out with some cool enhancements for better CI/CD integration, support for drgn-compatible memory dump and the usual set of misc fixes
github.com/arighi/virtme-…

account_circle
Andrea Righi(@arighi) 's Twitter Profile Photo

Transitioning from a simple allocator to a buddy allocator resulted in a notable overhead reduction in my little Rust Linux scheduler. Why does it need a custom allocator? Ask and I'll explain.

[before] 39.95% scx_rustland alloc
[after] 1.50% scx_rustland alloc

account_circle
Phoronix(@phoronix) 's Twitter Profile Photo

.@Ubuntu 24.04 LTS Leaning Toward Low-Latency Kernel Optimizations By Default

phoronix.com/news/Ubuntu-24…

account_circle
Andrea Righi(@arighi) 's Twitter Profile Photo

More experiments at enabling low latency features in the Ubuntu generic kernel discourse.ubuntu.com/t/enable-low-l…

account_circle