Evening forum.
I have zypper 1.6.18 and aria2c 1.14.0 and was wondering if its possible to get zypper, when downloading rpm’s, to use the metalinks provided in the opensuse repository (if available).
I have done…
export ZYPP_ARIA2C=1
zypper refresh
zypper in <packages>
…but noticed that when I download using just “aria2c -M http://software.opensuse.org/package.rpm.meta4” my download speed is increased. I don’t get the same speeds when enabling the previous variable and running zypper to download the packages.
Not sure what else I need to change.
I noticed that in the /var/cache/zypp dir there is a file called aria2.stats - Here’s a snippet:
…
…
host=distro.ibiblio.org, protocol=http, dl_speed=11097, sc_avg_speed=11097, mc_avg_speed=0, last_updated=1327125033, counter=1, status=OK
host=download.opensuse.org, protocol=http, dl_speed=16323, sc_avg_speed=17521, mc_avg_speed=0, last_updated=1327128603, counter=32, status=OK
host=ftp.esat.net, protocol=http, dl_speed=8948, sc_avg_speed=8948, mc_avg_speed=0, last_updated=1327128475, counter=1, status=OK
host=ftp.heanet.ie, protocol=http, dl_speed=797, sc_avg_speed=797, mc_avg_speed=0, last_updated=1327128463, counter=1, status=OK
host=ftp.nux.ipb.pt, protocol=http, dl_speed=1581, sc_avg_speed=1581, mc_avg_speed=0, last_updated=1327128622, counter=1, status=OK
…
…
Downloading via metalinks allows me to get the full potential of my slow speed internet @ 60KB/sec.