Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2001 13:58:55 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   RE: cvs commit: src/sys/alpha/alpha mp_machdep.c
Message-ID:  <XFMail.010425135855.jhb@FreeBSD.org>
In-Reply-To: <XFMail.010425103124.jhb@FreeBSD.org>

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

On 25-Apr-01 John Baldwin wrote:
> 
> On 25-Apr-01 John Baldwin wrote:
>> jhb         2001/04/25 10:24:57 PDT
>> 
>>   Modified files:
>>     sys/alpha/alpha      mp_machdep.c 
>>   Log:
>>   - Make the dumping of console messages from the secondary CPU's to the
>>     kernel console be #ifdef DIAGNOSTIC.
>>   - Don't set ktr_mask in release_aps().
> 
> Unfortunately, top of the tree still panic's (kind of cute when two cpu's
> panic
> at the exact same time and clobber each other's panic messages.).  I'm
> working
> on smp.patch next which doesn't panic but changes many things.  I'm still
> trying to figure out why each CPU is doling out 115% of p_cpticks for each
> schedcpu() update.

Well, it turns out that on the dual 300 21164, the overhead of witness and
invariants (probably mostly witness) delays schedcpu() enough that p_cpticks
can end up as high as 146 for a second even though stathz is 128.  Turning off
witness made this go away.  :(  Anyways, I'll be posting my smp.patch which is
known to work on both UP and SMP alpha and x86.  In fact, for the alpha we can
even run an SMP kernel on UP machines, so for 5.0 we should be able to enable
SMP in GENERIC if that is desired.  I'll post a URL and description of the
patch to -smp shortly.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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