Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Feb 2003 16:23:28 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        freebsd-smp@FreeBSD.ORG, "Paul J. White" <pjwhite@electrongate.com>
Subject:   RE: cvs commit: src/sys/i386/i386 mp_machdep.c
Message-ID:  <XFMail.20030203162328.jhb@FreeBSD.org>
In-Reply-To: <XFMail.20030203132234.jhb@FreeBSD.org>

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

On 03-Feb-2003 John Baldwin wrote:
> 
> On 03-Feb-2003 Paul J. White wrote:
>> I have been running with this patch for a couple of days now, and though I 
>> did notice a small increase in speed (running seti@home), I have had two 
>> complete system freezes so far.  The screen freezes, with no response to 
>> keyboard, no response to telnet from another machine.  Prior to patching I 
>> have not experienced this problem at all.
>> 
>> The machine is a dual Pentium Pro (200MHz) PR440FX, running 4.7-RELEASE.
>> I typically run two instances of setiathome, XFree86 4.2, and XScreensaver.
> 
> Hmm, ok.  That is not good. :(  I'll look at it and see if I can isolate
> the freezes to a particular part of the change.

Actually, can you try reverting the changes to mplock.s and running with
just the changes to simplelock.s and see if it still freezes?

>> -- Paul White
>> 
>> At 17:19 2003-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 <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
>> 
>> 
>> 
>> To Unsubscribe: send mail to majordomo@FreeBSD.org
>> with "unsubscribe freebsd-smp" in the body of the message
> 
> -- 
> 
> 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

-- 

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.20030203162328.jhb>