Performance increase for Koji builders

Miroslav Suchý msuchy at redhat.com
Mon Jun 1 12:08:42 UTC 2015


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


More information about the buildsys mailing list