I use custom kernel of 6.1.1 version (pure linux.org kernel with my settings). I edited config for this kernel to CONFIG_HZ=1000 (instead 300 in archlinux default).
Using systemctl enable --now set-cfs-tweaks.service returns an error:
set-cfs-zen-tweaks.bash[368515]: Targeted preemption latency for CPU-bound tasks: 4ms
set-cfs-zen-tweaks.bash[368515]: Minimal preemption granularity for CPU-bound tasks: 0.4ms
set-cfs-zen-tweaks.bash[368515]: Wake-up granularity: 0.5ms
set-cfs-zen-tweaks.bash[368515]: Task migration cost: 0.25ms
set-cfs-zen-tweaks.bash[368515]: Amount of runtime to allocate from global to local pool: 3ms
set-cfs-zen-tweaks.bash[368515]: Detected kernel <5.13. Using legacy locations.
set-cfs-zen-tweaks.bash[368515]: /usr/lib/cfs-zen-tweaks/set-cfs-zen-tweaks.bash: line 57: /proc/sys/kernel/sched_latency_ns: No such file or directory
systemd[1]: set-cfs-tweaks.service: Main process exited, code=exited, status=1/FAILURE
Why does it detect kernel <5.13? and respectively used legacy locations that not exist.
system: archlinux, systemd.
I use custom kernel of 6.1.1 version (pure linux.org kernel with my settings). I edited config for this kernel to CONFIG_HZ=1000 (instead 300 in archlinux default). Using systemctl enable --now set-cfs-tweaks.service returns an error:
Why does it detect kernel <5.13? and respectively used legacy locations that not exist.