HowTo Increase DNF Download Threads

From MediaWiki
Revision as of 11:25, 2 November 2026 by Rwh (talk | contribs) (→‎Overview)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Overview

To increase the number of simultaneous package download threads (parallel downloads) in DNF, edit the DNF configuration file and add or modify the "max_parallel_downloads" setting. The default value is 3.

Procedure To Increase DNF Download Threads To 10

As the root user edit the DNF configurtion file: "vi /etc/dnf/dnf.conf" and add the "max_parallel_downloads=10" to the "[main]" section.

[root@nst-nuci3 ~]# vi /etc/dnf/dnf.conf

[root@nst-nuci3 ~]# cat /etc/dnf/dnf.conf 
# see `man dnf.conf` for defaults and possible options

[main]
fastestmirror=True
max_parallel_downloads=10
deltarpm=true