Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Nov 2000 18:18:20 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        current@FreeBSD.org
Subject:   RE: cvs commit: src/sys/sys mutex.h src/sys/kern kern_mutex.c
Message-ID:  <XFMail.001130181820.jhb@FreeBSD.org>
In-Reply-To: <200012010011.eB10B0h35323@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 01-Dec-00 John Baldwin wrote:
> jhb         2000/11/30 16:11:00 PST
> 
>   Modified files:
>     sys/sys              mutex.h 
>     sys/kern             kern_mutex.c 
>   Log:
>   Split the WITNESS and MUTEX_DEBUG options apart so that WITNESS does not
>   depend on MUTEX_DEBUG.  The MUTEX_DEBUG option turns on extra assertions
>   and checks to verify that mutexes themselves are implemented properly.
>   The WITNESS option uses extra checks and diagnostics to verify that other
>   code is using mutexes properly.

Removing MUTEX_DEBUG and only using WITNESS provided a very noticable
performance increase on the quad xeon I have here for testing for I/O bound
operations.  Before, trying to do a cvs update would end up with cvs having 7s
of user time nad 9000s of system time, now it is back down to more sane
boundaries.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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