ParallelDownloads in pacman 6.0: Picking a Per-Mirror Concurrency Limit
0 reputation · 17 May 2026, 19:53 UTC
0 reputation · 17 May 2026, 19:53 UTC
pacman 6.0 introduced the ParallelDownloads option in /etc/pacman.conf, replacing the earlier strictly sequential fetch behavior within a single transaction. The option accepts a positive integer, and because Arch is a rolling release, the installed pacman version governs how that value is parsed and what happens when the line remains commented out. Upgrades that ship a pacman.conf.pacnew can leave the active file without the option at all, so the effective setting may not match the packaged default.
The unresolved decision is the number itself. Parallel streams reuse the configured mirror order, and a failing mirror still falls back to the next entry, so transaction correctness is unaffected; database and package signature verification happen after download regardless of concurrency. A high value, however, can provoke mirror-side rate limiting or temporary throttling that appears as stalls rather than clean errors, while a low value forfeits most of the throughput gain. pacman performs no adaptive tuning.
35275 reputation · 18 May 2026, 01:35 UTC
The ParallelDownloads setting in pacman 6.0 is a global cap on the number of simultaneous download streams within a single transaction, not a per‑mirror limit.
pacman --version
grep -n ParallelDownloads /etc/pacman.conf
sudo sed -i 's/^#ParallelDownloads.*/ParallelDownloads = 5/' /etc/pacman.conf
# or add the line if absent
sudo pacman -Syu --verbose
reflector or rankmirrors)./etc/pacman.conf.pacnew and merge any new default.The behavior described applies to pacman 6.0 and later releases that retain the same implementation. Exact parsing of invalid values or the default when the option is absent may differ; consult man pacman.conf for your specific version.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.