From owner-freebsd-current@FreeBSD.ORG Sat Feb 4 16:21:16 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90A7616A445 for ; Sat, 4 Feb 2006 16:21:16 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80CAB44583 for ; Sat, 4 Feb 2006 16:00:33 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.3/8.13.3) with ESMTP id k14FxEN6012900; Sat, 4 Feb 2006 08:59:14 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sat, 04 Feb 2006 08:59:17 -0700 (MST) Message-Id: <20060204.085917.129781502.imp@bsdimp.com> To: ivoras@fer.hr From: "M. Warner Losh" In-Reply-To: <43E45BD8.7070708@fer.hr> References: <17379.56708.421007.613310@grasshopper.cs.duke.edu> <43E45BD8.7070708@fer.hr> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Sat, 04 Feb 2006 08:59:14 -0700 (MST) Cc: gallatin@cs.duke.edu, current@freebsd.org Subject: Re: machdep.cpu_idle_hlt and SMP perf? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2006 16:21:20 -0000 In message: <43E45BD8.7070708@fer.hr> Ivan Voras writes: : Andrew Gallatin wrote: : > Why dooes machdep.cpu_idle_hlt=1 drop my 10GbE network rx : > performance by a considerable amount (7.5Gbs -> 5.5Gbs)? : : For what it's worth, here are results of unixbench's "context1" : benchmark on an old P3 SMP with and without cpu_idle_hlt (6-stable): When ACPI CPU states were coming into the tree, there was discussion that they had been invented to provide a lower energy idle as well as a faster transition from the idle state to something else. I think that these benchmarks show this effect rather dramatically. Warner