Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-29 Thread Mick
On Thursday 28 Mar 2013 14:03:27 Peter Humphrey wrote: On Wednesday 27 March 2013 18:16:22 Walter Dnes wrote: OK, I'll go with... MAKEOPTS=-j2 --load-average=3 This box is an i5 with four single-threaded CPUs and I limit the average load to 8. Since emerge is running at niceness=3

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-29 Thread Neil Bothwick
On Fri, 29 Mar 2013 12:36:56 +, Mick wrote: I've got a first generation i7 and this is what I have set up in my make.conf: MAKEOPTS=-j5 -l12.8 EMERGE_DEFAULT_OPTS=--quiet-build=n n is the default for quiet-build if --jobs is set to 1, or unspecified. But using a higher value will

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-29 Thread Stroller
On 29 March 2013, at 03:36, Nilesh Govindrajan wrote: ... I can only imagine he was pointing out that you have a single CPU with four cores in it. You're right, of course. I should have said /cores/. Cores or CPUs.. in this context it's *almost*, __NOT EXACTLY__ same. Which is exactly

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-28 Thread Peter Humphrey
On Wednesday 27 March 2013 18:16:22 Walter Dnes wrote: OK, I'll go with... MAKEOPTS=-j2 --load-average=3 This box is an i5 with four single-threaded CPUs and I limit the average load to 8. Since emerge is running at niceness=3 the desktop remains responsive throughout. I used not to

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-28 Thread Stroller
On 28 March 2013, at 14:03, Peter Humphrey wrote: ... This box is an i5 with four single-threaded CPUs … Your usage of the term CPUs is making me twitch.

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-28 Thread Peter Humphrey
On Thursday 28 March 2013 19:28:47 Stroller wrote: On 28 March 2013, at 14:03, Peter Humphrey wrote: ... This box is an i5 with four single-threaded CPUs … Your usage of the term CPUs is making me twitch. What would you have said? And it wasn't usage, it was use. -- Peter

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-28 Thread Mateusz Kowalczyk
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29/03/13 00:40, Peter Humphrey wrote: On Thursday 28 March 2013 19:28:47 Stroller wrote: On 28 March 2013, at 14:03, Peter Humphrey wrote: ... This box is an i5 with four single-threaded CPUs … Your usage of the term CPUs is making me

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-28 Thread Peter Humphrey
On Friday 29 March 2013 01:24:48 Mateusz Kowalczyk wrote: I can only imagine he was pointing out that you have a single CPU with four cores in it. You're right, of course. I should have said /cores/. -- Peter

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-28 Thread Nilesh Govindrajan
On Fri, Mar 29, 2013 at 7:29 AM, Peter Humphrey pe...@humphrey.ukfsn.org wrote: On Friday 29 March 2013 01:24:48 Mateusz Kowalczyk wrote: I can only imagine he was pointing out that you have a single CPU with four cores in it. You're right, of course. I should have said /cores/. --

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-27 Thread Walter Dnes
On Tue, Mar 26, 2013 at 08:34:29AM +, Neil Bothwick wrote On Mon, 25 Mar 2013 23:01:30 -0400, Walter Dnes wrote: Running MAKEOPTS=-j1 as default on a multi-core processor seems an awful waste of resources, unless it is needed for something else, in which case I don't run emerge at

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-27 Thread gottlieb
On Tue, Mar 26 2013, Neil Bothwick wrote: On Tue, 26 Mar 2013 20:43:25 +0530, Nilesh Govindrajan wrote: It's better to limit the number of jobs to 2*CPUs (or cores) with a load control like --load-average=N where N is number of CPUs. I have two i7-3520Ms. Each has hyperthreading so counts

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-27 Thread Nilesh Govindrajan
On Wed, Mar 27, 2013 at 7:50 PM, gottl...@nyu.edu wrote: On Tue, Mar 26 2013, Neil Bothwick wrote: On Tue, 26 Mar 2013 20:43:25 +0530, Nilesh Govindrajan wrote: It's better to limit the number of jobs to 2*CPUs (or cores) with a load control like --load-average=N where N is number of CPUs.

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-27 Thread Walter Dnes
On Wed, Mar 27, 2013 at 08:07:06PM +0530, Nilesh Govindrajan wrote @Walter, I'm also on a dual core machine, and as per my observation over long emerges, load doesn't cross 2.2. I have also observed that if it is limited to 2, system seems to be under utilized, because make checks the 1

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-27 Thread Michael Hampicke
Am 26.03.2013 22:40, schrieb Neil Bothwick: On Tue, 26 Mar 2013 21:58:29 +0100, Michael Hampicke wrote: 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

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-27 Thread Neil Bothwick
On Wed, 27 Mar 2013 19:54:39 +0100, Michael Hampicke wrote: emerge @module-rebuild seems to work just fine on my machine. Thx for the tip, I did not know of this @set @x11-module-rebuild is worth knowing about too :) -- Neil Bothwick Fine day for a good workout. Steal something heavy.

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-26 Thread Neil Bothwick
On Mon, 25 Mar 2013 23:01:30 -0400, Walter Dnes wrote: Running MAKEOPTS=-j1 as default on a multi-core processor seems an awful waste of resources, unless it is needed for something else, in which case I don't run emerge at all. Running around for a few hours trying to replicate an

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-26 Thread Neil Bothwick
On Mon, 25 Mar 2013 22:29:00 -0400, gottl...@nyu.edu wrote: % cat /etc/portage/package.env/libreoffice app-office/libreoffice j4.conf % cat /etc/portage/env/j4.conf MAKEOPTS=-j4 I see. Clever. Do you file bugs when you need to restrict MAKEOPTS? If I need to restrict it to

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-26 Thread Nilesh Govindrajan
On Tue, Mar 26, 2013 at 2:04 PM, Neil Bothwick n...@digimed.co.uk wrote: On Mon, 25 Mar 2013 22:29:00 -0400, gottl...@nyu.edu wrote: % cat /etc/portage/package.env/libreoffice app-office/libreoffice j4.conf % cat /etc/portage/env/j4.conf MAKEOPTS=-j4 I see. Clever. Do you file

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-26 Thread Neil Bothwick
On Tue, 26 Mar 2013 20:43:25 +0530, Nilesh Govindrajan wrote: I'd done this experiment sometime ago, and I had sent a mail here as well regarding which load average does make account for. A couple of packages started failing compile and it turns out that they don't work well with the infinite

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-26 Thread Michael Hampicke
Am 25.03.2013 23:32, schrieb Neil Bothwick: On Mon, 25 Mar 2013 23:27:04 +0100, Michael Hampicke wrote: 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

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-26 Thread Neil Bothwick
On Tue, 26 Mar 2013 21:58:29 +0100, Michael Hampicke wrote: 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

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-25 Thread Neil Bothwick
On Mon, 25 Mar 2013 16:57:09 -0400, gottl...@nyu.edu wrote: 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

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-25 Thread Michael Hampicke
Am 25.03.2013 21:57, schrieb gottl...@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

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-25 Thread Neil Bothwick
On Mon, 25 Mar 2013 23:27:04 +0100, Michael Hampicke wrote: 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

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-25 Thread gottlieb
On Mon, Mar 25 2013, Michael Hampicke wrote: Am 25.03.2013 21:57, schrieb gottl...@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

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-25 Thread gottlieb
On Mon, Mar 25 2013, Neil Bothwick wrote: On Mon, 25 Mar 2013 16:57:09 -0400, gottl...@nyu.edu wrote: 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

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-25 Thread Dale
gottl...@nyu.edu wrote: Also I am somewhat surprised you can run libreoffice with MAKEOPTS=-j4. I seem to remember that being one of the ones I had to degrade. Thanks for the tip, I will use it. allan I update libreoffice whenever it needs it and I have this setting: MAKEOPTS=-j16 It hasn't

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-25 Thread gottlieb
On Mon, Mar 25 2013, Dale wrote: gottl...@nyu.edu wrote: Also I am somewhat surprised you can run libreoffice with MAKEOPTS=-j4. I seem to remember that being one of the ones I had to degrade. Thanks for the tip, I will use it. allan I update libreoffice whenever it needs it and I have

Re: [gentoo-user] Is 'MAKEOPTS=--jobs --load-average=5' silly?

2013-03-25 Thread Walter Dnes
On Mon, Mar 25, 2013 at 10:25:58PM +, Neil Bothwick wrote Running MAKEOPTS=-j1 as default on a multi-core processor seems an awful waste of resources, unless it is needed for something else, in which case I don't run emerge at all. Running around for a few hours trying to replicate an