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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 02DB91382C5 for ; Wed, 28 Apr 2021 12:03:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49100E08E5; Wed, 28 Apr 2021 12:03:47 +0000 (UTC) Received: from mail.digimed.co.uk (mail.digimed.co.uk [82.69.83.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BA112E088C for ; Wed, 28 Apr 2021 12:03:46 +0000 (UTC) Received: from digimed.co.uk (fenchurch.digimed.co.uk [192.168.1.6]) by mail.digimed.co.uk (Postfix) with ESMTPA id 9E85966E08 for ; Wed, 28 Apr 2021 13:03:44 +0100 (BST) Date: Wed, 28 Apr 2021 13:03:39 +0100 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Rusty problems Message-ID: <20210428130339.018ee8a1@digimed.co.uk> In-Reply-To: References: <20210428000759.6ed6696f@digimed.co.uk> Organization: Digital Media Production X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 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: multipart/signed; boundary="Sig_/zFSGOlt5Y5327bBvnF80dQd"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Archives-Salt: 83af9f90-69ef-4505-a8f3-85f6899fd6c2 X-Archives-Hash: f159c0168bdd9a38ea0f014e921c2197 --Sig_/zFSGOlt5Y5327bBvnF80dQd Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 28 Apr 2021 11:12:33 +0000, Alan Mackenzie wrote: > > I use rust-bin now, so this isn't an issue for me, but my laptop has > > only 8GB and this is how I have it set for chromium: =20 >=20 > > % cat /etc/portage/env/disk-tmpdir.conf > > PORTAGE_TMPDIR=3D"/mnt/scratch" =20 >=20 > > % cat /etc/portage/package.env/chromium > > www-client/chromium disk-tmpdir.conf =20 >=20 > > I do similar for libreoffice and a couple of other heavyweights. =20 >=20 > With a like setup, building rust took ~45 minutes. This is about the > same as it took on the ram disk before giving up. So, I'm not losing a > lot, if anything, by using /home/portage (On mirrored nvme SSDs). There have been several tests posted over the years that show that using a tmpfs for TMPDIR doesn't give as much of a gain as you would expect. With NVMe drives, the difference is likely to be even smaller. >=20 > > Another option, to be used instead of or as well as this would be > > distcc. Once again, you can use package.env to apply this to selected > > packages: =20 >=20 > That's for building on a different (more powerful) machine, isn't it? I > don't actually have a more powerful machine. ;-) A different machine, not necessarily more powerful. The point is that you are splitting the workload between the different computers. My desktop is currently emerging chromium, and is sending some of the work to my MythTV backend, which is actually the old desktop machine it replaced. --=20 Neil Bothwick Time for a diet! -- [NO FLABBIER]. --Sig_/zFSGOlt5Y5327bBvnF80dQd Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE8k9T/rX16EJxEKG692eFu0QSMJgFAmCJTxsACgkQ92eFu0QS MJguFw/9FVJDTZkBi99hakVIv5r8Ymm/KteDHueEEizdWtT7AApT/RhLN561ZA9a xFcte492tziO6Mjgc9j0D9KumaIwV0vqzmaIFOPFEwlOJmwGHVyFjBR/5gvKch4b 9+2RJ/W3cwP63/YlOyX4a0noKcVq8/GrLR20g7oESlhgqKFTL4D7OnyD7KdPPhVM 6Ns+9nwXUNRQgyeAuyVK6q4C4YF7mgzY0t4aB3YUJRgJCNiCrf2OiS2qVgG5eQZw 03/NJcxecfC9Rd3cDaz+hL4X5uH/BXuB3dH8YDsvNrP5dlXZ31eWK9krBa8jY3tT 1/kWUrliMezXnp1bAOEB7gkKO/NJ1qz0xbL1lo83xno9RW6M9JEEW4tTbcYT//d7 Yd8nndreHDZ+OseXH3F2QxhnabiGiYJpiXDcbt6KCeZ9sgsw+kqlPDXcT3RZaBhE O4Wnvp2e/NYeDOzBu1duvZc6IuaqOGD9PseDyLS6hBV/7UzdbtHqBZmFuZ84h7G7 EYt4A/2hrWfCuSEPzdi+bPxyhPKxpBkwjgKg/mQLxyYRqp2bxD8dgz8VUVUcObls b7DutPYOopOGrI6VPJlwqB9bO+YMIka6uyi8IcqqGvnKh+crQpQzmi6mVtlrqo+S 73kQ0ko5779pCzUxMrvovG/6WwYuRww9KGutideQqkiSicFQM54= =6nwH -----END PGP SIGNATURE----- --Sig_/zFSGOlt5Y5327bBvnF80dQd--