~/talk

Optimizing Scheduler for Linux Gaming

Talkat LinuxCon @ OSS NA 2024 · 2024-04-16..04-18· [linux-and-operating-systems]
slides:none on file

Measurement shows ~300 threads per game but ~30 threads take 95% of scheduling work, task runtimes sit at ~200–300 µs (few reach 2–3 ms), and preemption accounts for only 25–30% of scheduling events. An implementation using sched_ext builds a BPF scheduler called lavd (latency‑criticality aware virtual deadline) that assigns virtual deadlines from wait/wake frequencies and runtimes and reports improved average and low 1% frame rate in Steam Deck benchmarks without hurting throughput.

AI-written summary · about

  1. 0:00Linux gaming optimization
  2. 2:55Gaming on Linux as platform
  3. 6:26Performance metrics for gaming
  4. 8:58Game workload behavior
  5. 22:13Game vs native workloads
  6. 24:49SCXT scheduling framework
  7. 30:10LAVD scheduling algorithm
  8. 39:29LAVD vs default scheduler
  9. 45:03Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.