scx-upstream/scheds/rust
David Vernet df42589a76
rusty: Fix bugs in rusty
When building with warnings enabled, a few obvious bugs are pointed out:

- We're not correctly calculating waker frequency
- We're not taking the min of avg_run_raw compared to max latency
- We're missing an element from sched_prio_to_weight

Fix these. With these changes, interactivity is seemingly improved. We
go from ~12 sec / turn -> 11 seconds / turn in the Civ 6 AI benchmark
with a 4 x nproc CPU hogging workload in the background. It's clear,
however, that we really need preemption.

Signed-off-by: David Vernet <void@manifault.com>
2024-05-18 07:51:20 -05:00
..
scx_lavd Add missing skel.attach() calls 2024-05-17 14:33:04 -10:00
scx_layered layered: Remove unused variables 2024-05-18 07:51:20 -05:00
scx_rlfifo scx_rustland_core: introduce low-power mode 2024-05-15 20:32:05 +02:00
scx_rustland scx_rustland_core: introduce low-power mode 2024-05-15 20:32:05 +02:00
scx_rusty rusty: Fix bugs in rusty 2024-05-18 07:51:20 -05:00
meson.build scheds-rust: add explanation for chaining schedulers 2024-04-23 08:30:38 +08:00
README.md scx_lavd: add scx_lavd (Latency-criticality Aware Virtual Deadline) scheduler 2024-03-16 10:31:07 +09:00

RUST SCHEDULERS

Introduction

This directory contains schedulers with user space rust components.

The README in each scheduler directory provides some background and describes the types of workloads or scenarios they're designed to accommodate. For more details on any of these schedulers, please see the header comment in their main.rs or *.bpf.c files.

Schedulers