From owner-freebsd-current@FreeBSD.ORG Thu Feb 1 20:06:40 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 2494C16A405 for ; Thu, 1 Feb 2007 20:06:40 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 137D813C494 for ; Thu, 1 Feb 2007 20:06:39 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 5928E1A4D8C; Thu, 1 Feb 2007 12:06:39 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 7BCED5127C; Thu, 1 Feb 2007 15:06:27 -0500 (EST) Date: Thu, 1 Feb 2007 15:06:27 -0500 From: Kris Kennaway To: Julian Elischer Message-ID: <20070201200627.GA73677@xor.obsecurity.org> References: <45C24113.7000608@elischer.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="T4sUOijqQbZv57TR" Content-Disposition: inline In-Reply-To: <45C24113.7000608@elischer.org> User-Agent: Mutt/1.4.2.2i 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:06:40 -0000 --T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 01, 2007 at 11:35:47AM -0800, Julian Elischer wrote: > here's an intersting set of numbers.. >=20 > notice the increase in 'system time' for the same work done when there > is more parallelism. >=20 > make buildworld > 3762.94 real 2627.66 user 1275.78 sys > 3763.32 real 2632.04 user 1271.80 sys > 3763.34 real 2627.99 user 1276.39 sys > 3763.03 real 2632.50 user 1270.91 sys >=20 > 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 >=20 > 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 >=20 > (2 processors with HTT) (looks like 4 processors) > -current, sched_4bsd >=20 > I'm guessing that the extra system time represents a lot of > contention somewhere. >=20 > What is the best way to get actual numbers on this? LOCK_PROFILING. Kris --T4sUOijqQbZv57TR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFwkhDWry0BWjoQKURArpaAJ976RGJbWEhtIBPTaX2IfElxRMqQwCg5RDY SG1C6+Fe/gMBhcJEXDCWaSY= =75p7 -----END PGP SIGNATURE----- --T4sUOijqQbZv57TR--