From owner-freebsd-current@FreeBSD.ORG Tue May 9 00:42:07 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 0FDA316A411; Tue, 9 May 2006 00:42:07 +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 BA0C743D45; Tue, 9 May 2006 00:42:06 +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 91FF91A3C1F; Mon, 8 May 2006 17:42:06 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C176D515DC; Mon, 8 May 2006 20:42:03 -0400 (EDT) Date: Mon, 8 May 2006 20:42:03 -0400 From: Kris Kennaway To: Sven Petai Message-ID: <20060509004203.GA55852@xor.obsecurity.org> References: <20060506150622.C17611@fledge.watson.org> <200605081843.31825.davidxu@freebsd.org> <20060508184322.GA49344@xor.obsecurity.org> <200605090335.00451.hadara@bsd.ee> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BXVAT5kNtrzKuDFl" Content-Disposition: inline In-Reply-To: <200605090335.00451.hadara@bsd.ee> User-Agent: Mutt/1.4.2.1i Cc: freebsd-performance@freebsd.org, Kris Kennaway , David Xu , current@freebsd.org 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 00:42:07 -0000 --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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? > > >=20 > Seems to run fine here with 4.1.18 on amd64, but doesn't seem to make muc= h=20 > difference though. >=20 > I ran the tests again on the 8 core machine with and without rwatsons pat= ch=20 > and this time with 6 tests for each setting and generated graphs: > http://bsd.ee/~hadara/debug/mysql4/stats.html >=20 > thr + select smack dynamics with the patch really do look quite interesti= ng >=20 > PS > I'm currently running testround with rwatsons patch +=20 > http://people.freebsd.org/~csjp/kern_descrip.c.1145074052.diff + mysqld= =20 > change davidxu suggested.=20 > 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. A mutex profiling trace from the 8 core machine will also be very interesting. Kris --BXVAT5kNtrzKuDFl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEX+VbWry0BWjoQKURAgm/AKD2YwlrftVlpb7kN7QeIQIJKl2bmACg78i2 abDlSzbEkADZRGjNfX8iNk0= =5TPT -----END PGP SIGNATURE----- --BXVAT5kNtrzKuDFl--