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 5C1D1158089 for ; Fri, 22 Sep 2023 10:07:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5659B2BC042; Fri, 22 Sep 2023 10:07:16 +0000 (UTC) Received: from mail-yb1-f171.google.com (mail-yb1-f171.google.com [209.85.219.171]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F29EC2BC014 for ; Fri, 22 Sep 2023 10:07:15 +0000 (UTC) Received: by mail-yb1-f171.google.com with SMTP id 3f1490d57ef6-d81adf0d57fso2314128276.1 for ; Fri, 22 Sep 2023 03:07:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695377235; x=1695982035; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JWbBr/JopAhdjaOjZ76rccWz9pmLgnvJRzQ4PDkGQWw=; b=dCAHIEFRUlbmOOeOugtsFoXlOBJvksMBgKD90Jf1XsHzkKXG8RgZh3zgTEhZG+mLWK nxzH0P8xM31cC2Ppl5J08jpSiR9Hp7XF19SH5c/MInzaLFaKvbTVfOACAVqUlEyIcnfj 8xacNshQpTWTPJvE6CtotzAR3ZGfru9TeTV/KfHA+evm7HbqI5Im6M1/KRw426Za8oCk 6dnS5lHBnOVRE6wiAOGepfEhR1RRxXYN3avmpavBk5d1Jich07Z957IALK55Y/+CxJ5T l2PwC9L8iCPevVjpzcguyVsvndfSZnB1yFFdNykv2W2InWaJfkGEk5UVm4diPMvnwvTi Oewg== X-Gm-Message-State: AOJu0YwtRXrQz2kb6ba28JOpDu6aqxn5/CUqm0HiTz2oSH3tcE2WY39+ uR05gbFbffE81sK3t6y3ZtMbOtWfUAKIQujNJrhKu6Sl X-Google-Smtp-Source: AGHT+IFH881iAuiOffr0If+Q/Z/2MTVPO8gGBMIFOBS8DehElDg1Gsbs1r86qCsRS0cW2rLaCdJsnsP+0N84kzBdB3Y= X-Received: by 2002:a25:cb14:0:b0:d44:af:3cce with SMTP id b20-20020a25cb14000000b00d4400af3ccemr8137703ybg.27.1695377235051; Fri, 22 Sep 2023 03:07:15 -0700 (PDT) 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 References: <4531844.LvFx2qVVIh@wstn> <8292274.T7Z3S40VBb@wstn> <1983362.usQuhbGJ8B@wstn> <77ef1183-5802-4170-9e0f-d1d2538dc428@youngman.org.uk> <62114b10-8329-b11a-17b1-e4b49b6d581a@gmail.com> In-Reply-To: <62114b10-8329-b11a-17b1-e4b49b6d581a@gmail.com> From: Rich Freeman Date: Fri, 22 Sep 2023 06:07:11 -0400 Message-ID: Subject: Re: [gentoo-user] Controlling emerges To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Archives-Salt: e5da3f58-8e2d-4334-b419-5693c934591a X-Archives-Hash: 459375a77f35f3f20093dd17f0f8dc98 On Thu, Sep 21, 2023 at 9:13=E2=80=AFPM Dale wrote: > > Sometimes I wish they would announce when they add features. Rich, you > frequent this list. If you hear of something new, could you post it? Sure, if a relevant topic comes up and I'm aware of it. However, I doubt this setting is going to do much that nice doesn't already do. The original focus seemed to be on memory use, and niceness will not have any impact on the memory use of a build. The only thing that will is reducing the number of parallel jobs. There really isn't any way to get portage to regulate memory use short of letting it be killed (which isn't helpful), maybe letting it being stopped when things get out of hand (which will help as the memory could at least be swapped, but the build might not be salvageable without jumping through a lot of hoops), or if the package maintainer provides some kind of hinting to the package manager so that it can anticipate how much memory it will use. Otherwise trying to figure out how much memory a build system will use without just trying it is like solving the halting problem. --=20 Rich