You are not logged in.

#1 2013-08-10 16:45:50

mkkot
Member
From: Poland
Registered: 2009-12-20
Posts: 288

[Solved] Pacman low download speed

Hello,

I thought it would be nice to try out Alien Arena. However it seems my download mirror was not capable of using my full bandwitch so I switched to other mirror. The other one had the same problem so I tried some other again and again. Finally I compared pacman's speed with firefox downloading the same package from the same mirror. Pacman ~300kB/s, firefox - 800kB/s. I can see in netstat that in both cases there is only one connection using port 80. Where the difference comes from? I had no such problems about 2 weeks ago...

Last edited by mkkot (2013-08-15 20:39:39)

Offline

#2 2013-08-10 16:54:12

teckk
Member
Registered: 2013-02-21
Posts: 585

Re: [Solved] Pacman low download speed

Did you

pacman -Syy

after changing /etc/pacman.d/mirrorlist

Offline

#3 2013-08-10 17:04:28

mkkot
Member
From: Poland
Registered: 2009-12-20
Posts: 288

Re: [Solved] Pacman low download speed

How to delete a post? ;p

Last edited by mkkot (2013-08-10 18:37:11)

Offline

#4 2013-08-10 17:18:29

mkkot
Member
From: Poland
Registered: 2009-12-20
Posts: 288

Re: [Solved] Pacman low download speed

No. Anyway, I can see in netstat that pacman is connecting with right server. Now I did -Syy and it doesn't help. The transfer goes up to 1MB at the beggining and then slows down to 200-300kB like it was deprecated by some kind of QoS mechanism.

== edit

I don't get it. wget downloads with 600-800kB while pacman with 200-300. Netsat shows for pacman:

tcp        0      0 192.168.0.2:58791       46.165.198.1:80         ESTABLISHED

and for wget:

tcp        0      0 192.168.0.2:58801       46.165.198.1:80         ESTABLISHED

I have no other bandwitch consumers running. Speedtest with ovh shows me:
Download Speed: 10514 kbps (1314.3 KB/sec transfer rate)
Upload Speed: 630 kbps (78.8 KB/sec transfer rate)
Latency: 130 ms

ping -i 0.2 noc.gts.pl:

--- noc.gts.pl ping statistics ---
102 packets transmitted, 102 received, 0% packet loss, time 20262ms
rtt min/avg/max/mdev = 25.631/26.329/28.842/0.433 ms

==
I just connected another ADSL router, replacing mine (I don't trust them much). Still the same problem.

==

It works fine with wget as default download manager in pacman. Well, it's time to fill a bugreport...

Last edited by mkkot (2013-08-10 18:36:35)

Offline

#5 2013-08-10 18:32:59

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: [Solved] Pacman low download speed

Please use the edit button to append information to your last post if no one else has posted, and please use [code] tags for code, command output and file contents.

If changing mirrors doesn't help then I don't know what the problem is. If you just want to max out your bandwidth when downloading packages, then you can try powerpill. If the regular http method doesn't work then try setting an rsync server in /etc/powerpill/powerpill.json.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#6 2013-08-10 18:38:29

mkkot
Member
From: Poland
Registered: 2009-12-20
Posts: 288

Re: [Solved] Pacman low download speed

I have reported it here: https://bugs.archlinux.org/task/36484

Last edited by mkkot (2013-08-10 18:39:25)

Offline

#7 2013-08-14 00:09:50

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,173

Re: [Solved] Pacman low download speed

Why don't you just specify the Xfer command in pacman.conf? I mean, it would at least be a temporary work around.

Last edited by cfr (2013-08-14 00:10:34)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#8 2013-08-14 17:17:11

mkkot
Member
From: Poland
Registered: 2009-12-20
Posts: 288

Re: [Solved] Pacman low download speed

I know about that option, I just think that more people can be affected by default settings.

Offline

#9 2013-08-14 20:57:46

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,173

Re: [Solved] Pacman low download speed

mkkot wrote:

I know about that option, I just think that more people can be affected by default settings.

OK. But since others can't reproduce it, it isn't clear how much it is affecting them. By the way, there's a request for further info on your bug so you might want to respond there.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#10 2013-08-15 20:39:22

mkkot
Member
From: Poland
Registered: 2009-12-20
Posts: 288

Re: [Solved] Pacman low download speed

Fixed with curl 7.32.0.

Offline

Board footer

Powered by FluxBB