From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GFmSLm+KzWLwfQEAbAwnHQ (envelope-from ) for ; Tue, 12 Jul 2022 16:51:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iB9hLm+KzWI92QAA9RJhRA (envelope-from ) for ; Tue, 12 Jul 2022 16:51:27 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 20B896BCB for ; Tue, 12 Jul 2022 16:51:10 +0200 (CEST) Received: from localhost ([::1]:46986 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBHEC-0006Zj-QU for larch@yhetil.org; Tue, 12 Jul 2022 10:51:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33064) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBHDH-0006YW-7P for bug-guix@gnu.org; Tue, 12 Jul 2022 10:50:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49532) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oBHD8-0006Pp-QU for bug-guix@gnu.org; Tue, 12 Jul 2022 10:50:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oBHD8-00034n-Lr for bug-guix@gnu.org; Tue, 12 Jul 2022 10:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#37904: CPU overheating on recent laptops Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 12 Jul 2022 14:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37904 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 37904@debbugs.gnu.org, Arne Babenhauserheide Received: via spool by 37904-submit@debbugs.gnu.org id=B37904.165763736711772 (code B ref 37904); Tue, 12 Jul 2022 14:50:02 +0000 Received: (at 37904) by debbugs.gnu.org; 12 Jul 2022 14:49:27 +0000 Received: from localhost ([127.0.0.1]:43429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBHCZ-00033o-0l for submit@debbugs.gnu.org; Tue, 12 Jul 2022 10:49:27 -0400 Received: from mail-qt1-f173.google.com ([209.85.160.173]:40715) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBHCX-00033b-TJ for 37904@debbugs.gnu.org; Tue, 12 Jul 2022 10:49:26 -0400 Received: by mail-qt1-f173.google.com with SMTP id ck6so9509372qtb.7 for <37904@debbugs.gnu.org>; Tue, 12 Jul 2022 07:49:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=YWJtZmcpbKg2MMwwJkMip34UxjlESHchtKbvNbYaVw4=; b=N1Saxg3LZFin01kzO/7AXOpnEcdx4XpTJweeNm7uEQmUq/mSepSOmxtqWmfyat5Omu 6RaHZHVx9HIUOiUKG4dTinm0mwV66L8Dpur3dC69/PJL5nBd7P8nwbmRiqXboM9hYXY+ Gq6lpxkNDMxnNUb0aod2QwfKH5788tvb2Gu9XEq9r3DVUQPdLTvSMgmKFoEMqv8aI/Ly vcKu9szCI1lbtqTkBJROBU4c4VG+3NReIHkh1SG+/k88COmrr+5hoJHHI9YC8jJ9bO3Y ljZYHhWvnZCt4bjSMtxNASQ8wkrCLSNpKw3KcGcPkmlbiaxWiMEyrvhMwY6QKO/+MKsA zTnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=YWJtZmcpbKg2MMwwJkMip34UxjlESHchtKbvNbYaVw4=; b=dYmI3oIMXOJnm22LbsLx3ACndbvibdyj8YsVJXCnfdGuMMy4iaxRl6G/gIm1q3sePX e7RdFZr2tQKfKsHMok6ITPAqMnIPHSFGqOLGF+pZccnT76/1XCHqLXUk0+0LJGHQSdfe X57gSnyXO63ge/zOIMaaTURJciP+ovkTnS6KL0lUZjCY532194FjytjajACFrIUPhvEG vEVv8kUxEeMLMceYxWRO/bMGfjuxCuGWR9zS1JEHI1w8DoNkrKrLs0DLn8V3E3WArmzB GZH1z6dtkvGyd7AkDM1DZpBkCr3DltaIx2gMOOj6/1iHdrZ/xpzlVfze4E9QiLAeaHIh VGZQ== X-Gm-Message-State: AJIora9MYDq8zLr0k1LaRwstVouzcnKz6sDPhDZXB5XD0nKWfimgdjzN yo/Qm5S79qp4vMgj7eGwarCXXkZk+AQdUc/r X-Google-Smtp-Source: AGRyM1sQeijnMkUl1pGMj1WcuovdfqJ7yhecNTQTOoCENptarMw1FitHFDdHV+rkuBshukBQFUpRWQ== X-Received: by 2002:a05:622a:1391:b0:31e:b245:dfa3 with SMTP id o17-20020a05622a139100b0031eb245dfa3mr9874348qtk.658.1657637360036; Tue, 12 Jul 2022 07:49:20 -0700 (PDT) Received: from hurd (dsl-155-226.b2b2c.ca. [66.158.155.226]) by smtp.gmail.com with ESMTPSA id k18-20020a05620a415200b006b58fce19dasm4761480qko.20.2022.07.12.07.49.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jul 2022 07:49:19 -0700 (PDT) From: Maxim Cournoyer References: <87a79qfayh.fsf@inria.fr> <87v9sef6n0.fsf@nckx> <87imocmtxw.fsf@gnu.org> <87pnikii3r.fsf@web.de> Date: Tue, 12 Jul 2022 10:49:18 -0400 In-Reply-To: <87pnikii3r.fsf@web.de> (Arne Babenhauserheide's message of "Sat, 26 Oct 2019 00:19:04 +0200") Message-ID: <87wnci75e9.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657637470; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=YWJtZmcpbKg2MMwwJkMip34UxjlESHchtKbvNbYaVw4=; b=jaAkzWvjn1LF8T5F3FfNUojaAZ+tHAU2cSdB1XARAxPxy+6LI4Mk0k0JMURv95YoNe4hMb FPwciN91yLyQQsvGhEto0RmR//OPrzIgq7dg2auTkZcA5pDHD0pPpFxdnXKo34n07rdAup 2qwoBfCbPsQpvxuz+hUNSQf5/4n+dAmA7EtvY5Iz1ahk8NvMtSbH8ObnnifMhwHqyLGxa5 zjVezpo96x5h/G43TRO5y/0dle/Cg0d9P9Ww1BLjXK73VDDD62e1/2Lf5PrvxF0hBMeAT3 f5Q9Az4OmEvxykjzrhG64t6d69mvR8cPuu1j6bkNGlSVsveXNeiBwOPFbsY92Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657637470; a=rsa-sha256; cv=none; b=s/v2bkZ0ku7O1/MGPXbEUo7vQKmxGu66hp8aVkJdWhL1VIYTOd5RtAfkqnDCGZRinAIqd0 ooiH+uxJq9q2VkKz7rpKC8PyI+Ma2+ZM51bEsvPif3ardvYYiNHAQ92H29SAUNc3mzF8MC bMvW51YG6QX+Kt5g5BDykR7NEjykThfCW9cHMmeFsZLOdYEyz/Po5uI2F+Y1ivRgZYjlmq QefLRF0ZhdqtRE8kESFu218r8UsMAraR2lM4gAUUChhSWDKtyMGdobW8rJOv5TJkpvGb3x fRTGIcvpuOxJduwBszHwBvoJAgAgYGnsJk1OMKNr/Na9Na4zDrd3SgeNpqcVSA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=N1Saxg3L; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.05 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=N1Saxg3L; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 20B896BCB X-Spam-Score: 6.05 X-Migadu-Scanner: scn1.migadu.com X-TUID: BAEbQuVRftF1 Hi Ludo, Arne Babenhauserheide writes: > Ludovic Court=C3=A8s writes: >>> 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 defaul= t choice for >>> all. > >> --8<---------------cut here---------------start------------->8--- >> $ cat /sys/devices/system/cpu/cpu?/cpufreq/scaling_available_governors >> 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? > > Do you have a recent Intel CPU? From what I know they removed support > for conservative, because their powersave is in fact conservative. > > Also they don=E2=80=99t necessarily stick to the frequency you set for th= em. To > ensure that they keep the frequency, I have a script running that sets > the speed every minute: > > (define cpupower-powersave-job > ;; Set the governor to powersave every minute. > ;; The job's action is a shell command. > ;; TODO: migrate to clearer syntax: #~(job '(next-hour '(3)) (string-= append #$btrfs-progs "/bin/btrfs scrub start -c 3 /"))) > #~(job "* * * * *" ;Vixie cron syntax > "cpupower frequency-set -g powersave -u 1200000")) ;; use powers= ave governor with a maximum frequency of 1200MHz > > (this is a problem which also hits other distributions) Is this problem still an issue? Based on what Arne says above, it seems it isn't a fault in Guix, so perhaps we can close the issue and seek resolution upstream if a problem remains? Thanks, Maxim