From owner-freebsd-current@FreeBSD.ORG Tue Dec 22 16:40:46 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 290ED1065670; Tue, 22 Dec 2009 16:40:46 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: from mail-iw0-f198.google.com (mail-iw0-f198.google.com [209.85.223.198]) by mx1.freebsd.org (Postfix) with ESMTP id C65B28FC1B; Tue, 22 Dec 2009 16:40:45 +0000 (UTC) Received: by iwn36 with SMTP id 36so4384680iwn.3 for ; Tue, 22 Dec 2009 08:40:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=kN2Sc6jYgGtDJLhEWjn6hp9KJbSL02TIf0ZnLyh5HQg=; b=cPmTkVsu8G7wmG3lR9T6/Vr9fALwFm/XsCMKeAj0OTOCqPPMTfiBD1rUp5+PPmOwZ+ /1yw7qJ7DUEthBk5Zk5kGQ8L7X0xuEo+ffVjouMHzdI7ttpbejCl+cR6mu07uxMwk7Q3 yPBSrHYIYDNpb9q9M5CWQzBF0xtkIuEp06u/A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=GrobRPu3Ao8i8mlWPuM+knybehvoJ4be0qMwIN9esHUdXsoCZEzpIu7e5dYAfu0HBE a1vhCdVfbUA+W0o0Ntgj7b2Q8+KKO27S7dL6xyQVW89BuXnnj4ilk/KgP2ZtgP4o+MMo Yh89er39uriFCfNciDahEiXuac8cx3pTt1ZbA= MIME-Version: 1.0 Received: by 10.231.9.216 with SMTP id m24mr340095ibm.39.1261500045133; Tue, 22 Dec 2009 08:40:45 -0800 (PST) In-Reply-To: References: <4B2D4B53.1060503@FreeBSD.org> <1261487042.24529.15.camel@RabbitsDen> Date: Tue, 22 Dec 2009 11:40:45 -0500 Message-ID: From: "Alexandre \"Sunny\" Kovalenko" To: Hajimu UMEMOTO Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: quoted-printable Cc: Doug Barton , freebsd-current@freebsd.org Subject: Re: Systems running hot? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Dec 2009 16:40:46 -0000 On Tue, Dec 22, 2009 at 9:52 AM, Hajimu UMEMOTO wrote: > > Hi, > > >>>>> On Tue, 22 Dec 2009 08:04:02 -0500 > >>>>> "Alexandre \"Sunny\" Kovalenko" 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).