From 29ff22605de8cd5a9a9fa499b4ee27276596d6b7 Mon Sep 17 00:00:00 2001 From: Anders da Silva Rytter Hansen Date: Fri, 6 Feb 2026 11:29:51 -0300 Subject: [PATCH] start bpfland scheduler automatically --- Dockerfile | 1 + usr/share/scx_loader/config.toml | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 usr/share/scx_loader/config.toml diff --git a/Dockerfile b/Dockerfile index 61c43c8..b6ffb03 100644 --- a/Dockerfile +++ b/Dockerfile @@ -91,6 +91,7 @@ RUN dnf install https://download.copr.fedorainfracloud.org/results/bieszczaders/ && dnf install https://download.copr.fedorainfracloud.org/results/bieszczaders/kernel-cachyos-addons/fedora-42-x86_64/10036986-cachyos-ananicy-rules/cachyos-ananicy-rules-20260120.rc3e21cb-1.fc42.x86_64.rpm -y RUN systemctl enable docker +RUN systemctl enable scx_loader COPY etc /etc COPY usr /usr diff --git a/usr/share/scx_loader/config.toml b/usr/share/scx_loader/config.toml new file mode 100644 index 0000000..85a2a06 --- /dev/null +++ b/usr/share/scx_loader/config.toml @@ -0,0 +1,13 @@ +# This field specifies the scheduler that will be started automatically when scx_loader starts (e.g., on boot). +default_sched = "scx_bpfland" + +# This field specifies the mode which will be used when scx_loader starts (e.g., on boot). +#default_mode = "Auto" + +# This "structure" allows configuring flags for each scheduler mode of particular scx scheduler +#[scheds.'scheduler'] +#auto_mode = [] +#gaming_mode = [] +#lowlatency_mode = [] +#powersave_mode = [] +#server_mode = [] \ No newline at end of file