Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 May 2000 17:50:07 +0200
From:      Andre Albsmeier <andre@akademie3000.de>
To:        Philipp Huber <uebs@gmx.at>
Cc:        freebsd-questions@FreeBSD.ORG, johan.dahlberg@home.se
Subject:   Re: Temperatures
Message-ID:  <20000522175007.A2288@schlappy.mobile.tld>
In-Reply-To: <20000521121956.A293@alanis.mini.net>; from uebs@gmx.at on Sun, May 21, 2000 at 12:19:56PM %2B0200
References:  <200005210954.LAA20120@smtp2.home.se> <20000521121956.A293@alanis.mini.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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