HowTo Increase DNF Download Threads: Difference between revisions
From MediaWiki
Jump to navigationJump to search
(Created page with "__TOC__ == '''Overview''' == To increase the number of simultaneous package download threads (parallel downloads) in [https://en.wikipedia.org/wiki/DNF_(software) DNF], edit the DNF configuration file and add or modify the max_parallel_downloads setting. The default value is 3.") |
|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
__TOC__ | __TOC__ | ||
== '''Overview''' == | == '''Overview''' == | ||
To increase the number of simultaneous package download threads (parallel downloads) in [https://en.wikipedia.org/wiki/DNF_(software) DNF], edit the DNF configuration file and add or modify the max_parallel_downloads setting. The default value is 3. | To increase the number of simultaneous package download threads (parallel downloads) in [https://en.wikipedia.org/wiki/DNF_(software) 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 | |||
Latest revision as of 11:25, 2 November 2026
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