Dne 31.5.2015 v 21:50 Mike McLean napsal(a):
Also, some builders do not necessarily have a lot of ram. Some
buildroots are large, some sources are extremely large
(e.g. texlive). If we do this, it will need to be configurable, probably per-package or
per-tag.
The devils in detail is that you do *not* need to have a lot of ram. Just a lot of swap
disk.
E.g. in Copr we had reserved 50 GB for mock chroot. And now instead of that, we now have
50 GB swap.
Therefore you never ever can have oversized tmpfs, because size of tmpfs is 50 GB, but
space for that is 5GB RAM + 50 GB
swap.
So you consume the same resource. And you get big performance increase.
--
Miroslav Suchy, RHCA
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys