Re: [gentoo-user] Jobs and load-average

2023-04-11 Thread Peter Humphrey
On Wednesday, 15 February 2023 09:56:22 BST Peter Humphrey wrote: > Hello list, > > Not long ago I read that we should allow 2GB RAM for every emerge job - that > is, we should divide our RAM size by 2 to get the maximum number of > simultaneous jobs. I'm trying to get that right, but I'm not

RE: [gentoo-user] Jobs and load-average

2023-02-16 Thread Laurence Perkins
> -Original Message- > From: Rich Freeman > Sent: Thursday, February 16, 2023 6:24 AM > To: gentoo-user@lists.gentoo.org > Subject: Re: [gentoo-user] Jobs and load-average > > On Thu, Feb 16, 2023 at 8:39 AM Peter Humphrey wrote: > > > > I've just

Re: [gentoo-user] Jobs and load-average

2023-02-16 Thread Andreas Fink
On Thu, 16 Feb 2023 09:24:08 -0500 Rich Freeman wrote: > On Thu, Feb 16, 2023 at 8:39 AM Peter Humphrey wrote: > > > > I've just looked at 'man make', from which it's clear that -j = --jobs, and > > that both those and --load-average are passed to /usr/bin/make, presumably > > untouched unless

Re: [gentoo-user] Jobs and load-average

2023-02-16 Thread Rich Freeman
On Thu, Feb 16, 2023 at 8:39 AM Peter Humphrey wrote: > > I've just looked at 'man make', from which it's clear that -j = --jobs, and > that both those and --load-average are passed to /usr/bin/make, presumably > untouched unless portage itself has identically named variables. So I wonder > how

Re: [gentoo-user] Jobs and load-average

2023-02-16 Thread Peter Humphrey
On Thursday, 16 February 2023 12:23:52 GMT Rich Freeman wrote: --->8 Much useful detail. That all makes perfect sense, and is what I'd assumed, but it's good to have it confirmed. > The load average setting is definitely useful and I would definitely > set it, but when the issue is swapping it

Re: [gentoo-user] Jobs and load-average

2023-02-16 Thread Rich Freeman
On Thu, Feb 16, 2023 at 5:32 AM Andreas Fink wrote: > > On Thu, 16 Feb 2023 09:53:30 + > Peter Humphrey wrote: > > > Yes, I was aware of that, but why didn't --load-average=32 take precedence? > This only means that emerge would not schedule additional package job > (where a package job

Re: [gentoo-user] Jobs and load-average

2023-02-16 Thread Andreas Fink
On Thu, 16 Feb 2023 09:53:30 + Peter Humphrey wrote: > On Wednesday, 15 February 2023 13:18:24 GMT Rich Freeman wrote: > > > First, keep in mind that --jobs=16 + -j16 can result in up to 256 > > (16*16) tasks running at once. Of course, that is worst case and most > > of the time you'll

Re: [gentoo-user] Jobs and load-average

2023-02-16 Thread Peter Humphrey
On Wednesday, 15 February 2023 13:18:24 GMT Rich Freeman wrote: > First, keep in mind that --jobs=16 + -j16 can result in up to 256 > (16*16) tasks running at once. Of course, that is worst case and most > of the time you'll have way less than that. Yes, I was aware of that, but why didn't

Re: [gentoo-user] Jobs and load-average

2023-02-15 Thread J. Roeleveld
On Wednesday, February 15, 2023 10:56:22 AM CET Peter Humphrey wrote: > Hello list, > > Not long ago I read that we should allow 2GB RAM for every emerge job - that > is, we should divide our RAM size by 2 to get the maximum number of > simultaneous jobs. I'm trying to get that right, but I'm not

Re: [gentoo-user] Jobs and load-average

2023-02-15 Thread Peter Humphrey
On Wednesday, 15 February 2023 15:12:28 GMT Michael wrote: > You can have both a generic MAKEOPTS in make.conf, which suits your base > case of emerge operations and will not cause your PC to explode when > combined with EMERGE_DEFAULT_OPTS, as well as package specific MAKEOPTS in > package.env

Re: [gentoo-user] Jobs and load-average

2023-02-15 Thread Michael
On Wednesday, 15 February 2023 14:31:25 GMT Peter Humphrey wrote: > On Wednesday, 15 February 2023 13:18:24 GMT Rich Freeman wrote: > > On Wed, Feb 15, 2023 at 4:56 AM Peter Humphrey > > wrote: > > > Not long ago I read that we should allow 2GB RAM for every emerge job - > > > that is, we should

Re: [gentoo-user] Jobs and load-average

2023-02-15 Thread Peter Humphrey
On Wednesday, 15 February 2023 13:18:24 GMT Rich Freeman wrote: > On Wed, Feb 15, 2023 at 4:56 AM Peter Humphrey wrote: > > Not long ago I read that we should allow 2GB RAM for every emerge job - > > that is, we should divide our RAM size by 2 to get the maximum number of > > simultaneous jobs.

Re: [gentoo-user] Jobs and load-average

2023-02-15 Thread Rich Freeman
On Wed, Feb 15, 2023 at 4:56 AM Peter Humphrey wrote: > > Not long ago I read that we should allow 2GB RAM for every emerge job - that > is, we should divide our RAM size by 2 to get the maximum number of > simultaneous jobs. I'm trying to get that right, but I'm not there yet. > > I have these

Re: [gentoo-user] Jobs and load-average

2023-02-15 Thread Michael
On Wednesday, 15 February 2023 11:31:49 GMT Peter Böhm wrote: > Am Mittwoch, 15. Februar 2023, 10:56:22 CET schrieb Peter Humphrey: > > Hello list, > > > > Not long ago I read that we should allow 2GB RAM for every emerge job - > > that is, we should divide our RAM size by 2 to get the maximum

Re: [gentoo-user] Jobs and load-average

2023-02-15 Thread Peter Humphrey
On Wednesday, 15 February 2023 09:56:22 GMT Peter Humphrey wrote: > EMERGE_DEFAULT_OPTS="--jobs=16 --load-average=32 --autounmask=n --quiet- > unmerge-warn --ke> That should have been: EMERGE_DEFAULT_OPTS="--jobs=16 --load-average=32 --autounmask=n --quiet- unmerge-warn --keep-going

Re: [gentoo-user] Jobs and load-average

2023-02-15 Thread Peter Böhm
Am Mittwoch, 15. Februar 2023, 10:56:22 CET schrieb Peter Humphrey: > Hello list, > > Not long ago I read that we should allow 2GB RAM for every emerge job - that > is, we should divide our RAM size by 2 to get the maximum number of > simultaneous jobs. I'm trying to get that right, but I'm not

[gentoo-user] Jobs and load-average

2023-02-15 Thread Peter Humphrey
Hello list, Not long ago I read that we should allow 2GB RAM for every emerge job - that is, we should divide our RAM size by 2 to get the maximum number of simultaneous jobs. I'm trying to get that right, but I'm not there yet. I have these entries in make.conf: EMERGE_DEFAULT_OPTS="--jobs=16