[Rpm-maint] [rpm-software-management/rpm] Enable thread autodetection for a parallel compression. (#1324)

Panu Matilainen notifications at github.com
Wed Aug 12 09:02:19 UTC 2020


Mm, that's not quite what I meant: xz and zstd should use a common helper function for the thread number autodetection, and that function offers a nice place to restrict the number on 32bit architectures centrally (for rpmio purposes until we get something better).

OTOH, didn't realize XZ has this memlimit option too, which we probably shouldn't discard as it could be necessary on 64bit arch too I guess.

I'm also starting to have second thoughts about completely disabling threading on 32bit - we cap threads to maximum of four in build-code (which sometimes is too much however) so why do something else here? Though, what this really needs is a central place for it all instead of these local tweaks.

-- 
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-672749708
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200812/6037f73e/attachment.html>


More information about the Rpm-maint mailing list