openwrt/target/linux/x86
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
..
64 x86: make i915 as a kmod with required firmware 2024-11-15 19:03:21 +01:00
base-files x86: add Gowin 1U Rack Mount Router Server 2024-10-19 19:10:56 +02:00
generic x86: make i915 as a kmod with required firmware 2024-11-15 19:03:21 +01:00
geode kernel: Reorder config files 2024-10-22 21:13:26 +02:00
image armsr: use console=tty1 to make console more readily available 2024-08-25 13:15:33 +02:00
legacy x86: make i915 as a kmod with required firmware 2024-11-15 19:03:21 +01:00
patches-6.6 x86: 6.6: refresh patches 2024-04-04 08:56:10 +02:00
base-files.mk target: Make TARGET_SERIAL independent of GRUB configuration 2023-11-29 23:43:01 +01:00
config-6.6 x86: switch config to a tickless kernel 2024-11-16 14:33:58 +01:00
Makefile x86: use kernel 6.6 by default 2024-05-30 22:47:59 +02:00
modules.mk x86: Add kmod-dwmac-intel 2023-12-02 00:42:00 +01:00