linux: Set CONFIG_NO_HZ_FULL=y.

CONFIG_NO_HZ_FULL=y should be set to enable the `nohz_full=` and
`rcu_nocbs=` options. These carry no additional performance penalty
compared to CONFIG_NO_HZ_IDLE and behaves like it by default,
but allows disabling the tick interrupts on cores for power or
performance reasons.

[Debian][1] also applied the change to all their kernels.
Like the Kernel says: "If you're a distro say Y."

[1]: https://salsa.debian.org/kernel-team/linux/-/commit/f6aad27f05c007d6f30b34ff77bc7ea47844f117
This commit is contained in:
Adrian Pistol
2022-10-30 16:47:12 +01:00
parent 575bb5a4a0
commit 8d3fe232e3
@@ -114,6 +114,12 @@ let
IOSCHED_BFQ = whenAtLeast "4.12" module;
};
timer = {
# Enable Full Dynticks System.
NO_HZ_FULL = yes;
};
# Enable NUMA.
numa = {
NUMA = option yes;