1 |
On Wednesday, February 15, 2023 10:56:22 AM CET Peter Humphrey wrote: |
2 |
> Hello list, |
3 |
> |
4 |
> Not long ago I read that we should allow 2GB RAM for every emerge job - that |
5 |
> is, we should divide our RAM size by 2 to get the maximum number of |
6 |
> simultaneous jobs. I'm trying to get that right, but I'm not there yet. |
7 |
> |
8 |
> I have these entries in make.conf: |
9 |
> EMERGE_DEFAULT_OPTS="--jobs=16 --load-average=32 --autounmask=n --quiet- |
10 |
> unmerge-warn --ke> |
11 |
> MAKEOPTS="-j16" |
12 |
> |
13 |
> Today, though, I saw load averages going up to 72. Can anyone suggest better |
14 |
> values to suit my 24 threads and 64GB RAM? |
15 |
|
16 |
One other item I missed in the replies: |
17 |
"--load-average" is also a valid option for make. |
18 |
|
19 |
If you want to keep the load down, I would suggest adding this to MAKEOPTS as |
20 |
well: |
21 |
|
22 |
MAKEOPTS="--jobs=16 --load-average=32" |
23 |
|
24 |
I write the options out full because I had some weird errors in the past |
25 |
because the "-j" wasn't handled correctly at some point. |
26 |
|
27 |
-- |
28 |
Joost |