Speeding Up Arch Linux Updates with Pacman's Parallel Downloads
Learn how to enable Pacman's ParallelDownloads option to download multiple Arch Linux packages at once, verify the concurrent workers, and understand the bandwidth and mirror trade‑offs.
15 Feb 2026, 17:39 UTC

Why upgrades can feel slow even on a fast connection
When you run sudo pacman -Syu on Arch Linux, the default pacman configuration downloads packages one after another. If your internet link can handle many megabits per second, the serial download becomes the bottleneck, and you spend more time waiting for each file to finish before the next starts.
What ParallelDownloads does
Pacman offers a built‑in option called ParallelDownloads. When enabled, pacman spawns up to N worker processes, each fetching a different package file at the same time. The option lives in /etc/pacman.conf and accepts an integer value; ParallelDownloads = 5 allows up to five concurrent connections.
Importantly, the verification step that checks signatures and hashes runs after each individual download, so enabling parallelism does not weaken security.
Configuring the option
- Open the configuration file with root privileges, for example:
- Locate the
#ParallelDownloadsline (it is usually commented out). Remove the leading#and set a value that matches your bandwidth and mirror policy, e.g.: - Save the file and exit the editor.
sudo editor /etc/pacman.conf
ParallelDownloads = 5
If the line does not exist, you can add it under the [options] section.
Observing parallel activity
After saving the change, run a system upgrade:
sudo pacman -Syu
While the command is running, open another terminal and inspect the pacman processes:
ps -ef | grep pacman
You should see multiple lines similar to:
pacman 12345 1 0 10:12 ? 00:00:00 /usr/bin/pacman -Syu
pacman 12346 12345 0 10:12 ? 00:00:00 /usr/lib/pacman/download-worker
pacman 12347 12345 0 10:12 ? 00:00:00 /usr/lib/pacman/download-worker
The exact number of worker processes will correspond to the value you set (or fewer if fewer packages remain). You can also watch CPU and I/O with top or htop; the download workers will show brief spikes of network activity.
Another way to confirm concurrency is to look at the log file:
grep 'downloading' /var/log/pacman.log
When parallel downloads are active, the timestamps of successive downloading entries will interleave rather than appear in strict sequential blocks.
Trade‑offs and limitations
- Network saturation: Setting ParallelDownloads too high can fill your available bandwidth, causing other applications to lag or prompting the mirror to throttle or temporarily ban your IP.
- Mirror capabilities: The feature relies on HTTP/HTTPS range requests. Most official Arch mirrors support them, but a few private or outdated mirrors may not, which can lead to failed downloads or corrupted partial files.
- Partial file cleanup: If a worker process is interrupted, pacman leaves a
.partfile in/var/cache/pacman/pkg. You can safely remove these withsudo pacman -Scor manually delete them before the next upgrade.
Practical check: after an upgrade, run ls -la /var/cache/pacman/pkg/*.part. If the command returns no such files, the parallel download session completed cleanly.
Actionable closing
If you regularly upgrade Arch on a connection that can spare several megabits per second, start with a modest value like ParallelDownloads = 3. Observe the upgrade time and the process list; if the mirror stays responsive and no .part files accumulate, increase the number gradually. Always keep an eye on the pacman log for interleaved download entries and verify that no partial files remain after each run. This simple tweak can shave noticeable minutes off your routine updates without compromising the integrity checks that keep Arch secure.
0 replies
A thoughtful contribution can make all the difference. Be the first to share one.