You are not logged in.

#1 2011-05-15 15:26:46

bruno321
Member
Registered: 2010-03-05
Posts: 89

aria2 does not download multiple files at a time

I'm trying to speed up my system upgrades by using aria2, but it won't speed up anything as it does not download multiple files at a time.

As per this wiki post, https://wiki.archlinux.org/index.php/Im … erformance , "using aria2", I've installed aria2 and added the line

XferCommand = /usr/bin/aria2c --allow-overwrite=true -c --file-allocation=none --log-level=error \
-m2 --max-connection-per-server=2 --max-file-not-found=5 --min-split-size=5M --no-conf \
--remote-time=true --summary-interval=60 -t5 -d / -o %o %u

to the options section in pacman.conf. Pacman still works, but it isn't sped up. When pacman -Syu'ing, a normal line shows:

#1 SIZE:1.3MiB/2.0MiB(63%) CN:1 SPD:50.0KiBs ETA:15s

What's going on?

P.S. I use the line reflector -l 5 --sort rate --save /etc/pacman.d/mirrorlist before doing a system upgrade.

Last edited by bruno321 (2011-05-15 15:27:45)

Offline

#2 2011-05-15 16:35:26

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: aria2 does not download multiple files at a time

Using aria2c will download files over 5MB with multiple connections but will not download multiple files at the same time. Pacman calls aria2c with the first url, waits for it to finish, then calls aria2c with the second etc...
If you want to download multiple packages simultaneously, see http://xyne.archlinux.ca/projects/pacman2aria2/


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

Board footer

Powered by FluxBB