From owner-freebsd-current Thu Nov 30 18:18:12 2000 Delivered-To: freebsd-current@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 14D0637B400 for ; Thu, 30 Nov 2000 18:18:11 -0800 (PST) Received: from laptop.baldwin.cx (john@dhcp246.osd.bsdi.com [204.216.28.246]) by pike.osd.bsdi.com (8.11.1/8.9.3) with ESMTP id eB12HxC81800 for ; Thu, 30 Nov 2000 18:17:59 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200012010011.eB10B0h35323@freefall.freebsd.org> Date: Thu, 30 Nov 2000 18:18:20 -0800 (PST) From: John Baldwin To: current@FreeBSD.org Subject: RE: cvs commit: src/sys/sys mutex.h src/sys/kern kern_mutex.c Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 -- 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