From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1H6O1h-0005gp-09 for garchives@archives.gentoo.org; Mon, 15 Jan 2007 09:21:13 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id l0F9IUYW001041; Mon, 15 Jan 2007 09:18:30 GMT Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.228]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id l0F9IS6Q027827 for ; Mon, 15 Jan 2007 09:18:29 GMT Received: by wx-out-0506.google.com with SMTP id i30so2444170wxd for ; Mon, 15 Jan 2007 01:18:27 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=SCjZpOISk0xr+La+35Q+PseVLyddchGpUsvfO1nc68fN+PazAJV0UsRwl4IyjVPMbnFTwEC9KYMc2+M/LfFyGzFU/HkaRWs3UvFWYFQWdgCsfySN+QMkhlsU3qkr7T6bJyxGpDpfqbntXK3SjWwN+cwabFI8VVQqD++bj3JzIkM= Received: by 10.70.50.18 with SMTP id x18mr7540227wxx.1168852675156; Mon, 15 Jan 2007 01:17:55 -0800 (PST) Received: from ?192.168.11.100? ( [133.87.181.33]) by mx.google.com with ESMTP id i34sm8454093wxd.2007.01.15.01.17.52; Mon, 15 Jan 2007 01:17:53 -0800 (PST) Message-ID: <45AB46BC.2040402@gmail.com> Date: Mon, 15 Jan 2007 18:17:48 +0900 From: Toshinori Endo User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] MAKEOPTS values for Athlon 64 X2 References: <45AB1451.9010005@paulscrap.com> In-Reply-To: <45AB1451.9010005@paulscrap.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: af569268-1519-4b85-b988-2beff9d15038 X-Archives-Hash: ecbf33b88520b7edc749c3910fef1ce3 Hello PaulNM, PaulNM wrote: > Hey folks, > > I'm wondering if anyone has experimented with different values for > MAKEOPTS="-jx" on Athlon 64 X2's. The guides usually suggest # of > cores/processors plus one. Looking at "man make.conf" doesn't help > much, it just says "Suggested settings are between CPUs+1 and > 2*CPUs+1". The only thing "man make" mentions about the "-j" option > is "If the -j option is given without an argument, make will not > limit the number of jobs that can run simultaneously." I've also seen > some mentions of -j9 by people with dual core systems elsewhere, > indicating it drastically speed up some emerges. > > So this leaves me with several possibilities. There's -j3 (current > setting), -j5, -j (no limit), -j9, or some other random number. Any > suggestions/warnings/links would be appreciated. > > Thanks, > PaulNM > On my 4x Dual-Core Opteron system, -j9 actually worked as expected, but not as much on the other system with two CPUs. Is that what you want? Here is the story. The value of MAKEOPTS including -jx is passed to the `make' command so that x kid jobs at most can be executed. If 1+#CPU is given as the parameter, each CPU is assigned a single kid process because make command itself does have much to do while the kids are working hard. Giving the larger number just let them do extra job to switch among kids in expense of performance down. te -- gentoo-amd64@gentoo.org mailing list