From owner-cvs-all Wed Apr 25 13:59:57 2001 Delivered-To: cvs-all@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id C5C5137B422; Wed, 25 Apr 2001 13:59:46 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f3PKxYG15006; Wed, 25 Apr 2001 13:59:34 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 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: Wed, 25 Apr 2001 13:58:55 -0700 (PDT) From: John Baldwin To: John Baldwin Subject: RE: cvs commit: src/sys/alpha/alpha mp_machdep.c Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 -- 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