mirror of
https://github.com/sched-ext/scx.git
synced 2024-11-25 04:00:24 +00:00
2a7b1cc3c4
During the initialization phase the scheduler needs to be aware of all the available CPUs in the system (also those that are offline), in order to create a proper per-CPU DSQ for all of them. Otherwise, if some cores are offline, we may get errors like the following: swapper/7[0] triggered exit kind 1024: runtime error (invalid DSQ ID 0x0000000000000007) Backtrace: scx_bpf_consume+0xaa/0xd0 bpf_prog_42ff1b9d1ac5b184_rustland_dispatch+0x12b/0x187 Change the code to configure the BpfScheduler object with the total amount of CPUs available in the system and prevent such failure. This fixes #280. Signed-off-by: Andrea Righi <andrea.righi@canonical.com> |
||
---|---|---|
.. | ||
scx_lavd | ||
scx_layered | ||
scx_rlfifo | ||
scx_rustland | ||
scx_rusty | ||
meson.build | ||
README.md |
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.