From owner-cvs-src@FreeBSD.ORG Tue Jul 3 21:28:19 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0844916A41F; Tue, 3 Jul 2007 21:28:19 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from webaccess-cl.virtdom.com (webaccess-cl.virtdom.com [216.240.101.25]) by mx1.freebsd.org (Postfix) with ESMTP id C528613C45B; Tue, 3 Jul 2007 21:28:18 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.101] (c-71-231-138-78.hsd1.or.comcast.net [71.231.138.78]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id l63LSGWx045304 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Tue, 3 Jul 2007 17:28:17 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Tue, 3 Jul 2007 14:27:51 -0700 (PDT) From: Jeff Roberson X-X-Sender: jroberson@10.0.0.1 To: Jeff Roberson In-Reply-To: <200707032126.l63LQ7ea027929@repoman.freebsd.org> Message-ID: <20070703142714.F552@10.0.0.1> References: <200707032126.l63LQ7ea027929@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_descrip.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2007 21:28:19 -0000 For the curious, these last two patches make a substantial improvement to mysql write performance on my 8way opteron: http://people.freebsd.org/~jeff/mysqlwrite.png The green line is without and the blue line is with. Thanks, Jeff On Tue, 3 Jul 2007, Jeff Roberson wrote: > jeff 2007-07-03 21:26:07 UTC > > FreeBSD src repository > > Modified files: > sys/kern kern_descrip.c > Log: > - Use explicit locking in the various fcntl case statements so that we > can acquire shared filedescriptor locks in the appropriate cases. > - Remove Giant from calls that issue ioctls. The ioctl path has been > mpsafe for some time now. > - Only acquire giant for VOP_ADVLOCK when the filesystem requires giant. > advlock is now mpsafe. > > Reviewed by: rwatson > Approved by: re > > Revision Changes Path > 1.312 +99 -64 src/sys/kern/kern_descrip.c >