From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 555E2138010 for ; Tue, 26 Mar 2013 02:23:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 55EB1E0778; Tue, 26 Mar 2013 02:23:17 +0000 (UTC) Received: from smtp.cs.nyu.edu (SMTP.CS.NYU.EDU [128.122.49.97]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0CABAE05EB for ; Tue, 26 Mar 2013 02:23:15 +0000 (UTC) Received: from newlap.localdomain (ool-182de1a5.dyn.optonline.net [24.45.225.165]) (authenticated bits=0) by smtp.cs.nyu.edu (8.14.3/8.14.4) with ESMTP id r2Q2NCCi029478 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 25 Mar 2013 22:23:15 -0400 (EDT) Received: by newlap.localdomain (Postfix, from userid 1000) id 25FC6A0063; Mon, 25 Mar 2013 22:23:12 -0400 (EDT) From: gottlieb@nyu.edu To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Is 'MAKEOPTS="--jobs --load-average=5"' silly? References: <87sj3jw63e.fsf@nyu.edu> <5150CF38.80402@hadt.biz> Date: Mon, 25 Mar 2013 22:23:12 -0400 In-Reply-To: <5150CF38.80402@hadt.biz> (Michael Hampicke's message of "Mon, 25 Mar 2013 23:27:04 +0100") Message-ID: <87txnyucfj.fsf@nyu.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) 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 Content-Type: text/plain X-Archives-Salt: 6ce57016-91d7-4a64-bdb5-f6258b42f400 X-Archives-Hash: a67e205cfdcc3c16e7e3fc933befa0a2 On Mon, Mar 25 2013, Michael Hampicke wrote: > Am 25.03.2013 21:57, schrieb gottlieb@nyu.edu: >> For a long time I have had in make.conf >> >> EMERGE_DEFAULT_OPTS="--ask --deep --tree --verbose --jobs --load-average=5" >> MAKEOPTS="--jobs --load-average=5" >> >> (for previous processors the 5 was 3). >> >> It seems that this configuration fails for several packages (or tickles >> bugs in their ebuilds/Makefiles). >> >> Lately whenever a build fails I change to >> >> MAKEOPTS="--jobs=1" >> >> and this very often "fixes" the problem. >> >> It is not clear that any time saved by having jobs=5 compensates for >> having to redo builds. So my question is do people >> >> 1. keep jobs=1 in MAKEOPTS >> 2. have jobs=n in MAKEOPTS but degrade on error as I do >> 3. have jobs=n and file bugs when it fails. >> >> thanks, >> allan >> >> PS I do not change EMERGE_DEFAULT_OPTS >> > > This is what I use: > EMERGE_DEFAULT_OPTS="--jobs=2 --load-average=6" > > I havent't had any failed builds that were related to the --jobs option. > The only exception is when rebuilding my kernel modules. I have to build > spl first, then zfs-kmod. But that's because zfs-kmod requires a > complete built spl. I don't change EMERGE_DEFAULT_OPTS either. What I change is MAKEOPTS. That is, I always permit portage to run two emerges in parallel. I am considering telling make to not run different parts of one emerge in parallel. allan