From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f171.google.com (mail-we0-f171.google.com [74.125.82.171]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 3E7D9201AF6 for ; Sun, 29 Apr 2012 18:59:41 -0700 (PDT) Received: by werf13 with SMTP id f13so3006310wer.16 for ; Sun, 29 Apr 2012 18:59:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=sswi8Ca07P3f9CI6sffZJGsMa5dm0sqQYrnxD8YE5Eg=; b=u7shmMEF/sm/V96KiYbSLPu99SG4V1sXzaw8VJvkXSoMyxUgNMDLVA1lU8QUBCQpRF Zf02sQ+Y0JPT1/QyftDGUPPduSMx8e+5x0FGB/s6w5XxkDpR2HbQ727GF9G3sRhlfLmh y7B1ZdBNIpFxjT+3seSCjXBlsdrLnuJIN+3chx0F7QIDfKfd/i3X7dTSTBrEm69mPIa5 iep2PR3XqmimwkrIVaArFBKo9c2J6tDSVrruXG7SQldHs/d2ABcWVkLGd2/Q0BLjVR+f JqD7Epb/x7NngQj6CxVS3nCrGEA2s0LPLhBmSaJj0jysMcGjT5lniZ7Z+UAZPvCjrowi DY8A== MIME-Version: 1.0 Received: by 10.180.83.72 with SMTP id o8mr17861799wiy.5.1335751177852; Sun, 29 Apr 2012 18:59:37 -0700 (PDT) Received: by 10.223.112.66 with HTTP; Sun, 29 Apr 2012 18:59:37 -0700 (PDT) In-Reply-To: References: Date: Sun, 29 Apr 2012 18:59:37 -0700 Message-ID: From: Dave Taht To: Outback Dingo Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: cerowrt-devel@lists.bufferbloat.net Subject: Re: [Cerowrt-devel] speeding up builds X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 01:59:41 -0000 On Sun, Apr 29, 2012 at 6:42 PM, Outback Dingo wro= te: > On Sun, Apr 29, 2012 at 8:15 PM, Dave Taht wrote: >> I finally acquired a machine with 32GB of ram, an intel 3930k (6 >> cores), and an SSD. >> >> I put the build_dir, /tmp and /var/tmp on ramdisks, and... >> >> This cut a complete cerowrt build (including toolchain) down from > >> 3.5 hrs down to under 45 minutes. >> >> Without the toolchain rebuild, but after a make clean (to rebuild the >> packages and kernel), it's about 28 minutes. >> >> I can see that it is possible to parallelize things more to maybe chop >> another 30% of of things... >> ...but I'm glad to have 3 hrs of my life back, per build. >> >> I wanted to figure out to what extent modern hardware would enhance >> the existing buildbot system. >> Now I know... > > odd my laptop will do a full build with tool chain in about an > hour..... its only a core i3 with 6gb and an ssd The best box that I had was huchra, a dual quad-core xeon circa 2006, with 8GB of memory and mirrored drives. A 'full build' of cero is 578 packages, some of which are rather big, as well as building the sdk and cross development kit. For comparison purposes, I just built linux-3.3.4 for ubuntu (so this includes the kpkg overhead) real 11m12.286s user 67m11.076s sys 7m19.955s I am puzzled. I end up with only 75MB for disk buffers, according to top, and I would assume that 25% of memory in this case would be good for disk buffers. I do like using ramdisks for this job, (why write to media unless you have to?) but it seems saner to have the disk cache, caching. > >> >> >> -- >> Dave T=E4ht >> SKYPE: davetaht >> US Tel: 1-239-829-5608 >> http://www.bufferbloat.net >> _______________________________________________ >> Cerowrt-devel mailing list >> Cerowrt-devel@lists.bufferbloat.net >> https://lists.bufferbloat.net/listinfo/cerowrt-devel --=20 Dave T=E4ht SKYPE: davetaht US Tel: 1-239-829-5608 http://www.bufferbloat.net