From owner-freebsd-questions@FreeBSD.ORG Thu Feb 5 22:39:46 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1C0A47B0 for ; Thu, 5 Feb 2015 22:39:46 +0000 (UTC) Received: from maul.immure.com (108-84-10-9.lightspeed.austtx.sbcglobal.net [108.84.10.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D9B41934 for ; Thu, 5 Feb 2015 22:39:45 +0000 (UTC) Received: from rancor.immure.com ([10.1.132.9]) by maul.immure.com with esmtp (Exim 4.85 (FreeBSD)) (envelope-from ) id 1YJV5L-0002Xf-DS; Thu, 05 Feb 2015 16:39:44 -0600 Received: from rancor.immure.com (localhost [127.0.0.1]) by rancor.immure.com (8.14.9/8.14.9) with ESMTP id t15Mdhfx092819; Thu, 5 Feb 2015 16:39:43 -0600 (CST) (envelope-from bob@rancor.immure.com) Received: (from bob@localhost) by rancor.immure.com (8.14.9/8.14.9/Submit) id t15MdhRL092818; Thu, 5 Feb 2015 16:39:43 -0600 (CST) (envelope-from bob) Date: Thu, 5 Feb 2015 16:39:42 -0600 From: Bob Willcox To: Valeri Galtsev Message-ID: <20150205223942.GF90738@rancor.immure.com> Reply-To: Bob Willcox References: <201501081101.t08B1V2a010623@mech-as221.men.bris.ac.uk> <20150205215106.GE90738@rancor.immure.com> <63016.128.135.70.2.1423175559.squirrel@cosmo.uchicago.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <63016.128.135.70.2.1423175559.squirrel@cosmo.uchicago.edu> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 10.1.132.9 X-SA-Exim-Mail-From: bob@immure.com X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on maul.immure.com X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_RP_MATCHES_RCVD, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Subject: Re: buildworld in 45 min! X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on maul.immure.com) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2015 22:39:46 -0000 On Thu, Feb 05, 2015 at 04:32:39PM -0600, Valeri Galtsev wrote: > > On Thu, February 5, 2015 3:51 pm, Bob Willcox wrote: > > On Thu, Jan 08, 2015 at 03:01:41AM -0800, Anton Shterenlikht wrote: > >> I got a Sun Fire X4100 for 60 pounds off ebay: > >> > >> FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 > >> CPU: Dual-Core AMD Opteron(tm) Processor 2220 (2792.64-MHz K8-class CPU) > >> real memory = 17179869184 (16384 MB) > >> avail memory = 16595623936 (15826 MB) > >> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > >> FreeBSD/SMP: 2 package(s) x 2 core(s) > >> > >> It does buildworld -j8 in under 45 min. > >> That's really fast! > >> I'm used to 4 hour ia64 builds. > >> Time to move on perhaps... > >> > >> Anton > > > > Not trying to show anyone up (really), but you can just imagine how > > shocked I > > was when I first ran a buildworld on my current workstation system in 11 > > minutes! > > > > FreeBSD 10.1-STABLE #3 r277033: Sun Jan 11 17:07:24 CST 2015 > > CPU: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz (3300.07-MHz K8-class CPU) > > real memory = 34359738368 (32768 MB) > > avail memory = 33184337920 (31647 MB) > > FreeBSD/SMP: Multiprocessor System Detected: 12 CPUs > > FreeBSD/SMP: 1 package(s) x 6 core(s) x 2 SMT threads > > > > The latest run was 11:43 (looks like I'm losing a little ground). This is > > with -j12. > > I couple of times had notices incomplete build with -j16 (or whatever > those boxes allowed), ever since run buildworld as a single thread... > Maybe just me ;-) > > Valeri Hmm, I have had quite some success with parallel builds myself. However, I never bother to go beyond the number of logical CPUs in the system. When I did try that in the past it didn't seem to really speed things up all that much (if any). Bob > > > > > I can remember building 386bsd back in the early '90s on a 386 system and > > it taking > > just under 24 hours! :) > > > > > ++++++++++++++++++++++++++++++++++++++++ > Valeri Galtsev > Sr System Administrator > Department of Astronomy and Astrophysics > Kavli Institute for Cosmological Physics > University of Chicago > Phone: 773-702-4247 > ++++++++++++++++++++++++++++++++++++++++ -- Bob Willcox | You climb to reach the summit, but once bob@immure.com | there, discover that all roads lead down. Austin, TX | -- Stanislaw Lem, "The Cyberiad"