On Wednesday, April 28, 2021, Alan Mackenzie <a...@muc.de> wrote:

> Hello, Gentoo.
>
> I'm having problems building rust.


On systems that I setup assuming I wouldn’t need swap, I set swappiness low
and add a swap file (on ssd if possible) so the bigger builds can at least
finish, albeit more slowly. Generally swap never gets touched. I also use
zswap with zstd or lz4, which perform better than the old lzo deflate/zlib
options, sometimes by a wide margin.

I don’t bother with /var/tmp/portage on tmpfs any more as it seemed to be
more trouble than it was worth.

Reply via email to