mirror of
https://github.com/sched-ext/scx.git
synced 2024-12-05 00:37:11 +00:00
678b10133d
Introduce scx_flash (Fair Latency-Aware ScHeduler), a scheduler that
focuses on ensuring fairness among tasks and performance predictability.
This scheduler is introduced as a replacement of the "lowlatency" mode
in scx_bpfland, that has been dropped in commit 78101e4
("scx_bpfland:
drop lowlatency mode and the priority DSQ").
scx_flash operates based on an EDF (Earliest Deadline First) policy,
where each task is assigned a latency weight. This weight is adjusted
dynamically, influenced by the task's static weight and how often it
releases the CPU before its full assigned time slice is used: tasks that
release the CPU early receive a higher latency weight, granting them
a higher priority over tasks that fully use their time slice.
The combination of dynamic latency weights and EDF scheduling ensures
responsive and stable performance, even in overcommitted systems, making
the scheduler particularly well-suited for latency-sensitive workloads,
such as multimedia or real-time audio processing.
Tested-by: Peter Jung <ptr1337@cachyos.org>
Tested-by: Piotr Gorski <piotrgorski@cachyos.org>
Signed-off-by: Andrea Righi <arighi@nvidia.com>
16 lines
481 B
TOML
16 lines
481 B
TOML
[workspace]
|
|
members = ["rust/scx_stats",
|
|
"rust/scx_stats/scx_stats_derive",
|
|
"rust/scx_utils",
|
|
"rust/scx_rustland_core",
|
|
"rust/scx_loader",
|
|
"scheds/rust/scx_lavd",
|
|
"scheds/rust/scx_bpfland",
|
|
"scheds/rust/scx_flash",
|
|
"scheds/rust/scx_rustland",
|
|
"scheds/rust/scx_rlfifo",
|
|
"scheds/rust/scx_rusty",
|
|
"scheds/rust/scx_layered",
|
|
"scheds/rust/scx_mitosis"]
|
|
resolver = "2"
|