From owner-freebsd-current@FreeBSD.ORG Thu Feb 1 20:03:01 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 137A016A405 for ; Thu, 1 Feb 2007 20:03:01 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outJ.internet-mail-service.net (outJ.internet-mail-service.net [216.240.47.233]) by mx1.freebsd.org (Postfix) with ESMTP id EA80413C4AA for ; Thu, 1 Feb 2007 20:02:56 +0000 (UTC) (envelope-from julian@elischer.org) Received: from shell.idiom.com (HELO idiom.com) (216.240.47.20) by out.internet-mail-service.net (qpsmtpd/0.32) with ESMTP; Thu, 01 Feb 2007 11:41:14 -0800 Received: from [192.168.2.5] (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 45C5F125F82; Thu, 1 Feb 2007 12:02:21 -0800 (PST) Message-ID: <45C2474C.3080909@elischer.org> Date: Thu, 01 Feb 2007 12:02:20 -0800 From: Julian Elischer User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: Andrew Gallatin References: <45C24113.7000608@elischer.org> <17858.17285.523377.837244@grasshopper.cs.duke.edu> In-Reply-To: <17858.17285.523377.837244@grasshopper.cs.duke.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Current Subject: Re: lock contention etc. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 01 Feb 2007 20:03:01 -0000 Andrew Gallatin wrote: > Julian Elischer writes: > > I'm guessing that the extra system time represents a lot of > > contention somewhere. > > > > What is the best way to get actual numbers on this? > > The Dtrace lockstat tool is designed for this, and I've used it to > track down contention like this on Solaris. It seems to be on the > TODO list for the FreeBSD Dtrace port at > http://people.freebsd.org/~jb/dtrace/todo.html. I wonder how soon it > will arrive.. It is one of the things that I'm most looking forward > to. > > Drew I just realised that since this is an HTT machine the massive increase in user and system times between -j2 and -j4 is probably due to every thing running slower but over twice as many cpus.. The increase between -j1 and -j2 is more relevant and interesting I think. make -j 2 buildworld 2465.10 real 2958.94 user 1918.64 sys 2463.97 real 2968.43 user 1910.65 sys 2472.13 real 2978.64 user 1912.80 sys 2582.83 real 2965.51 user 2047.19 sys make -j 4 buildworld 2262.88 real 4322.31 user 3333.58 sys 2255.88 real 4330.32 user 3319.48 sys 2256.09 real 4318.84 user 3336.57 sys 2257.63 real 4338.34 user 3313.07 sys