From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#37904: CPU overheating on recent laptops Date: Fri, 25 Oct 2019 22:49:47 +0200 Message-ID: <87imocmtxw.fsf@gnu.org> References: <87a79qfayh.fsf@inria.fr> <87v9sef6n0.fsf@nckx> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:37045) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iO6X6-0001Ra-Ll for bug-guix@gnu.org; Fri, 25 Oct 2019 16:50:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iO6X5-0008HW-7b for bug-guix@gnu.org; Fri, 25 Oct 2019 16:50:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58857) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iO6X5-0008HQ-4o for bug-guix@gnu.org; Fri, 25 Oct 2019 16:50:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iO6X5-000205-02 for bug-guix@gnu.org; Fri, 25 Oct 2019 16:50:03 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87v9sef6n0.fsf@nckx> (Tobias Geerinckx-Rice via Bug reports for's message of "Thu, 24 Oct 2019 18:30:27 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 37904@debbugs.gnu.org Hi, Tobias Geerinckx-Rice via Bug reports for GNU Guix skribis: > Ludovic Court=C3=A8s =E5=86=99=E9=81=93=EF=BC=9A >> Also, there used to be an =E2=80=9Condemand=E2=80=9D governor, which is = no longer >> listed >> in /sys/devices/system/cpu/cpu?/cpufreq/scaling_available_governors. > > For laptops and other battery-powered devices, =E2=80=98conservative=E2= =80=99 is > preferred over =E2=80=98ondemand=E2=80=99. It's probably a sane default = choice for > all. Oh, didn=E2=80=99t know that one. >> Was it removed or are we just missing a kconfig option? > > Strange: > > ~ =CE=BB grep CPU_FREQ_GOV =E2=80=A6/aux-files/linux-libre/5.3-x86_64.co= nf > CONFIG_CPU_FREQ_GOV_ATTR_SET=3Dy > CONFIG_CPU_FREQ_GOV_COMMON=3Dy > CONFIG_CPU_FREQ_GOV_PERFORMANCE=3Dy > CONFIG_CPU_FREQ_GOV_POWERSAVE=3Dy > CONFIG_CPU_FREQ_GOV_USERSPACE=3Dy > CONFIG_CPU_FREQ_GOV_ONDEMAND=3Dy > CONFIG_CPU_FREQ_GOV_CONSERVATIVE=3Dy > CONFIG_CPU_FREQ_GOV_SCHEDUTIL=3Dy 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=E2=80=99.