Originally posted by atomsymbol
Announcement
Collapse
No announcement yet.
Experiment Underway To Improve Gentoo's Binary Package Handling With Portage
Collapse
X
-
Originally posted by atomsymbol
I have tried zswap, but I wasn't satisfied with the results. Normal swap on a fast NVMe SSD is better than zswap, in my experience. (I am buying NVMe SSDs based on sustained write speeds and I am avoiding SSDs that don't have their own RAM for buffering writes (SSDs relying on "host memory buffer" instead), and thus writing many megabytes from RAM to the swap device to random locations on the SSD device isn't a performance issue.)
I used zstd with quite high compression level and it performed quite well.
Comment
-
I recommend using zram instead of tmpfs for your build directory. Either using lz4 or zstd, depending on where your bottleneck is (CPU or RAM). That way you can store way, way more source/object files in RAM without hitting storage (like 5x easily). You can also try adding a backing device to zram so that unused or incompressible (configurable) files can be pushed to disk, somewhat like with tmpfs and swap.
The reason I think this is better than tmpfs is that you can fit more in RAM and thus write to disk less often, which is good for longevity if that disk is some kind of SSD, which it probably is.Last edited by binarybanana; 11 July 2022, 11:03 AM.
- Likes 2
Comment
-
Originally posted by cj.wijtmans View Post
the better solution would be to install a better linux distro or contribute a new build... There is zero reason to use flatpacks or whatever on gentoo... Most builds that have large compile time have a -bin package.
Comment
Comment