[Rpm-maint] [rpm-software-management/rpm] Create binary rpm packages in parallel? (better multiple CPU core utilization) (#211)
notifications at github.com
Wed May 3 15:58:04 UTC 2017
Yes its quite feasible to package binary *.rpm files in parallel.
The hardest problem is choosing a framework for parallelization: OMP, or pthreads or (in RPM5) yarn.
A general framework for parallelization is needed, with queues and thread pools and output serialization etc, is needed because there are many simple loops in RPM that would benefit from being done in parallel.
FWIW: Using OMP on the rpmbuild loop would be the least intrusive but perhaps hardest to maintain (compared to plain pthreads or yarn from pigz).
Before attempting parallelization, there are some costly "sanity checks" on file manifests in rpm build that are quadratic or worse that should be studied and fixed (at least in RPM5: I suspect there are some in RPM4 too but haven't measured recently). Run cache grind on a kernel build (which has lots of files) to see what I am talking about,
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-maint