From owner-freebsd-current@FreeBSD.ORG Wed Jan 28 10:58:39 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B26216A4CE; Wed, 28 Jan 2004 10:58:39 -0800 (PST) Received: from lakemtao08.cox.net (lakemtao08.cox.net [68.1.17.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C40243D1D; Wed, 28 Jan 2004 10:58:34 -0800 (PST) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.11]) by lakemtao08.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040128185833.VUWW2412.lakemtao08.cox.net@mezz.mezzweb.com>; Wed, 28 Jan 2004 13:58:33 -0500 To: Jeremy Messenger References: <20040127082106.L14045@farside.isc.org> <200401271334.07761.jhb@FreeBSD.org> <200401271420.05240.Peter_Losher@isc.org> <200401281243.10655.jhb@FreeBSD.org> Message-ID: From: Jeremy Messenger Content-Type: text/plain; format=flowed; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Wed, 28 Jan 2004 12:57:42 -0600 In-Reply-To: User-Agent: Opera7.23/Linux M2 build 518 cc: current@freebsd.org cc: John Baldwin cc: Peter Losher Subject: Re: spin lock panic in 5.2-REL X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2004 18:58:39 -0000 On Wed, 28 Jan 2004 12:50:43 -0600, Jeremy Messenger wrote: > On Wed, 28 Jan 2004 12:43:10 -0500, John Baldwin wrote: > >> On Tuesday 27 January 2004 05:19 pm, Peter Losher wrote: >>> On Tuesday 27 January 2004 10:34 am, John Baldwin wrote: >>> > This is a very hard to debug problem. If WITNESS is on it provides >>> more >>> > useful information that can help track that down, but I wouldn't >>> expect a >>> > production machine to be using WITNESS. >>> >>> Yes, I was running a kernel for a short while w/ INVARIANTS and >>> WITNESS, >>> but it was basically useless after a couple of hours under load under >>> the >>> giant lock. How much of a performance hit is just WITNESS? >> >> A lot. I think Robert Watson has seen as high a performance impact as >> 40%. > > I have played with the bytebench few days ago, just for fun... This > machine that I played is 464Mhz and 386mb ram; it uses libkse and ULE I mean, 384---------------------------^^^ > (four days ago -CURRENT). > > W/OUT-DEBUG = Remove all debug options from kernel and set > /etc/malloc.conf->aj.. > > ================================= > --W/-DEBUG-- -W/OUT-DEBUG- > Dhrystone 2 without register variables 1105081.4 lps 1097325.0 lps > Dhrystone 2 using register variables 1100857.8 lps 1109398.3 lps > Arithmetic Test (type = arithoh) 2076290.3 lps 2086816.9 lps > Arithmetic Test (type = register) 125288.4 lps 126051.2 lps > Arithmetic Test (type = short) 125818.8 lps 126406.5 lps > Arithmetic Test (type = int) 125481.3 lps 126101.5 lps > Arithmetic Test (type = long) 125293.6 lps 126067.5 lps > Arithmetic Test (type = float) 145203.2 lps 146956.6 lps > Arithmetic Test (type = double) 145017.1 lps 145718.5 lps > System Call Overhead Test 11830.6 lps 109590.1 lps > Pipe Throughput Test 20572.7 lps 96916.4 lps > Pipe-based Context Switching Test 6856.2 lps 25128.9 lps > Process Creation Test 155.1 lps 865.2 lps > Execl Throughput Test 62.7 lps 261.0 lps > File Read (10 seconds) 40538.0 KBps 246172.0 KBps > File Write (10 seconds) 7033.0 KBps 11565.0 KBps > File Copy (10 seconds) 4907.0 KBps 12555.0 KBps > File Read (30 seconds) 40688.0 KBps 246785.0 KBps > File Write (30 seconds) 7022.0 KBps 11343.0 KBps > File Copy (30 seconds) 4763.0 KBps 12400.0 KBps > C Compiler Test 187.1 lpm 327.1 lpm > Shell scripts (1 concurrent) 98.0 lpm 623.6 lpm > Shell scripts (2 concurrent) 50.6 lpm 326.3 lpm > Shell scripts (4 concurrent) 26.0 lpm 168.0 lpm > Shell scripts (8 concurrent) 13.0 lpm 82.0 lpm > Dc: sqrt(2) to 99 decimal places 5299.0 lpm 31721.7 lpm > Recursion Test--Tower of Hanoi 11543.3 lps 11618.8 lps > > > INDEX VALUES ---------W/-DEBUG--------- > --------W/OUT-DEBUG------- > TEST BASELINE RESULT INDEX > BASELINE RESULT INDEX > > Arithmetic Test (type = double) 2541.7 145017.1 57.1 > 2541.7 145718.5 57.3 > Dhrystone 2 without register variables 22366.3 1105081.4 49.4 > 22366.3 1097325.0 49.1 > Execl Throughput Test 16.5 62.7 3.8 > 16.5 261.0 15.8 > File Copy (30 seconds) 179.0 4763.0 26.6 > 179.0 12400.0 69.3 > Pipe-based Context Switching Test 1318.5 6856.2 5.2 > 1318.5 25128.9 19.1 > Shell scripts (8 concurrent) 4.0 13.0 3.2 > 4.0 82.0 20.5 > ========= > ========= > SUM of 6 items > 145.3 231.0 > AVERAGE > 24.2 38.5 > ================================= > > Cheers, > Mezz > > -- bsdforums.org 's moderator, mezz.