openwrt/target/linux
John Audia 31111680f6
x86: switch config to a tickless kernel
This commit fixes and closes #16313.

Switch the x86 kernel's timer to tickless operation which is
more power efficient since it is not woken up by periodic timer
interrupts when idle.  Also add several other options for CPU
idle governors particularly the upstream default for tickless
kernels, CONFIG_CPU_IDLE_GOV_MENU. Without this commit, my AMD
Ryzen 7 5800U can only achieve a minimum core frequency of 1,384
MHz which is over 3x higher than the processor's minimum
frequency of 400 MHz which is accessible with this modification.
In addition to the lower clock rate, I have seen a concomitant
reduction in both idle temps and at-the-wall power consumption.

Summary:
* Idle CPU freqs dropped from 1,384 MHz to 400 Mhz.
* Idle power consumption dropped from 7 W avg to 5 W.
* Idle temps have dropped from 50C on avg to 43C.

There are other well known reasons to switch to a tickless
timer including: reduced interrupt overhead, better use of CPU
resources, and reduced latency to name a few.

Build system: x86/64
Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne

Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/16317
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-11-16 14:33:58 +01:00
..
airoha
apm821xx
archs38
armsr
at91
ath79
bcm27xx
bcm47xx
bcm53xx
bcm4908
bmips
d1
gemini
generic
imx
ipq40xx
ipq806x
ixp4xx
kirkwood
lantiq
layerscape
loongarch64
malta
mediatek
mpc85xx
mvebu
mxs
octeon
omap
pistachio
qoriq
qualcommax
ramips
realtek
rockchip
sifiveu
siflower
starfive
sunxi
tegra
uml
x86 x86: switch config to a tickless kernel 2024-11-16 14:33:58 +01:00
zynq
Makefile