On 06/05/2014 03:27 AM, Kevin Fenzi wrote:
Createrepo in rawhide now has parallel drpm creation, this patch
should hopefully
enable it in mash (with 8 workers).
Note that it's missing a createrepo version check right now since there's not
yet
been a released createrepo with the support.
Is going to cause the createrepo server to run out of RAM? I only ask
because drpm generation used to take (uncompressed size of rpm * 3) RAM.
This was supposed to be fixed in deltarpm-3.6, but in my tests it
still took at least (uncompressed size of rpm) RAM.
I know createrepo sets a maximum size on the rpms that it will delta,
but I don't know the specs of the createrepo server, and I don't
remember what the maximum size was, so if the server doesn't have enough
RAM and createrepo ends up generating eight large drpms at the same
time, it might run out.
FWIW, I think the patch should go in, but we should be aware that any
drpm generation errors will most likely be because of running out of memory.
Jonathan