Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 May 2000 11:09:09 -0700 (PDT)
From:      Allan Saddi <asaddi@philosophysw.com>
To:        Andre Albsmeier <andre@akademie3000.de>
Cc:        Philipp Huber <uebs@gmx.at>, freebsd-questions@FreeBSD.ORG, johan.dahlberg@home.se
Subject:   Re: Temperatures
Message-ID:  <Pine.BSF.4.21.0005231103350.72381-100000@web2.sea.nwserv.com>
In-Reply-To: <20000522175007.A2288@schlappy.mobile.tld>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 22 May 2000, Andre Albsmeier wrote:

> 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...

I found this in sys/i386/i386/swtch.s:

  ENTRY(default_halt)
          sti
  #ifndef SMP
          hlt                                     /* XXX:  until a wakeup IPI */
  #endif
          ret

So it appears Ben Smithurst was correct. Under FreeBSD SMP, both CPUs are
always running at full speed.

-- 
Allan Saddi                         "The Earth is the cradle of mankind,
asaddi@philosophysw.com              but we cannot live in the cradle
http://www.philosophysw.com/asaddi/  forever." - K.E. Tsiolkovsky



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?Pine.BSF.4.21.0005231103350.72381-100000>