From owner-freebsd-amd64@FreeBSD.ORG Fri Oct 8 18:09:14 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC90116A4CE for ; Fri, 8 Oct 2004 18:09:14 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89F5743D48 for ; Fri, 8 Oct 2004 18:09:14 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 755F672DD4; Fri, 8 Oct 2004 11:09:14 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 7399072DCB; Fri, 8 Oct 2004 11:09:14 -0700 (PDT) Date: Fri, 8 Oct 2004 11:09:14 -0700 (PDT) From: Doug White To: NAKATA Maho In-Reply-To: <20041008.162841.135501207.chat95@mac.com> Message-ID: <20041008110814.V951@carver.gumbysoft.com> References: <20040912.120803.607953196.chat95@mac.com> <20041008.162841.135501207.chat95@mac.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-amd64@FreeBSD.org Subject: Re: KSE and SMP problem in FreeBSD/amd64 5.3BETA3, namely KSEdosen't make use of SMP. X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2004 18:09:14 -0000 On Fri, 8 Oct 2004, NAKATA Maho wrote: > > > Dear amd64 freaks, I noticed that there seems to be a bug > > > in KSE with SMP configuration. > > > > Were you using SCHED_4BSD or SCHED_ULE? > > Hello Doug, many thanks for your answer! > > This is SCHED_4BSD/SCHED_ULE issue. > SCHED_ULE doesn't make use of SMP. ATLAS make two threads (for example), > but these two threads is running on always *ONLY* one CPU. SCHED_ULE is certainly SMP aware, it just makes a bad choice for your application. :-) > I hope this is already fixed 6.0-CURRENT :) Possibly, although ULE is being largely abandonded for 4BSD since the ULE author has been short of time and noone's really stepped up to work on ULE. ULE has some cool ideas but it falls prey to reality :) -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org