From owner-freebsd-stable@FreeBSD.ORG Wed Nov 14 20:36:50 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0D3616A418; Wed, 14 Nov 2007 20:36:50 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id AA7F313C481; Wed, 14 Nov 2007 20:36:50 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 2BC631A4D81; Wed, 14 Nov 2007 12:36:50 -0800 (PST) Date: Wed, 14 Nov 2007 12:36:50 -0800 From: Alfred Perlstein To: Kris Kennaway Message-ID: <20071114203650.GX8950@elvis.mu.org> References: <20071114183957.GA65223@eos.sc1.parodius.com> <473B5598.7040800@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <473B5598.7040800@FreeBSD.org> User-Agent: Mutt/1.4.2.3i Cc: Jeremy Chadwick , FreeBSD Stable , Claus Guttesen Subject: Re: impressive buildworld time X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2007 20:36:50 -0000 * Kris Kennaway [071114 12:07] wrote: > Jeremy Chadwick wrote: > >On Wed, Nov 14, 2007 at 05:56:16PM +0100, Claus Guttesen wrote: > >>Hi. > >> > >>Just installed a new DL360 with 8 cores at 2.33 Ghz and 8 GB ram and > >>15K rpm sas-disks. When I installed the beta2 from cd 'make -j 9 > >>buildworld' took approx. 20 min. After a recompile of userland and > >>kernel and switch to ULE it went down to: > >> > >>>>>World build completed on Wed Nov 14 17:44:08 CET 2007 > >>-------------------------------------------------------------- > >>3552.428u 1298.485s 16:15.89 497.0% 6156+1325k 25257+8117io 3368pf+0w > >> > >>Not very scientific and only one run but none the less my fastest > >>buildworld time ever on FreeBSD. :-) > > > >Congrats! :-) 16 minutes is really impressive... > > > >Our 2.13GHz C2D 6420 boxes w/ 2GB RAM can do this in about 19 minutes > >flat (using ULE scheduler). Disks are 7200rpm SATA300. make -j2 used; > >and this was RELENG_6. > > > >The reason I like the buildworld "benchmark" is because it's a fairly > >real-world test and not something specific to just one piece of how > >a machine behaves (e.g. memory benchmark, disk benchmark, CPU benchmark, > >etc.). > > It's not a good SMP benchmark though, because large parts are entirely > single-threaded, and other large parts do not parallelize beyond more > than a couple of CPUs. Also it is entirely incomparable between > different versions of the source tree. I think an interesting SoC project would be to write something that would be able to sort of glue together all the makefiles under directories and teach make how to build a dep graph such that for example all of usr.bin could be built in parallel. We'd need some syntactic sugar to explicitly state which recurive makes could be run in parallel and hopefully figure out a way to avoid actually forking make(1) but instead do something like maintain multiple copies of the state. -- - Alfred Perlstein