From owner-freebsd-smp Fri Jan 31 20:47:39 2003 Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AF3C37B4E2; Fri, 31 Jan 2003 20:47:36 -0800 (PST) Received: from willow.he.net (willow.he.net [216.218.240.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id C383543E4A; Fri, 31 Jan 2003 20:47:35 -0800 (PST) (envelope-from pjwhite@electrongate.com) Received: from bigfoot.electrongate.com (MAX6-Port74.Downtown.INFOMAGIC.NET [63.229.95.174]) by willow.he.net (8.8.6/8.8.2) with ESMTP id UAA02345; Fri, 31 Jan 2003 20:47:27 -0800 Message-Id: <5.0.2.1.2.20030131214118.01feeae0@willow.he.net> X-Sender: pjwhite@willow.he.net X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Fri, 31 Jan 2003 21:47:10 -0700 To: John Baldwin From: "Paul J. White" Subject: RE: cvs commit: src/sys/i386/i386 mp_machdep.c Cc: freebsd-smp@FreeBSD.ORG In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I applied this patch to my 4.7 RELEASE system, running on a dual Pentium Pro (PR440FX) system, and, so far, so good. Output from dmesg available upon request. I run two instances of seti@home on this machine, and after it's had time to run for a while, I'll report back on any improvements in processing speed, or problems that might come up. Thanks, Paul White At 17:19 03-01-31 -0500, John Baldwin wrote: >On 30-Jan-2003 John Baldwin wrote: > > > > On 30-Jan-2003 John Baldwin wrote: > >> jhb 2003/01/30 08:38:17 PST > >> > >> Modified files: (Branch: RELENG_4) > >> sys/i386/i386 mp_machdep.c > >> Log: > >> MFC: Basic support for Hyperthreading. This uses the values from > cpuid to > >> enmuerate logical CPUs. > >> > >> Requested heavily by: ps > > > > I highly recommend turning on machdep.cpu_idle_hlt for HTT boxes as it > > provides a noticable performance improvement. I'm still testing some > > other patches to rework the locking code in 4.x to make use of the pause > > instruction and be more intelligent about spinning on locks in general. > >Well, the pause instruction does seem to be helping considerably. I'd >like for people to test this patch on SMP machines running 4.x, not just >Pentium 4's with HT but P3's, PPro's, etc. as well. > >http://www.FreeBSD.org/~jhb/patches/htt.patch > >Thanks. > >-- > >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-smp" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message