From 23eecad7b48913b12bd83917647de99e66d69b49 Mon Sep 17 00:00:00 2001 From: Nils Freydank Date: Wed, 13 Oct 2021 16:45:08 +0200 Subject: [PATCH] pygoscelis: Set the timer frequency to 100 Hz MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Trying out a lower time frequency and check if it has any influence at all after a short discussion in IRC about it. To me it looks as there is no real impact on my hardware with this After a debate in IRC and some reading it looks to me as there is no general rule but many people with opinions. Therefore I don’t expect a difference in overall power consumption or responsiveness, but will just try it out. I set up a quick and dirty battery test: - display brightness at 35 % - wifi on - bluetooth off - some default background deamons running (cron, chrony/NTP, syncthing) - one termina (konsole) open - that energy monitor from KDE open - CPU boost disabled with 'echo 0 > /sys/devices/system/cpu/cpufreq/boost' - verified that temperatures are low enough that the fan is off Both setups (5.14.11-T14s with CONFIG_HZ_1000=y vs. 5.14.12-T14s with CONFIG_HZ_100=y) showed values around 5.6 W, down to 5.2 W, up to > 30W as I called emerge to check if it's not just a display glitch. As this is a Notebook I don't have to care at all about some video cards and TV frequencies that are mentioned in various threads. To end this commit message I’d like to share a quote that amused me during my mini-research: „864Hz is indeed the win - I won't use a kernel wihout that option anymore.” - User “creidiki”, forums.gentoo.org --- pygoscelis-config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pygoscelis-config b/pygoscelis-config index 9869963..0692018 100644 --- a/pygoscelis-config +++ b/pygoscelis-config @@ -443,11 +443,11 @@ CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS=y CONFIG_EFI=y CONFIG_EFI_STUB=y # CONFIG_EFI_MIXED is not set -# CONFIG_HZ_100 is not set +CONFIG_HZ_100=y # CONFIG_HZ_250 is not set # CONFIG_HZ_300 is not set -CONFIG_HZ_1000=y -CONFIG_HZ=1000 +# CONFIG_HZ_1000 is not set +CONFIG_HZ=100 CONFIG_SCHED_HRTICK=y # CONFIG_KEXEC is not set # CONFIG_KEXEC_FILE is not set