Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 2009 11:40:45 -0500
From:      "Alexandre \"Sunny\" Kovalenko" <gaijin.k@gmail.com>
To:        Hajimu UMEMOTO <ume@freebsd.org>
Cc:        Doug Barton <dougb@freebsd.org>, freebsd-current@freebsd.org
Subject:   Re: Systems running hot?
Message-ID:  <d7bab18e0912220840h7115e0b5g7dbc5ffab425a432@mail.gmail.com>
In-Reply-To: <yge7hsff4ck.wl%ume@mahoroba.org>
References:  <4B2D4B53.1060503@FreeBSD.org> <1261487042.24529.15.camel@RabbitsDen> <yge7hsff4ck.wl%ume@mahoroba.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 22, 2009 at 9:52 AM, Hajimu UMEMOTO <ume@freebsd.org> wrote:
>
> Hi,
>
> >>>>> On Tue, 22 Dec 2009 08:04:02 -0500
> >>>>> "Alexandre \"Sunny\" Kovalenko" <gaijin.k@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> =3D=3D=3D> 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 operat=
ion, you could try setting
>
> gaijin.k> hw.acpi.thermal.tz0.passive_cooling=3D1
> gaijin.k> hw.acpi.thermal.user_override=3D1
> gaijin.k> hw.acpi.thermal.tz0._PSV=3D70C
>
> gaijin.k> either in /etc/sysctl.conf or manually and see whether this mak=
es 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 !=3D -1 && sc->tz_zone.tc2 !=3D -1 &&
        sc->tz_zone.tsp !=3D -1 && sc->tz_zone.tsp !=3D 0 &&
        sc->tz_zone.psv !=3D -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 @ 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 @ Internet Mutual Aid Society Yokohama, Japan
> ume@mahoroba.org =9Aume@{,jp.}FreeBSD.org
> http://www.imasy.org/~ume/

--
Alexandre Kovalenko (=EF=CC=C5=CB=D3=C1=CE=C4=D2 =EB=CF=D7=C1=CC=C5=CE=CB=
=CF).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d7bab18e0912220840h7115e0b5g7dbc5ffab425a432>