Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2003 17:27:06 -0800
From:      Peter Wemm <peter@wemm.org>
To:        Lars Eggert <larse@ISI.EDU>
Cc:        Dmitry Morozovsky <marck@rinet.ru>, cvs-all@FreeBSD.ORG, Nate Lawson <njl@FreeBSD.ORG>
Subject:   Re: cvs commit: src/sys/dev/acpica acpi_cpu.c 
Message-ID:  <20030130012706.073622A89E@canning.wemm.org>
In-Reply-To: <3E2545E9.3080803@isi.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
Lars Eggert wrote:

> On Tue, 14 Jan 2003, Peter Wemm wrote:
> >
> > FWIW, we see a (measured) difference of about 50W on 2.2GHz P4's 
> > simply by turning machdep.cpu_idle_hlt on and off.  I expect the
> > clock throttling would make similar differences.  For 1U
> > rack-mount systems (especially in California) this is a Big Deal.
> 
> Since the AC in my office has a hard time with four new Dell SMPs, would 
> setting machdep.cpu_idle_hlt=1 translate to making them run cooler? They 
> have a pretty bursty workload, so many times they're idle, and sometimes 
> fully loaded - does the hlt setting affect performance?

This is a bit old, but it can cause a slight slowdown, because it may take
a little longer for a cpu to notice a job sitting on the run queue that it
could have been running.  Once it does a halt, it will stop checking until
the next interrupt (sometimes a clock, sometimes disk/net/etc).  This
usually works out to be a slight loss, but has been attributed to a slight
improvement in a couple of cases by causing less cache coherency bus
thrashing etc.  This however is highly dependent on the cpu bus
architecture.

It will cool things down somewhat, but *only when the machine is idle*.
If it is under full load for an hour or so, your AC will still need to be
able to deal with that.  But it will be a big win for less than maxed out
machines or bursty machines.

Cheers,
-Peter
--
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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