From owner-freebsd-current@FreeBSD.ORG Tue May 9 18:14:01 2006 Return-Path: X-Original-To: current@freebsd.org 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 743F316A7CE; Tue, 9 May 2006 18:14:01 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1820343D60; Tue, 9 May 2006 18:13:48 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id EDCDF1A3C26; Tue, 9 May 2006 11:13:47 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id DBEA85161D; Tue, 9 May 2006 14:13:46 -0400 (EDT) Date: Tue, 9 May 2006 14:13:46 -0400 From: Kris Kennaway To: Sven Petai Message-ID: <20060509181346.GA92714@xor.obsecurity.org> References: <20060506150622.C17611@fledge.watson.org> <200605090335.00451.hadara@bsd.ee> <20060509004203.GA55852@xor.obsecurity.org> <200605091818.12676.hadara@bsd.ee> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rwEMma7ioTxnRzrJ" Content-Disposition: inline In-Reply-To: <200605091818.12676.hadara@bsd.ee> User-Agent: Mutt/1.4.2.1i Cc: current@freebsd.org, freebsd-performance@freebsd.org, David Xu , Kris Kennaway Subject: Re: Fine-grained locking for POSIX local sockets (UNIX domain sockets) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 09 May 2006 18:14:02 -0000 --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 09, 2006 at 06:18:11PM +0300, Sven Petai wrote: > On Tuesday 09 May 2006 03:42, Kris Kennaway wrote: > > On Tue, May 09, 2006 at 03:34:59AM +0300, Sven Petai wrote: > > > > Hmm, with this patch mysql 4.1 seems to crash at startup. I haven't > > > > yet had time to investigate. Is anyone else seeing this? > > > > > > Seems to run fine here with 4.1.18 on amd64, but doesn't seem to make > > > much difference though. > > > > > > I ran the tests again on the 8 core machine with and without rwatsons > > > patch and this time with 6 tests for each setting and generated graph= s: > > > http://bsd.ee/~hadara/debug/mysql4/stats.html > > > > > > thr + select smack dynamics with the patch really do look quite > > > interesting > > > > > > PS > > > I'm currently running testround with rwatsons patch + > > > http://people.freebsd.org/~csjp/kern_descrip.c.1145074052.diff + mys= qld > > > change davidxu suggested. > > > Are there any other patches out there that I should try ? > > > > Sorry, I meant > > http://people.freebsd.org/~csjp/sys.mpsafe.fileops.1145896495.diff > > instead of that patch. Also try turning down HZ to 100, and changing > > the wakeup()s to wakeup_one() in sys/filedesc.h. >=20 > I preformed additional tests with the settings you suggested, > updated graphs are available @ > http://bsd.ee/~hadara/debug/mysql4/stats.html Very useful, thanks! I imagine we'll be discussing this issue in detail at bsdcan over the next few days. Kris --rwEMma7ioTxnRzrJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEYNvaWry0BWjoQKURAoPnAJwLYQ2hNGmzTk0gawpiAJH6DNlZ2QCfXUrH kUCY7+YBsQkUYDproOht5q4= =K+Wk -----END PGP SIGNATURE----- --rwEMma7ioTxnRzrJ--