From owner-freebsd-stable@FreeBSD.ORG Mon Feb 10 15:55:14 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 49A1ED2C for ; Mon, 10 Feb 2014 15:55:14 +0000 (UTC) Received: from mail-la0-x22f.google.com (mail-la0-x22f.google.com [IPv6:2a00:1450:4010:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C46051A51 for ; Mon, 10 Feb 2014 15:55:13 +0000 (UTC) Received: by mail-la0-f47.google.com with SMTP id hr17so4915214lab.34 for ; Mon, 10 Feb 2014 07:55:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=NdkxfiPM5WZquh2eenrHvnEsUKEPIkRU1ykIP05j5R0=; b=mBG5a4GEm4p1U51gJ380fP4AYYx5v3oySnWxiVWGVIn6FtIIs2irjcpmjLSoHr4W6C EIUg/aj9qs0mARbw//zIYOi6J9asSL9xP6v9c0Fb3EUiPZGoZsq+IkXYvy6kq2y0I39N T0/0zu5vPFcLBi/I8svMB4t41BvbIKKJmyNFFQWQK9bPTB1BEAriakakAxUwgW7gHLn5 aYaTrVE1KUbN65CPs0/1DVdHe58wIYwAcaUfkLQ7F0tAK5vQ7Mdf8sKnwp4IF/3wtgYq 2B7z9AYv/IheW4BtBArXlMXiXDqRKlmmifyR5eqRhW+DXHBM3eKq4n0iid56X2sz8Kw3 KE4Q== MIME-Version: 1.0 X-Received: by 10.152.205.197 with SMTP id li5mr1822851lac.50.1392047711895; Mon, 10 Feb 2014 07:55:11 -0800 (PST) Received: by 10.112.0.205 with HTTP; Mon, 10 Feb 2014 07:55:11 -0800 (PST) In-Reply-To: <52F84AF8.8050007@tundraware.com> References: <52F84AF8.8050007@tundraware.com> Date: Mon, 10 Feb 2014 15:55:11 +0000 Message-ID: Subject: Re: And Here I Thought buildworld/makeworld Was IO Bound From: Tom Evans To: Tim Daneliuk Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Feb 2014 15:55:14 -0000 On Mon, Feb 10, 2014 at 3:43 AM, Tim Daneliuk wrote: > For some years now, I have been doing nightly builds of -STABLE > on an old Pentium D machine with 2G of memory. Buildworld + 2 > different kernels was taking in the neighborhood of 3 1/2 hours or so > to run. > > I then upgraded the Mobo/CPU to a Haswell Quadcore I5-4570 and, sure > enough, the build time for all the above came down to 30-35 mins or so. > > "So", says I, "I'll bet a faster drive would help considering all the > scribbling to the disk the compilers and makes do". So, I upgdared to > a Kingston SSD Now 300, 120G hard drive and he time to do the above > went down to .... wait, it's still about 30-35 mins ???? > > So, I've tried fiddling with different values for -j on the make > command line to little avail. Well, -j8 and -j16 show no real > difference here. > > So is the bounding function here actually CPU not IO? Am I missing > something? > > Thanks, > > P.S. Trying now with no -j arg on make invocation. Does poudriere buildworld on tmpfs if you have USE_TMPFS=all? That might give you an absolute baseline. I was astounded how fast poudriere builds ports, if you build ports from source and haven't switched your ports upgrade routine to build packages with poudriere, well, you're really missing out. Cheers Tom