From owner-freebsd-current Mon Mar 3 11:47:14 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 9C85A37B401 for ; Mon, 3 Mar 2003 11:47:12 -0800 (PST) Received: from silver.he.iki.fi (silver.he.iki.fi [193.64.42.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4ABA843FAF for ; Mon, 3 Mar 2003 11:47:09 -0800 (PST) (envelope-from pete@he.iki.fi) Received: from PHE (silver.he.iki.fi [193.64.42.241]) by silver.he.iki.fi (8.12.6/8.11.4) with SMTP id h23Jl3DT099527; Mon, 3 Mar 2003 21:47:04 +0200 (EET) (envelope-from pete@he.iki.fi) Message-ID: <0c9101c2e1bd$aa9a1b50$932a40c1@PHE> From: "Petri Helenius" To: "Trish Lynch" Cc: References: <20030303142353.C830-100000@femme> Subject: Re: hype(r)threading Date: Mon, 3 Mar 2003 21:47:02 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 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 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? 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