You are not logged in.

#1 2016-12-07 09:10:19

tazik
Member
Registered: 2011-11-11
Posts: 36

take long time installing and updating packages by wget

Hi.
I don't know why, when im downloding  or installing or updating package, download speed is very low?
and take very long time!!!!

when im working in windows my download speed is 1M but in arch is changable ,is between 50k to 100k?
im using wget in pacman .conf
this is my pacman configuration:  https://ptpb.pw/LCte

Last edited by tazik (2017-01-04 19:52:09)

Offline

#2 2016-12-07 09:22:52

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: take long time installing and updating packages by wget

Have you tried switching mirrors? https://wiki.archlinux.org/index.php/Reflector

Offline

#3 2016-12-07 09:29:35

tazik
Member
Registered: 2011-11-11
Posts: 36

Re: take long time installing and updating packages by wget

frank604 wrote:

Have you tried switching mirrors? https://wiki.archlinux.org/index.php/Reflector

Not yet.
because every time that I want to change my ISP, i have to use Reflector again!!
Im always using different ISP, specially in night my ISP is changed.

Offline

#4 2016-12-07 10:40:37

Omar007
Member
Registered: 2015-04-09
Posts: 368

Re: take long time installing and updating packages by wget

Your ISP changes every night? I highly doubt that. https://en.wikipedia.org/wiki/Internet_service_provider
You probably have a dynamic IP, which is something else. https://en.wikipedia.org/wiki/IP_address

And the latter should not have any impact on your reflector result. If you think it does, just set the reflector timer to run every night or something.

Last edited by Omar007 (2016-12-07 10:44:10)

Offline

#5 2016-12-07 11:04:13

tazik
Member
Registered: 2011-11-11
Posts: 36

Re: take long time installing and updating packages by wget

Omar007 wrote:

Your ISP changes every night? I highly doubt that. https://en.wikipedia.org/wiki/Internet_service_provider
You probably have a dynamic IP, which is something else. https://en.wikipedia.org/wiki/IP_address

And the latter should not have any impact on your reflector result. If you think it does, just set the reflector timer to run every night or something.

Yes,I have a few modem for few ISP.
now im using internet with 128 kb Bandwidth and night i will use internet by unlimited Bandwidth from another ISP.
tnx dude.I'll use of reflector.

Offline

#6 2017-01-04 19:51:22

tazik
Member
Registered: 2011-11-11
Posts: 36

Re: take long time installing and updating packages by wget

frank604 wrote:

Have you tried switching mirrors? https://wiki.archlinux.org/index.php/Reflector

I use reflector but it nothing change and my package download speed is to slow.
  can i create list from pacman update package and then download those from windows and again install all packages in Arch?

Last edited by tazik (2017-01-04 20:00:31)

Offline

#7 2017-01-05 14:02:07

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: take long time installing and updating packages by wget

Reflector uses very small downloads to test mirror speed, it's results can make updating slower instead of faster.

Goto https://www.archlinux.org/mirrors/status/ , select several mirrors near you with a low score (lower is better) .

open one of their links, navigate to iso/latest and download the dual iso .
It's 800+ MB, even on a gigabit connection it will take time to download.
Note the time, delete the download (to prevent the OS to cache it) and switch to next candidate mirror.

If you can't find  a reliable mirror that can saturate your connection this way, look up powerpill .

Last edited by Lone_Wolf (2017-01-05 14:02:26)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#8 2017-01-05 16:25:07

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: take long time installing and updating packages by wget

when im working in windows my download speed is 1M but in arch is changable ,is between 50k to 100k?

Is the download speed on your favorite website the same in Arch linux and Windows?
Is this only a problem when downloading from an Arch Linux mirror or also on other websites?

Offline

#9 2017-01-05 16:39:46

tazik
Member
Registered: 2011-11-11
Posts: 36

Re: take long time installing and updating packages by wget

teateawhy wrote:

when im working in windows my download speed is 1M but in arch is changable ,is between 50k to 100k?

Is the download speed on your favorite website the same in Arch linux and Windows?
Is this only a problem when downloading from an Arch Linux mirror or also on other websites?

I think it is just on Arch linux mirror and other websites download speed is good.

Offline

#10 2017-01-05 18:10:04

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: take long time installing and updating packages by wget

Are you sure you have used reflector with --sort rate --save ?
https://wiki.archlinux.org/index.php/Reflector

Offline

#11 2017-01-05 18:43:12

HiImTye
Member
From: Halifax, NS, Canada
Registered: 2012-05-09
Posts: 1,072

Re: take long time installing and updating packages by wget

I like to use rankmirrors on the .pacnew of pacman-mirrorlist to get the fastest mirrors for my specific connection, but it takes longer to rank them than relying on the listed speeds. you could easily combine reflector and rankmirrors. this is the script I use if you're interested

[ tye@t: ~ ]$ cat Launchers/mirrorList
#!/bin/bash

cd /etc/pacman.d/
sudo sh -c "sed 's/^#Server/Server/' mirrorlist.pacnew > mirrorlist.rankmirrors" && \
sudo sh -c "rankmirrors -n 18 mirrorlist.rankmirrors > mirrorlist"
sudo rm mirrorlist.rankmirrors

note that by doing it purely by the package mirrorlist, you may not receive new packages as lightning fast as relying on the web page most updated page, and sometimes you'll get 404's, but then it just uses the next one and that's a signal that you should run the script again

Last edited by HiImTye (2017-01-05 18:45:03)

Offline

Board footer

Powered by FluxBB