[Rpm-maint] [rpm-software-management/rpm] Create binary rpm packages in parallel? (better multiple CPU core utilization) (#211)

Alexander Kanavin notifications at github.com
Wed May 3 08:27:26 UTC 2017


Hello, I'd like to ask your opinion on the idea of creating binary rpms in parallel. It seems possible: I looked at packageBinaries() and it has a straightforward for loop with no obvious dependencies between iterations. Each iteration could be in its own thread via pthreads.

The reason I would like to do this is that we use rpm in Yocto project, and
a) making binary rpms is a part of image building process in Yocto; there's generally no common package feed, so a lot of time is spent on building rpms on the local machine.
b) some of the source packages produce a lot of very small binary packages; for instance we package glibc locales, or perl modules separately. In embedded world constraining disk space usage is important, so this has to be done. This makes rpm building really slow - several minutes or more, as it iterates over them one by one.

Opinions?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/211
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170503/a996a72d/attachment.html>


More information about the Rpm-maint mailing list