From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RUcMT-0007ks-Gu for garchives@archives.gentoo.org; Sun, 27 Nov 2011 10:53:29 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2177821C0CF; Sun, 27 Nov 2011 10:53:21 +0000 (UTC) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 3032521C047 for ; Sun, 27 Nov 2011 10:52:19 +0000 (UTC) Received: by bkaq10 with SMTP id q10so8090551bka.40 for ; Sun, 27 Nov 2011 02:52:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=LZ+giA7duvvMUvVgQWgiyv0Qg5Q9vCUGf/MowddTt/Y=; b=UUb3Xhh0NjLf/BBnNHGbqsmkqQHg1MJ0UC4TnaNIM6oAumSkpSa990J+R7Ezm6k+l0 0gzESDLOQsZgf+vtxu4iZ7tp3Vh01lCKVNf/skMf9ntJlj8etKhJRWjAeATF66STvNwj NUS/+PX72XoepiqbQsUTlLH22g8qVQRacDNFY= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.204.0.82 with SMTP id 18mr22609651bka.86.1322391139028; Sun, 27 Nov 2011 02:52:19 -0800 (PST) Received: by 10.204.14.7 with HTTP; Sun, 27 Nov 2011 02:52:18 -0800 (PST) In-Reply-To: <19356.1322390348@ccs.covici.com> References: <201111270927.57294.michaelkintzios@gmail.com> <19356.1322390348@ccs.covici.com> Date: Sun, 27 Nov 2011 05:52:18 -0500 Message-ID: Subject: Re: [gentoo-user] emerge -j, make -j and make -l From: Michael Mol To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: ceb24c38-fef1-4803-93c4-a4ef7893f2a4 X-Archives-Hash: c099a6769232ce347b8cf86874e15de1 On Sun, Nov 27, 2011 at 5:39 AM, wrote: > Mick wrote: > >> On Saturday 26 Nov 2011 15:22:15 Michael Mol wrote: >> > I just wanted to share an experience I had today with optimizing paral= lel >> > builds after discovering "-l" for Make... >> > >> > I've got a little more tweaking I still want to do, but this is pretty >> > awesome... >> > >> > http://funnybutnot.wordpress.com/2011/11/26/optimizing-parallel-builds= / >> > >> > ZZ >> >> Thanks for sharing! =C2=A0How do you determine the optimum value for -l? > > How do you get emerge not to display number of jobs and load average -- The display is something emerge will show you if you've asked it to build in parallel (which you did, by passing -j to emerge. That's different from putting -j in MAKEOPTS.) > I only want to compile one at a time -- much safer that way and it is > doing that, It's likely only doing that because there isn't anything it can immediately build that doesn't have what it's *currently* working on as a build dependency. I noted in my blog post that emerge's parallelization has many of the same limitations as make's that's one of the things I was talking about; there can be linchpin and keystone packages which need to be built before many others. libc would be an example. gcc is a frequent example. > but now it displays all that load average and how many jobs, > etc. -- any way to get rid of that display? Forget the display; it sounds like you don't want emerge building in parallel. In that event, don't pass "-j" to emerge. The display will go away. --=20 :wq