From: "Ludovic Courtès" <ludo@gnu.org>
To: 37904@debbugs.gnu.org
Subject: bug#37904: CPU overheating on recent laptops
Date: Fri, 25 Oct 2019 22:49:47 +0200 [thread overview]
Message-ID: <87imocmtxw.fsf@gnu.org> (raw)
In-Reply-To: <87v9sef6n0.fsf@nckx> (Tobias Geerinckx-Rice via Bug reports for's message of "Thu, 24 Oct 2019 18:30:27 +0200")
Hi,
Tobias Geerinckx-Rice via Bug reports for GNU Guix <bug-guix@gnu.org>
skribis:
> Ludovic Courtès 写道:
>> Also, there used to be an “ondemand” governor, which is no longer
>> listed
>> in /sys/devices/system/cpu/cpu?/cpufreq/scaling_available_governors.
>
> For laptops and other battery-powered devices, ‘conservative’ is
> preferred over ‘ondemand’. It's probably a sane default choice for
> all.
Oh, didn’t know that one.
>> Was it removed or are we just missing a kconfig option?
>
> Strange:
>
> ~ λ grep CPU_FREQ_GOV …/aux-files/linux-libre/5.3-x86_64.conf
> CONFIG_CPU_FREQ_GOV_ATTR_SET=y
> CONFIG_CPU_FREQ_GOV_COMMON=y
> CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
> CONFIG_CPU_FREQ_GOV_POWERSAVE=y
> CONFIG_CPU_FREQ_GOV_USERSPACE=y
> CONFIG_CPU_FREQ_GOV_ONDEMAND=y
> CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
> CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
Weird, I see:
--8<---------------cut here---------------start------------->8---
$ cat /sys/devices/system/cpu/cpu?/cpufreq/scaling_available_governors
performance powersave
performance powersave
performance powersave
performance powersave
$ uname -a
Linux ribbon 5.3.7-gnu #1 SMP 1 x86_64 GNU/Linux
--8<---------------cut here---------------end--------------->8---
Do you see more governors on your side? How could that be?
> What does cpufreq-info say?
On my laptop (plugged in) I have this:
--8<---------------cut here---------------start------------->8---
$ guix environment --ad-hoc cpufrequtils -- cpufreq-info
cpufrequtils 0.3: cpufreq-info (C) Dominik Brodowski 2004
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
driver: intel_pstate
CPUs which need to switch frequency at the same time: 0
hardware limits: 400 MHz - 3.40 GHz
available cpufreq governors: performance, powersave
current policy: frequency should be within 400 MHz and 3.40 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency is 3.37 GHz.
analyzing CPU 1:
driver: intel_pstate
CPUs which need to switch frequency at the same time: 1
hardware limits: 400 MHz - 3.40 GHz
available cpufreq governors: performance, powersave
current policy: frequency should be within 400 MHz and 3.40 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency is 3.25 GHz.
analyzing CPU 2:
driver: intel_pstate
CPUs which need to switch frequency at the same time: 2
hardware limits: 400 MHz - 3.40 GHz
available cpufreq governors: performance, powersave
current policy: frequency should be within 400 MHz and 3.40 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency is 3.28 GHz.
analyzing CPU 3:
driver: intel_pstate
CPUs which need to switch frequency at the same time: 3
hardware limits: 400 MHz - 3.40 GHz
available cpufreq governors: performance, powersave
current policy: frequency should be within 400 MHz and 3.40 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency is 3.31 GHz.
--8<---------------cut here---------------end--------------->8---
Thanks,
Ludo’.
next prev parent reply other threads:[~2019-10-25 20:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-24 14:57 bug#37904: CPU overheating on recent laptops Ludovic Courtès
2019-10-24 16:30 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2019-10-25 20:49 ` Ludovic Courtès [this message]
2019-10-25 22:19 ` Arne Babenhauserheide
2022-07-12 14:49 ` Maxim Cournoyer
2022-07-12 14:55 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87imocmtxw.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=37904@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.