From owner-freebsd-current Mon Mar 3 11:54:21 2003 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 472AA37B401 for ; Mon, 3 Mar 2003 11:54:19 -0800 (PST) Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97D8743FE0 for ; Mon, 3 Mar 2003 11:54:18 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 25255 invoked from network); 3 Mar 2003 19:54:24 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 3 Mar 2003 19:54:24 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id h23JpxhT042206; Mon, 3 Mar 2003 14:51:59 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <0c9101c2e1bd$aa9a1b50$932a40c1@PHE> Date: Mon, 03 Mar 2003 14:54:32 -0500 (EST) From: John Baldwin To: Petri Helenius Subject: Re: hype(r)threading Cc: freebsd-current@FreeBSD.ORG, Trish Lynch Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 03-Mar-2003 Petri Helenius wrote: > After some reading around I ended up putting a return; on top of > the mptable_hyperthread_fixup function and my performance is back. > Setting the sysctl helps some but it does not really fix the performance issues. > > I would like to make the suggestion of making the HT "fixup" maybe a default > but allow disabling with a kernel variable? I'm going to add a 'HTT' kernel option that I'll backport prior to 4.8. > Pete > > On Mon, 3 Mar 2003, Petri Helenius wrote: > >> >> I seem to want to quite the opposite what other people would like to happen, >> we have a supermicro P4DPR board with two Xeon´s. Since lately the kernel seems to >> want to launch the virtual cores regardless of BIOS setting of HyperThreading being >> [Disabled]. >> >> Any ideas how to disable the cores since our workload is does not benefit from >> having more than two cores in a machine. >> >> Pete >> > > Currently, AFAIK, there is no way to do this. > > Depending on what you are doing you can increase performance slightly by > setting machdep.cpu_idle_hlt=1 > > -Trish > > -- > Trish Lynch trish@bsdunix.net > Ecartis Core Team trish@listmistress.org > EFNet IRC Operator @ efnet.demon.co.uk AilleCat@EFNet > EFNet IRC Operator/SysAdmin @ irc.dkom.at Aille_AT@EFNet > Key fingerprint = 781D 2B47 AA4B FC88 B919 0CD6 26B2 1D62 6FC1 FF16 > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message