From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-203868-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 0148815817D
	for <garchives@archives.gentoo.org>; Fri, 14 Jun 2024 14:18:44 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 80300E2A70;
	Fri, 14 Jun 2024 14:18:38 +0000 (UTC)
Received: from smarthost01c.ixn.mail.zen.net.uk (smarthost01c.ixn.mail.zen.net.uk [212.23.1.22])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 049D8E2A5B
	for <gentoo-user@lists.gentoo.org>; Fri, 14 Jun 2024 14:18:37 +0000 (UTC)
Received: from [82.69.80.10] (helo=cube.localnet)
	by smarthost01c.ixn.mail.zen.net.uk with esmtps  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
	(Exim 4.95)
	(envelope-from <peter@prh.myzen.co.uk>)
	id 1sI7lF-001Nko-1l
	for gentoo-user@lists.gentoo.org;
	Fri, 14 Jun 2024 14:18:36 +0000
From: Peter Humphrey <peter@prh.myzen.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] CPU frequency governors and temperatures
Date: Fri, 14 Jun 2024 15:18:36 +0100
Message-ID: <2188065.irdbgypaU6@cube>
In-Reply-To: <d178b539-b61d-4619-bff6-91a99474a038@kenworthy.id.au>
References:
 <MTAwMDAzMC53ZG5lc2RheQ.1718333560@quikprotect>
 <05ea7862-f079-1feb-65ba-e54011ea1914@gmail.com>
 <d178b539-b61d-4619-bff6-91a99474a038@kenworthy.id.au>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
X-Originating-smarthost01c-IP: [82.69.80.10]
Feedback-ID: 82.69.80.10
X-Archives-Salt: 497f5338-72c1-4a4f-8f8b-84dac04d3ae9
X-Archives-Hash: 314a3e3f1485d0a4eed340df2cd9ac29

On Friday, 14 June 2024 13:55:49 BST William Kenworthy wrote:

> I have a (now quite old) MSsurface-pro4 with an I5 - it runs about
> 50-60c on normal use but compiling (for example) webkit-gtk and
> Libreoffice causes the temp to go way too high. I have a script checking
> the cpu temps - at something like 65 deg it switches from performance to
> the powersave governer (helps some), at greater than 71c it hibernates.
> After a cooldown I restart it and it continues on. If I move the 71c
> trippoint to 72c, it will reliably hard lockup after a short delay.
> Ideally, I would like to be able to tune MAKEOPTS dynamicly to reduce
> the number of cpu cores to help further but I dont believe portage can
> do that.

Sounds like a useful script, but is 71C really too high? The fan in this i5 
Intel NUC, admittedly much younger (just a few months old), doesn't start 
until the CPU temperature reaches 90C. No doubt you've done your research, so 
by all means ignore me if you want to.

> I am in the process of setting up distcc to try and help distribute the
> load while limiting the i5 to -J2 which I hope can speed things up
> whilst still keeping its cool.

That makes me think a bit. I used to use a 24-thread Ryzen M9 as a compute 
host with smaller machines being NFS-mounted into a chroot, which worked well, 
but that beast has become too noisy. Now I just use the Gentoo packages where 
I can.

-- 
Regards,
Peter.