mirror of
https://github.com/JakeHillion/scx.git
synced 2024-12-02 13:57:11 +00:00
66dea6262b
Switching the scheduler requires changing SCX_SCHEDULER (and potentially also SCX_FLAGS) in /etc/default/scx. This patch allows overriding these settings using systemd environment variables SCX_SCHEDULER_OVERRIDE and SCX_FLAGS_OVERRIDE, without changing the default configuration. Example: > grep SCX_SCHEDULER /etc/default/scx SCX_SCHEDULER=scx_rusty > sudo systemctl status scx ... Main PID: 8021 (scx_rusty) ... > sudo systemctl set-environment SCX_SCHEDULER_OVERRIDE=scx_rustland > sudo systemctl restart scx > sudo systemctl status scx ... Main PID: 4021 (scx_rustland) ... This feature can be useful for quickly testing different schedulers and settings, without altering the global system configuration. Signed-off-by: Pietro Righi <pietro.righi.email@gmail.com> |
||
---|---|---|
.. | ||
journald@sched-ext.conf | ||
meson.build | ||
scx.service |