1 |
On Monday, 5 December 2022 06:30:22 GMT Walter Dnes wrote: |
2 |
> On Wed, Nov 30, 2022 at 01:50:02PM +0100, Jochen Kirchner wrote |
3 |
> |
4 |
> > this is my make.conf: (its a web - and mail server) |
5 |
> > |
6 |
> > MAKEOPTS="-j17 -l17" |
7 |
> |
8 |
> Ouch!!! How much ram do you have on that machine? The Gentoo install |
9 |
> handbook has a dire warning at... |
10 |
> |
11 |
> https://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Installation#MAKEOPTS |
12 |
> |
13 |
> ...that you need approx 2 gigabytes free ram for each increment in |
14 |
> "MAKEOPTS". |
15 |
> |
16 |
> > * Warning |
17 |
> > Using a large number of jobs can significantly impact memory |
18 |
> > consumption. A good recommendation is to have at least 2 GiB of RAM |
19 |
> > for every job specified (so, e.g. -j6 requires at least 12 GiB). To |
20 |
> > avoid running out of memory, lower the number of jobs to fit the |
21 |
> > available memory. |
22 |
> |
23 |
> If you have a fancy-schmancy "desktop environment" allow another 3 or |
24 |
> 4 Gigs, especially if you're simultaneously running Chrome or |
25 |
> calculating large spreadsheets or processing large documents. For |
26 |
> "MAKEOPTS=-j17" you'll need at least 36-to-40 gigabytes. |
27 |
|
28 |
Well, I've seen that warning, and I run a plasma desktop, but I set -j48 -- |
29 |
jobs=48 --load-average=72 without noticeable swapping in this 64GB, 24-core |
30 |
Ryzen 9 5900X machine. The one exception is qtwebengine, which wants 48GB |
31 |
for itself. |
32 |
|
33 |
-- |
34 |
Regards, |
35 |
Peter. |