Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 2003 17:19:34 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        smp@FreeBSD.org
Subject:   RE: cvs commit: src/sys/i386/i386 mp_machdep.c
Message-ID:  <XFMail.20030131171934.jhb@FreeBSD.org>
In-Reply-To: <XFMail.20030130114117.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <jhb@FreeBSD.org>  <><  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030131171934.jhb>