[Rpm-maint] [rpm-software-management/rpm] Enable thread autodetection for a parallel compression. (#1324)
Florian Festi
notifications at github.com
Fri Jul 31 12:22:01 UTC 2020
Thanks for the patch. Unfortunately auto-detecting the number of threads is a more complicated topic and any solution for zstd needs to have a look at the larger picture. We added support for building multiple package in parallel, so the threads need to be split between those concurrent runs. While relying on `%{getncpus}` is probably the right thing to do, it does not yet contain a reliable enough value. There are some freaky architectures and machines out there that need better policies than just counting CPUs. Especially large 32 bit machines (arm, z-series) that have a lot of CPUs can run out of address space pretty quickly.
I still think this patch is a good starting point but expect it to not go in until those other issues are ironed out.
--
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/pull/1324#issuecomment-667092610
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200731/b5e35039/attachment.html>
More information about the Rpm-maint
mailing list