Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2015 00:50:37 -0800
From:      Mark Millard <markmi@dsl-only.net>
To:        Justin Hibbits <chmeeedalf@gmail.com>
Cc:        FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: PowerMac G5 quad-core, CPU A1 DIODE TEMP: 90.8 C (for example): How to handle? [more data]
Message-ID:  <272F2B8F-E134-4130-A86B-3CD5C4D20480@dsl-only.net>
In-Reply-To: <20150115231129.1b28c8d0@zhabar.attlocal.net>
References:  <42CF1E40-5BD5-4B00-86E9-C62AEB9B8B93@dsl-only.net> <15A6D627-9DC7-48AF-B133-94980AFCE46A@dsl-only.net> <20150115231129.1b28c8d0@zhabar.attlocal.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks: I'll try it.

But it may be a while before I get to the experiment, possibly the =
weekend. (So the following is based on 10.1-STABLE as it was when I =
built it, just like the prior notes.)

I've tried the experiment of letting the problem G5 quad-core sit idle =
for 9+ hours. Its stable state has long been around/near:

dev.smusat.0.cpu_a0_diode_temp: 61.3C
dev.smusat.0.cpu_a1_diode_temp: 64.0C
dev.smusat.0.cpu_a0_core_current: 11
dev.smusat.0.cpu_a1_core_current: 15
dev.smusat.1.cpu_b0_diode_temp: 45.7C
dev.smusat.1.cpu_b1_diode_temp: 45.2C
dev.smusat.1.cpu_b0_core_current: 13
dev.smusat.1.cpu_b1_core_current: 12

dev.smu.0.fans.cpu_a_intake.rpm: 1460
dev.smu.0.fans.cpu_b_intake.rpm: 1462
dev.smu.0.fans.cpu_a_exhaust.rpm: 1471
dev.smu.0.fans.cpu_b_exhaust.rpm: 1471
dev.smu.0.fans.cpu_a_pump.rpm: 2097

=3D=3D=3D
Mark Millard
markmi at dsl-only.net

On 2015-Jan-15, at 11:11 PM, Justin Hibbits <chmeeedalf at gmail.com> =
wrote:

On Thu, 15 Jan 2015 14:33:22 -0800
Mark Millard <markmi at dsl-only.net> wrote:

> For a well-operating PowerMac G5 quad-core for recording over 30
> minutes, sampling about once a second, starting idle and doing "make
> -j 8 buildworld buildkernel":
>=20
> Low value to high value (for type of value to get idea of range
> expected)...
>=20
> dev.smusat.0.cpu_a0_diode_temp: 38.8C to
> dev.smusat.1.cpu_b1_diode_temp: 68.7C
>=20
> dev.smu.0.fans.cpu_a_intake.rpm: 484 to
> dev.smu.0.fans.cpu_a_intake.rpm: 1549
>=20
> dev.smu.0.fans.cpu_a_pump.rpm: 1235 to dev.smu.0.fans.cpu_a_pump.rpm:
> 2214
>=20
>=20
> I put the problem PowerMac G5 quad-core in a about 56degF room in
> order to try to have it run longer so I could collect more
> information. This seems to have been enough to keep it somewhat below
> 90degC generally for the CPU diodes over the initial 30 minutes of
> "make -j 8 buildworld buildkernel".
>=20
> Low value to high value (for type of value to get idea of range
> happening, limited to the first 30 minutes or so)...
>=20
> dev.smusat.0.cpu_a0_diode_temp: 38.2C to
> dev.smusat.0.cpu_a1_diode_temp: 90.2C (Just one 90.2C at that point
> and one dev.smusat.0.cpu_a1_diode_temp: 90.1C but a bunch of
> 89.[5-9]C's.)
>=20
> dev.smu.0.fans.cpu_a_intake.rpm: 485 to
> dev.smu.0.fans.cpu_a_intake.rpm: 3184
>=20
> dev.smu.0.fans.cpu_a_pump.rpm: 1254 to dev.smu.0.fans.cpu_a_pump.rpm:
> 3636
>=20
> Letting it run longer, however, has lead to more 90.[0-9]C's and
> messages like (all but the 1st two are from after the 30 minutes):
>=20
> WARNING: Current temperature (CPU A1 DIODE TEMP: 90.2 C) exceeds
> critical temperature (90.0 C); count=3D1 WARNING: Current temperature
> (CPU A1 DIODE TEMP: 90.1 C) exceeds critical temperature (90.0 C);
> count=3D1 WARNING: Current temperature (CPU A1 DIODE TEMP: 90.1 C)
> exceeds critical temperature (90.0 C); count=3D1 WARNING: Current
> temperature (CPU A1 DIODE TEMP: 90.2 C) exceeds critical temperature
> (90.0 C); count=3D2 WARNING: Current temperature (CPU A1 DIODE TEMP:
> 90.4 C) exceeds critical temperature (90.0 C); count=3D3 WARNING:
> Current temperature (CPU A1 DIODE TEMP: 90.6 C) exceeds critical
> temperature (90.0 C); count=3D4 WARNING: Current temperature (CPU A1
> DIODE TEMP: 90.4 C) exceeds critical temperature (90.0 C); count=3D1
> WARNING: Current temperature (CPU A1 DIODE TEMP: 90.4 C) exceeds
> critical temperature (90.0 C); count=3D2 WARNING: Current temperature
> (CPU A1 DIODE TEMP: 90.1 C) exceeds critical temperature (90.0 C);
> count=3D3 WARNING: Current temperature (CPU A1 DIODE TEMP: 90.1 C)
> exceeds critical temperature (90.0 C); count=3D2 WARNING: Current
> temperature (CPU A1 DIODE TEMP: 90.1 C) exceeds critical temperature
> (90.0 C); count=3D3 WARNING: Current temperature (CPU A1 DIODE TEMP:
> 90.1 C) exceeds critical temperature (90.0 C); count=3D1 WARNING:
> Current temperature (CPU A1 DIODE TEMP: 90.1 C) exceeds critical
> temperature (90.0 C); count=3D1 WARNING: Current temperature (CPU A1
> DIODE TEMP: 90.6 C) exceeds critical temperature (90.0 C); count=3D2
>=20
> It did automatically shut down after about 50 min. The other 3 CPU
> diodes were in the range 68C to 74C or so. A1 just seems to register
> hotter. It ended with the recorded sequence for a1:
>=20
> dev.smusat.0.cpu_a1_diode_temp: 89.2C
> dev.smusat.0.cpu_a1_diode_temp: 90.6C
> dev.smusat.0.cpu_a1_diode_temp: 90.6C
> dev.smusat.0.cpu_a1_diode_temp: 90.1C
> dev.smusat.0.cpu_a1_diode_temp: 89.9C
> dev.smusat.0.cpu_a1_diode_temp: 90.1C
> dev.smusat.0.cpu_a1_diode_temp: 90.9C
> dev.smusat.0.cpu_a1_diode_temp: 91.3C
> dev.smusat.0.cpu_a1_diode_temp: 91.1C
> dev.smusat.0.cpu_a1_diode_temp: 91.4C
> dev.smusat.0.cpu_a1_diode_temp: 91.8C
> dev.smusat.0.cpu_a1_diode_temp: 92.0C
>=20
>=20
> The high fan/pump figures recorded were:
>=20
> dev.smu.0.fans.cpu_b_intake.rpm: 3199
> dev.smu.0.fans.cpu_a_intake.rpm: 3200
> dev.smu.0.fans.cpu_b_exhaust.rpm: 3198
> dev.smu.0.fans.cpu_a_exhaust.rpm: 3199
> dev.smu.0.fans.cpu_a_pump.rpm: 3637
>=20
> These are all well above those recorded for the well-operating
> PowerMac G5 quad-core.
>=20
> =3D=3D=3D
> Mark Millard
> markmi at dsl-only.net

Could you try the attached patch? (Untested here, my quad isn't up).
It scales more exponentially, hitting full blast around the thermal
midpoint.  This can obviously be adjusted up or down, but should be a
good starting point.  We should probably also have a backoff algorithm,
to keep the fans going longer after it cools, like OS X does.

- Justin
<pmac_therm.diff>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?272F2B8F-E134-4130-A86B-3CD5C4D20480>