Interactive first.
Even under load.

An experimental Linux CPU scheduler.
sched_ext, eBPF and Rust, measured against EEVDF.

THE PROBLEM / FAIR IS NOT RESPONSIVE

A few cores.
Hundreds of programs.

The scheduler decides, thousands of times per second, what runs where and for how long. Linux’s EEVDF is fair: everyone gets their share.

Fairness is blind.
It does not tell a text editor waiting for a keystroke apart from a compile that wants every core.
The stutter.
Under load, the editor waits its turn behind the computation: a few milliseconds, enough to feel it.
The manual fix.
Today you mark the heavy work by hand with nice. Almost nobody does.

HOW AEGIS DOES IT

Observe, classify,
then act.

An eBPF program loaded through sched_ext, the interface Linux 6.12 added to replace the scheduler without recompiling or rebooting, driven by a Rust program.

RESULTS / CURRENT DEFAULT

What it wins,
and what it costs.

Measured on one machine against EEVDF, Linux’s default scheduler. Every figure is traced to a campaign on the Aegis site.

÷01 / INTERACTIVE LATENCYgain

÷106

An interactive task beside a kernel compile: p99 from 4.3 ms to 40 µs.

÷02 / WORST WAKEUPgain

÷131

Saturated machine, 48 CPU-bound tasks: p99.9 from 2,475 to 18.9 µs.

×03 / A REAL GAMEgain

×2.9 FPS

Cyberpunk 2077 beside 48 CPU-bound tasks: 25.7 frames/s under EEVDF, 75.1 under Aegis.

◆04 / RANKINGgain

1st of 9

Against 8 schedulers, Linux’s own included: score 2.23, EEVDF = 1.

−05 / THROUGHPUTcost

−3 to −4%

Saturated client/server throughput, 95% confidence interval: the cost of the sched_ext path. About 1% for the kernel version, in a virtual machine.

+06 / MEDIANcost

+0.5 to 3 µs

When all is well, Aegis responds slightly later than EEVDF: the cost of going through eBPF.

LIMITS

An experiment,
on one machine.

Aegis is research. The site lists what it does not do better and every condition its figures depend on.

01 / ONE MACHINE

Ryzen 9 3900X, Linux only.

Aegis needs sched_ext (kernel 6.12 or later) and root. Other kernels were tried in virtual machines only.

02 / LOW LOAD

9% more energy per request.

A small, nearly idle server uses more per request. An opt-in setting reduces the gap but costs a little under load.

03 / IN THE KERNEL

A patch, tested in a VM.

The same policy also exists as a patch to the Linux scheduler itself, without sched_ext. It has been measured in a virtual machine only.

04 / NOISE

Small gaps are not read.

Campaigns run 2 to 10 rounds per scenario; differences inside the noise are reported as such, not as wins.

THE AEGIS SITE / ENGLISH AND FRENCH

Every campaign.
Every chart.

The ranking, gaming, servers, energy, the kernel version and the project phase by phase, with sources for every number.

Experimental: not for production machines · source repository private for now