From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E9C7C158020 for ; Mon, 5 Dec 2022 08:21:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AA25AE07F9; Mon, 5 Dec 2022 08:21:39 +0000 (UTC) Received: from smarthost01c.ixn.mail.zen.net.uk (smarthost01c.ixn.mail.zen.net.uk [212.23.1.22]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6CCA4E07E0 for ; Mon, 5 Dec 2022 08:21:39 +0000 (UTC) Received: from [82.69.80.10] (helo=wstn.localnet) by smarthost01c.ixn.mail.zen.net.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p26jJ-00060H-Tg for gentoo-user@lists.gentoo.org; Mon, 05 Dec 2022 08:21:37 +0000 From: Peter Humphrey To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: btop fails to compile Date: Mon, 05 Dec 2022 08:21:37 +0000 Message-ID: <5911054.lOV4Wx5bFT@wstn> In-Reply-To: References: <6279d49bb77473592344620cb980607e@jk-foto.design> <6e4bdde2ba014b589087e2cf4d7027c6@jk-foto.design> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Originating-smarthost01c-IP: [82.69.80.10] Feedback-ID: 82.69.80.10 X-Archives-Salt: fa469c51-8d9f-4a55-b8d5-f23769ae0865 X-Archives-Hash: c2bead65ef3460102be5a429ed3b2254 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.