Ask Your Question

how to enable Multithreading (parallel) for DNF update etc.

asked 2016-05-23 05:40:25 -0500

erik gravatar image

updated 2016-05-23 05:44:20 -0500

I recently updated my PC with a six core CPU. But dnf updates are still very slow, because the delta-rpm (drpm) process seems to use only one core. And even if there are many single updated packages, every package’s delta-rpm is processed serially (one after another) and not six at the same time, which would save me a lot of time.

Same with selinux policy updating.

Is there a way to change this manually? Is this work in progress? Where could I help? I think this is all written in Python, isn’t it?

edit retag flag offensive close merge delete



It seems that the developer Jan Šilhan is thinking about implementing it. See his comment here.

erik gravatar imageerik ( 2016-09-25 05:23:57 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2016-05-23 08:31:41 -0500

geforce gravatar image

updated 2016-05-23 09:00:41 -0500

Sadly it's single thread only which is totally lame

solution if bandwidth isn't an issue, add deltarpm=false to /etc/dnf/dnf.conf

$ cat /etc/dnf/dnf.conf 
edit flag offensive delete link more

Question Tools


Asked: 2016-05-23 05:40:25 -0500

Seen: 1,425 times

Last updated: May 23 '16