Re: Systems running hot?

From: Alexandre \ <gaijin.k_at_gmail.com>
Date: Tue, 22 Dec 2009 11:40:45 -0500
On Tue, Dec 22, 2009 at 9:52 AM, Hajimu UMEMOTO <ume_at_freebsd.org> wrote:
>
> Hi,
>
> >>>>> On Tue, 22 Dec 2009 08:04:02 -0500
> >>>>> "Alexandre \"Sunny\" Kovalenko" <gaijin.k_at_gmail.com> said:
>
> gaijin.k> hw.acpi.thermal.user_override: 0
> gaijin.k> hw.acpi.thermal.tz0.temperature: 72.5C
> gaijin.k> hw.acpi.thermal.tz0.active: -1
> gaijin.k> hw.acpi.thermal.tz0.passive_cooling: 0
> gaijin.k> hw.acpi.thermal.tz0.thermal_flags: 0
> gaijin.k> hw.acpi.thermal.tz0._PSV: -1
> gaijin.k> hw.acpi.thermal.tz0._HOT: -1
> gaijin.k> hw.acpi.thermal.tz0._CRT: 126.0C
> gaijin.k> ===> hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
> gaijin.k> hw.acpi.thermal.tz0._TC1: -1
> gaijin.k> hw.acpi.thermal.tz0._TC2: -1
> gaijin.k> hw.acpi.thermal.tz0._TSP: -1
>
> gaijin.k> If all you want is to make your system cooler during the operation, you could try setting
>
> gaijin.k> hw.acpi.thermal.tz0.passive_cooling=1
> gaijin.k> hw.acpi.thermal.user_override=1
> gaijin.k> hw.acpi.thermal.tz0._PSV=70C
>
> gaijin.k> either in /etc/sysctl.conf or manually and see whether this makes a difference.
>
> It seems his BIOS doesn't have the parameters for passive cooling.
> The _TC1, _TC2 and _TSP have to be set as well.
>
You are absolutely right and I apologize for incomplete suggestion --
full set of conditions to start
passive cooling thread seems to be as follows:

static int
acpi_tz_cooling_is_available(struct acpi_tz_softc *sc)
{
    return (sc->tz_zone.tc1 != -1 && sc->tz_zone.tc2 != -1 &&
        sc->tz_zone.tsp != -1 && sc->tz_zone.tsp != 0 &&
        sc->tz_zone.psv != -1);
}

and, since the values are used in 'acpi_tz_cooling_thread' to
determine how and when to change CPU frequency,
here are numbers from my machine (Intel T2400 _at_ 1.83GHz) , which could
be used as the starting point:

hw.acpi.thermal.tz1._TC1: 5
hw.acpi.thermal.tz1._TC2: 4
hw.acpi.thermal.tz1._TSP: 600

> Sincerely,
>
> --
> Hajimu UMEMOTO _at_ Internet Mutual Aid Society Yokohama, Japan
> ume_at_mahoroba.org  ume_at_{,jp.}FreeBSD.org
> http://www.imasy.org/~ume/

--
Alexandre Kovalenko (Олександр Коваленко).
Received on Tue Dec 22 2009 - 15:40:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:59 UTC