Date: Wed, 04 May 2011 13:57:53 +0200 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-stable@freebsd.org Subject: Re: Is machdep.cpu_idle_hlt deprecated? Message-ID: <iprf02$j90$1@dough.gmane.org> In-Reply-To: <201105021356.49585.jkim@FreeBSD.org> References: <20110501042028.GA87381@icarus.home.lan> <20110502154849.0000746b@unknown> <201105021356.49585.jkim@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 02/05/2011 19:56, Jung-uk Kim wrote: > On Monday 02 May 2011 10:48 am, Bruce Cran wrote: >> On Sat, 30 Apr 2011 21:20:28 -0700 >> >> Jeremy Chadwick<freebsd@jdc.parodius.com> wrote: >>> Anyone know if machdep.cpu_idle_hlt still exists? Taken from >>> acpi(4) on RELENG_8: >> >> It looks like it might have been replaced by machdep.idle: >> >> machdep.idle: currently selected idle function >> machdep.idle_available: list of available idle functions >> >> machdep.idle: acpi >> machdep.idle_available: spin, hlt, acpi, > > It seems "machdep.cpu_idle_hlt" was deprecated long ago with this > commit by jeff (CC'ed): > > http://svnweb.freebsd.org/base?view=revision&revision=178471 How likely is this to affect real-world performance on e.g. a busy web server? As the comments say, the "fastest" are spin and mwait and the slowest is acpi, which is also the default. I have no reference point for what "fast" and "slow" mean in this context :)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?iprf02$j90$1>