On Monday, 5 December 2022 06:30:22 GMT Walter Dnes wrote:
> On Wed, Nov 30, 2022 at 01:50:02PM +0100, Jochen Kirchner wrote
> 
> > this is my make.conf: (its a web - and mail server)
> > 
> > MAKEOPTS="-j17 -l17"
> 
>   Ouch!!!  How much ram do you have on that machine?  The Gentoo install
> handbook has a dire warning at...
> 
> https://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Installation#MAKEOPTS
> 
> ...that you need approx 2 gigabytes free ram for each increment in
> "MAKEOPTS".
> 
> > * Warning
> > Using a large number of jobs can significantly impact memory
> > consumption. A good recommendation is to have at least 2 GiB of RAM
> > for every job specified (so, e.g. -j6 requires at least 12 GiB). To
> > avoid running out of memory, lower the number of jobs to fit the
> > available memory.
> 
>   If you have a fancy-schmancy "desktop environment" allow another 3 or
> 4 Gigs, especially if you're simultaneously running Chrome or
> calculating large spreadsheets or processing large documents.  For
> "MAKEOPTS=-j17" you'll need at least 36-to-40 gigabytes.

Well, I've seen that warning, and I run a plasma desktop, but I set  -j48 --
jobs=48 --load-average=72 without noticeable swapping in this 64GB, 24-core 
Ryzen 9 5900X machine. The one exception is qtwebengine, which wants 48GB 
for itself.

-- 
Regards,
Peter.




Reply via email to