mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
4c22224bcc
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>
(cherry picked from commit
|
||
---|---|---|
.. | ||
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 | ||
zynq | ||
Makefile |