From owner-freebsd-questions Tue May 23 4:40:35 2000 Delivered-To: freebsd-questions@freebsd.org Received: from akademie3000.de (akademie3000.de [194.121.70.49]) by hub.freebsd.org (Postfix) with ESMTP id 4A11737BCBF for ; Tue, 23 May 2000 04:40:30 -0700 (PDT) (envelope-from andre@akademie3000.de) Received: from schlappy.mobile.tld ([12.128.176.73]) by akademie3000.de (8.9.2/8.9.2) with ESMTP id NAA18251; Tue, 23 May 2000 13:39:52 +0200 (CEST) Received: (from andre@localhost) by schlappy.mobile.tld (8.10.1/8.10.1) id e4MFo8K02309; Mon, 22 May 2000 17:50:08 +0200 (CEST) (envelope-from andre) Date: Mon, 22 May 2000 17:50:07 +0200 From: Andre Albsmeier To: Philipp Huber Cc: freebsd-questions@FreeBSD.ORG, johan.dahlberg@home.se Subject: Re: Temperatures Message-ID: <20000522175007.A2288@schlappy.mobile.tld> References: <200005210954.LAA20120@smtp2.home.se> <20000521121956.A293@alanis.mini.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000521121956.A293@alanis.mini.net>; from uebs@gmx.at on Sun, May 21, 2000 at 12:19:56PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 21-May-2000 at 12:19:56 +0200, Philipp Huber wrote: > On Sun, May 21, 2000 at 11:54:23AM +0200, johan.dahlberg@home.se wrote: > > Hello, > > I saw a page on www.freebsd.org that said that FreeBSD supports the HLT cpu instruction just as Linux does, but is this really true? I have done some tests proving that it just can't be true. With Linux (2.2.15) I got a cpu temperature of 31 degrees celsius and with FreeBSD I got 47 degrees celcius, the tests where done on the same computer at idle state. Do I have to activate the HLT instruction on FreeBSD or something? The system I tested temperatures on was an Abit BP6 with dual celeron 500MHz cpu's. I tested the temperatures with a regular thermometer since I've never really trusted those built in sensors. ;) > > you need to add the following option in your kernel config file: > > options CPU_SUSP_HLT > Hmm, isn't that a different thing? Johan said that his machine was in an idle state. But when looking at LINT, CPU_SUSP_HLT seems to do something different: # CPU_SUSP_HLT enables suspend on HALT. If this option is set, CPU # enters suspend mode following execution of HALT instruction. # Also, when looking at initcpu.c, CPU_SUSP_HLT seems to be available only for certain Cyrix processors. I think, what Johan wanted to know is: Does FreeBSD use the HLT instruction when idle'ing around? If yes, the CPU should be cooler than it is now... -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message