cvs commit: src/sys/kern kern_descrip.c

Jeff Roberson jroberson at chesapeake.net
Tue Jul 3 21:28:19 UTC 2007


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
>


More information about the cvs-src mailing list