Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2007 14:27:51 -0700 (PDT)
From:      Jeff Roberson <jroberson@chesapeake.net>
To:        Jeff Roberson <jeff@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern kern_descrip.c
Message-ID:  <20070703142714.F552@10.0.0.1>
In-Reply-To: <200707032126.l63LQ7ea027929@repoman.freebsd.org>
References:  <200707032126.l63LQ7ea027929@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070703142714.F552>