From owner-freebsd-current@FreeBSD.ORG Wed Jun 16 06:43:14 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7D8116A4CE; Wed, 16 Jun 2004 06:43:14 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52D3A43D39; Wed, 16 Jun 2004 06:43:14 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.11/8.12.11) with ESMTP id i5G6fmJx085048; Wed, 16 Jun 2004 02:41:49 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i5G6fmud085045; Wed, 16 Jun 2004 02:41:48 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Wed, 16 Jun 2004 02:41:48 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Julian Elischer In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-threads@freebsd.org cc: mike cc: freebsd-current@freebsd.org Subject: Re: Possible Threading problem with -CURRENT / MySQL? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2004 06:43:14 -0000 On Wed, 16 Jun 2004, Robert Watson wrote: > On Wed, 16 Jun 2004, Robert Watson wrote: > > > Netperf-UP-giant 4902.41 14.3 > > Netperf-SMP-giant 2566.18 16.83 > > Netperf-UP-mpsafe 4799.35 22.04 > > Netperf-SMP-mpsafe 3022.51 18.06 > > FYI, when I add ADAPTIVE_MUTEXES on this box, the mean of 3000 q/s goes > to 4000 q/s on the netperf+smp+mpsafenet number. > > I'm off to bed now, but it seems like (at least in the HTT > configuration), it makes a big difference. I'll run the remainder of > that set with ADAPTIVE_MUTEXES tomorrow as well. And switching to 4BSD from ULE takes the mean to 6426 q/s when combined with netperf, smp, debug.mpsafenet=1, and adaptive mutexes. (Keeping in mind that this mysql benchmark is basically an inter-thread/process kernel IPC benchmark using UNIX domain sockets, since the workload is fairly minimal in userspace, this makes reasonable sense). Now I'm really going to bed. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research