From owner-freebsd-smp Fri Jan 31 14:19:33 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 C312237B401 for ; Fri, 31 Jan 2003 14:19:31 -0800 (PST) Received: from mail.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE91E43F3F for ; Fri, 31 Jan 2003 14:19:30 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 8918 invoked from network); 31 Jan 2003 22:19:39 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 31 Jan 2003 22:19:39 -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 h0VMJSUT073232; Fri, 31 Jan 2003 17:19:29 -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: Date: Fri, 31 Jan 2003 17:19:34 -0500 (EST) From: John Baldwin To: John Baldwin Subject: RE: cvs commit: src/sys/i386/i386 mp_machdep.c Cc: smp@FreeBSD.org 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 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