From owner-freebsd-stable Fri Feb 28 11:25: 6 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8089037B401 for ; Fri, 28 Feb 2003 11:25:05 -0800 (PST) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1635D43FE5 for ; Fri, 28 Feb 2003 11:25:01 -0800 (PST) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2653.19) id ; Fri, 28 Feb 2003 14:25:00 -0500 Message-ID: From: Don Bowman To: 'Steve Grandi' , freebsd-stable@freebsd.org Subject: RE: hyperthreading in STABLE: should machdep.cpu_idle_hlt be on? Date: Fri, 28 Feb 2003 14:24:50 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: Steve Grandi [mailto:grandi@noao.edu] > I've brought up STABLE on a Supermicro X5DPR-8G2+ motherboard > which has > two 2.4GHz Xeons. In the BIOS setup, I disabled > hyperthreading. The BIOS > even prints out a nice message during the POST that hyperthreading is > disabled. > > The BIOS setting notwithstanding, STABLE fires up hyperthreading and > presents me with 4 cpus! > > OK, I will go with the flow: but what is the current wisdom about > machdep.cpu_idle_hlt? Should I set it to 1 to avoid a loss > of performance > and to avoid frying the box? On that motherboard, with our application, we've found that enabling hlt=1 will drop 0.1A of power on the inlet, or about ~12W (going from 2.15A to 2.05A). Our performance increased approx 7% for the same network-centric application, YMMV. We use hyperthreading enabled in the BIOS, and an SMP kernel, it has proven to increase performance in our application. --don To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message