From owner-freebsd-questions@freebsd.org Fri Nov 18 13:03:49 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7C276C48D00 for ; Fri, 18 Nov 2016 13:03:49 +0000 (UTC) (envelope-from eduardo.lemosdesa@gmail.com) Received: from mail-it0-x22b.google.com (mail-it0-x22b.google.com [IPv6:2607:f8b0:4001:c0b::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 41A77185 for ; Fri, 18 Nov 2016 13:03:49 +0000 (UTC) (envelope-from eduardo.lemosdesa@gmail.com) Received: by mail-it0-x22b.google.com with SMTP id y23so29733738itc.0 for ; Fri, 18 Nov 2016 05:03:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=6aB1DqSx4cC8XhRgoirsQsAehWH8qxfotEqHtNr3H/4=; b=RSPQbjn3SuxaV013Ht21D+njzqhmg9/G9rmm2z7lkRr5BJKuFPJf5vsGJnkSPZkVWX K9S/1zkbygGDLTvTtT1u6bT7pP8Y+dVX6wphiUQZNdgpO8CsQZ+rLVsBz5iVRPYGVd1J OvIjMkqJhvPfTgCC4zJ6YdwTvCcUOuzn7KhgRwUiD2Vvnmqz4+oforpSZKw4v5Y46sOb WJl9I4ORPQqyitu3Vq9yymfOnhWEiSom2Ort4UaR8CvXe74edKwbgOA+0QDPsaVEA04E 0EblOwu3RMI+tklUvWWUsYABSlNlb+Qteu6Al6n2QlMGe43e/O8+H2BWzfITY+5/ufw8 PoBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=6aB1DqSx4cC8XhRgoirsQsAehWH8qxfotEqHtNr3H/4=; b=BM94L//a+wJSoY/mGY3ZpEgrvqgzA8qZfXAW3jEgqjWI+oYLtKNAkn2H6myNADjNl6 /LTWriCQ92nMuaEdcw46OdC03fwoTuTz1E83erR3zDWD+2uf4MJPppf2oRqNFPHGXJ5u LutC/WLaiS3fcgcGRi/cF2/RJYeoqdX6ieaPukSf7jT3Wi/4OwmdzJZT5Cqjnuz+OgNc t9o+YYU0jyx3j3ij50ThNFmcCj45DzqE5aJd4LaGh2ax2n+gK5OmcXjO3WFwcbAKsTvg PXjNgg9CLOkZAfscn0uCaEpCIdV3p6E9lVGbEMPDdO0nXD3hUQUQQp5TH6dgRTRYqQQd eBMg== X-Gm-Message-State: AKaTC03ZFXgmE+SbSaNRsRydWQck4bJZ79MtWQZAdOW95wtHHF+dZQuFX2cO1v5v+cupGBYXZgXLX9XsdKPtig== X-Received: by 10.107.134.26 with SMTP id i26mr8220847iod.182.1479474228318; Fri, 18 Nov 2016 05:03:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.32.4 with HTTP; Fri, 18 Nov 2016 05:03:47 -0800 (PST) In-Reply-To: <20161118115801.4ef94f0d.freebsd@edvax.de> References: <20161118101752.GA39102@gmail.com> <20161118115801.4ef94f0d.freebsd@edvax.de> From: Eduardo Lemos de Sa Date: Fri, 18 Nov 2016 11:03:47 -0200 Message-ID: Subject: Re: how long does a make buildworld normally take? To: Polytropon Cc: Matt Smith , "Christoph P.U. Kukulies" , "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2016 13:03:49 -0000 Dear On Fri, Nov 18, 2016 at 8:58 AM, Polytropon wrote: > On Fri, 18 Nov 2016 10:17:52 +0000, Matt Smith wrote: > > On Nov 18 10:38, Christoph P.U. Kukulies wrote: > > >how long does a make buildworld normally take? > > >Has make buildworld time constant over the years? > > > > > > > > >In 1995 "make world" on a Pentium Pro about 18 hours > > >On my 4GB, CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ > > >(1995.64-MHz 686-class CPU) > > >make buildworld took about 18 hours. Well that CPU isn't the latest > > >either (10 Years or so) > > > > > > > 18 hours?! On my current home-server which is an Intel Atom D525 1.8ghz > > it only takes 5 hours. And these are not known for being fast at all. > > Allow me to quote from a message I wrote in 2008, in order to > illustrate technical progress by collectingg several build times > for different world and kernel configurations. > > FreeBSD 5 on Pentium 4 with 2 GHz and 1 GB RAM: > > b.world+b.kern: 17494.415u 2562.134s 5:46:42.25 96.4% (with CFLAGS) > 17474.169u 2481.368s 5:46:30.40 95.9% (without CLFAGS) > 5608.712u 1595.130s 2:13:18.67 90.0% > 6382.185u 1788.433s 2:26:36.06 92.8% > buildworld: 5086.993u 1431.086s 1:58:16.33 91.8% > 11457.047u 2151.158s 3:54:15.31 96.8% > buildkernel 2326.380u 234.457s 43:42.15 97.6% > 1102.491u 278.194s 25:18.58 90.9% > 1182.203u 294.622s 26:12.71 93.9% > 1518.402u 310.741s 34:16.96 88.9% > 3289.368u 529.669s 1:05:25.90 97.2% > installkernel: 5.718u 6.898s 0:30.97 40.6% > 6.655u 7.389s 0:32.08 43.7% > 6.994u 7.734s 0:33.19 44.3% > > (...software advance happens here...) > > FreeBSD 7 on Pentium 4 with 2 GHz and 1 GB RAM: > > b.world+b.kern: 16574.070u 2516.128s 6:06:03.90 86.9% (with debug) > 18232.967u 2427.404s 7:19:49.24 78.2% (with debug) > 18992.839u 2569.146s 9:12:00.28 65.1% > buildworld: 11457.047u 2151.158s 3:54:15.31 96.8% > buildkernel: 3289.368u 529.669s 1:05:25.90 97.2% > 3503.732u 524.399s 1:11:05.53 94.4% > 4032.019u 572.636s 1:58:29.08 64.7% (with debug) > installkernel: 17.396u 12.587s 0:46.89 63.9% > 18.890u 12.131s 1:11.85 43.1% > > As you can see, 5 hours was a possible value on a single-core > single-threat slow-as-ass CPU. But then the system became more > advanced, and 7 - 9 hours compile time became possible. :-) > > > > > In > > 1996 ish I was doing it on something like a pentium 75 and I think it > > still took about 5 hours. So you're right there! 18 hours seems way too > > long though. > > On my first FreeBSD machine, compiling world and kernel needed > approx. 24 hours. The kernel itself could be rebuilt in more or > less 6 hours. Today we have loadable modules. :-) > > > > > These days it compiles things like clang which take a very long time. > > But it also introduces optimization which the "old compilers" did > not provide, so by investing more build time, you get a better > runtime experience (programs run faster). Especially on limited > hardware, this is worth considering (like in ye olde days setting > several "strange" CFLAGS to make mplayer perform better). > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" > I found strange to spend 18, or even, 5 hours to finish a make buildworld. My desktop is certainly the faster for standart machines: hw.machine: amd64 hw.model: AMD FX(tm)-8320 Eight-Core Processor hw.ncpu: 8 hw.machine_arch: amd64 with 16 GB Ram (1333 MHz) and spend less than 2 hours: -------------------------------------------------------------- >>> World build started on Wed Nov 16 17:23:35 BRST 2016 -------------------------------------------------------------- -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- -------------------------------------------------------------- >>> World build completed on Wed Nov 16 19:07:33 BRST 2016 -------------------------------------------------------------- It is a FreeBSD-10.3-release, with a single processor (no parallel) I suggest you to check your procedure or even possible problems with your hard disk. My best wishes Eduardo --=20 Eduardo Lemos de Sa Associated Professor Level 4 Dep. Quimica da Universidade Federal do Paran=C3=A1 fone: +55(41)3361-3300 fax: +55(41)3361-3186