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 4E863158089 for ; Tue, 12 Sep 2023 09:26:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1FAB82BC1DF; Tue, 12 Sep 2023 09:26:16 +0000 (UTC) Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D68DC2BC05C for ; Tue, 12 Sep 2023 09:26:15 +0000 (UTC) Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1qfzew-0001xI-RX for gentoo-user@lists.gentoo.org; Tue, 12 Sep 2023 11:26:14 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: long compiles Date: Tue, 12 Sep 2023 12:26:09 +0300 Message-ID: References: <20230911210529.48de20be@digimed.co.uk> 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-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Content-Language: en-US In-Reply-To: X-Archives-Salt: 747d6982-4708-4dfa-9e32-f7faa1f4473d X-Archives-Hash: 3aa0bfaff64dc1b3153ef9ed1eddfeb5 On 11/09/2023 23:21, Alan McKinnon wrote: > Yup, that jibes with what I see. Oh well, just means that the need for > overnight compiles did not go away haha Ever since I added the following to my make.conf: PORTAGE_NICENESS=19 PORTAGE_IONICE_COMMAND="sh -c \"schedtool -D \${PID} && ionice -c 3 -p \${PID}\"" I never needed overnight compiles again. Make sure sys-process/schedtool is installed. As long as you have plenty of RAM so the system doesn't swap, you can use the system normally even while building monster packages. I can even play video games without issue while portage is emerging now.