You are not logged in.

#1 2020-07-28 17:40:28

DarkCodeOrg
Member
Registered: 2020-07-28
Posts: 3

Slow Download Speed on fresh install

Hey there guys i got started with arch linux two days back and i dont know why from yesterday i am facing some problems in downloading anything from the browser.

I have tried using different browsers (firefox , chrome, chromium ) and all but no use, i tried updating my mirrors using reflector, changing my nameservers (have included opendns nameservers and googledns also) but all of them were useless, i tried searching over the web for solutions and found many but none of them worked (using networkmanager, using this command "sysctl net.ipv4.tcp_ecn=0" although i have no clue what it does, .
The awkward thing is this only happens when i try downloading from any browser,  pacman downloading speeds and normal  browsing speeds are fine and woring good , i generally get  a 50 mbps download and 40 mbps upload but these download speeds have reduced to approximately 0.1 mbps, I also tried out internet speed test  and it gave me good results (45 mbps down and 20 mbps up).

result of 

 $ time wget https://www.google.se 

--2020-07-28 22:54:20--  https://www.google.se/
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving www.google.se (www.google.se)... 172.217.166.99, 2404:6800:4007:811::2003
Connecting to www.google.se (www.google.se)|172.217.166.99|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘index.html’

index.html                [ <=>                   ]  14.03K  --.-KB/s    in 0.003s 

2020-07-28 22:54:20 (4.22 MB/s) - ‘index.html’ saved [14370]

wget https://www.google.se  0.11s user 0.03s system 18% cpu 0.766 total


tried 

 ip link set eth0 mtu 1492 

but it still no results

please guys help i cant install anything from the browser

Offline

#2 2020-07-28 18:19:05

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,743

Re: Slow Download Speed on fresh install

Please reset the MTU to 1500, see https://nielshagoort.com/2016/05/03/jum … -involved/ for an explanation what that is.

The bottom line of your post is
* downloading w/ wget/curl: good
* browsing w/ any browser: good
* browser speed tests: good
* downloading w/ browser: bad
?

When you download files w/ the browser and set /dev/null as destination file (just type that into the path box of the save dialog), is the speed good or bad?

Online

#3 2020-07-28 18:52:58

DarkCodeOrg
Member
Registered: 2020-07-28
Posts: 3

Re: Slow Download Speed on fresh install

Okay so as seth told i reset the MTU size to 1500

i was trying to install the community version of burp suite but there google chrome does not let you specify the path manually, so i thought of using Wget but unfortunately burp's site doesnt let me copy the link address to their download file (.sh file) so i went with something else and tried out with alpine linux  iso (130 mb)

command

wget http://dl-cdn.alpinelinux.org/alpine/v3.12/releases/x86_64/alpine-standard-3.12.0-x86_64.iso -O /dev/null 

result:

--2020-07-29 00:14:21--  http://dl-cdn.alpinelinux.org/alpine/v3 … x86_64.iso
Resolving dl-cdn.alpinelinux.org (dl-cdn.alpinelinux.org)... 151.101.154.133, 2a04:4e42:24::645
Connecting to dl-cdn.alpinelinux.org (dl-cdn.alpinelinux.org)|151.101.154.133|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 130023424 (124M) [application/octet-stream]
Saving to: ‘/dev/null’

/dev/null                100%[==================================>] 124.00M  6.79MB/s    in 19s     

2020-07-29 00:14:41 (6.47 MB/s) - ‘/dev/null’ saved [130023424/130023424]

the results were not bad as u can see above ,so i thought of giving  burp suite another try but guess what , the download speed was again sluggish  0.1 mbps sad

so i would rate   wget speed = good
                           browser download speed = bad

Last edited by DarkCodeOrg (2020-07-28 18:54:33)

Offline

#4 2020-07-28 19:00:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,743

Re: Slow Download Speed on fresh install

Since you suggested that

this only happens when i try downloading from any browser,  pacman downloading speeds and normal

it's pretty important for this test to use the browser to download sth. into /dev/null
You can compare the wget download into /dev/null w/ a download into your $HOME though (to confirm the above)

You can configure chrome/chromium to ask where to save a file, chrome://settings/downloads

Last edited by seth (2020-07-28 19:00:44)

Online

#5 2020-07-29 09:28:12

DarkCodeOrg
Member
Registered: 2020-07-28
Posts: 3

Re: Slow Download Speed on fresh install

i had already set up chrome to ask the download path before downloading but while downloading it , i cannot "specify the path" or type in the path instead i have to select the folder graphically and  so i tried going to /dev/ but there was no "null" dir as expected sad 

and today i found something more disturbing i.e the download speed has gone down with  wget also

i ran

 wget https://github.com/zaproxy/zaproxy/releases/download/v2.9.0/ZAP_2_9_0_unix.sh

to install owasp-zap under my home directory
and result was this

...
HTTP request sent, awaiting response... 200 OK
Length: 98653867 (94M) [application/octet-stream]
Saving to: ‘ZAP_2_9_0_unix.sh’

ZAP_2_9_0_unix.sh       1%[                       ]   1.55M  9.43KB/s    eta 2h 28m ^

but my pacman download speeds are still good like 8-10 mbps

and even trying to download owasp zap in /dev/null with wget returned pretty low speeds sad

wget https://github.com/zaproxy/zaproxy/releases/download/v2.9.0/ZAP_2_9_0_unix.sh -O /dev/null

...
HTTP request sent, awaiting response... 200 OK
Length: 98653867 (94M) [application/octet-stream]
Saving to: ‘/dev/null’

/dev/null               0%[                       ] 152.57K  11.4KB/s    eta 2h 25m

so i again tried downloading the alpine linux iso file under /dev/null and got a fair speed like 2-3 mbps


wget http://dl-cdn.alpinelinux.org/alpine/v3.12/releases/x86_64/alpine-standard-3.12.0-x86_64.iso -O /dev/null 

           

--2020-07-29 14:53:01--  http://dl-cdn.alpinelinux.org/alpine/v3 … x86_64.iso
Resolving dl-cdn.alpinelinux.org (dl-cdn.alpinelinux.org)... 151.101.194.133, 151.101.130.133, 151.101.66.133, ...
Connecting to dl-cdn.alpinelinux.org (dl-cdn.alpinelinux.org)|151.101.194.133|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 130023424 (124M) [application/octet-stream]
Saving to: ‘/dev/null’

/dev/null              52%[===========>           ]  65.04M  1.12MB/s    eta 48s

and so tried downloading alpine linux iso from their website using my chrome browser
and you know what it just downloaded within seconds (i downloaded it in my home dir)
then i tried installing the arch iso from a mirror site and u know what i got a 4-5 mbps speed

WTF !!  i was like staring at the screen and see the iso file  download within 60 seconds

is the problem only with specific sites ?? since i dont think this is a browser related problem now
this spooky phenomenon is just overwhelming me
and i have still not found a way of directly downloading from browser to /dev/null

Last edited by DarkCodeOrg (2020-07-29 09:42:14)

Offline

#6 2020-07-29 11:56:33

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,743

Re: Slow Download Speed on fresh install

is the problem only with specific sites ??

It would seem so.
There's also https://bbs.archlinux.org/viewtopic.php?pid=1916561 but that guy's from Brazil… (and by "google.se", you probably live on the other side of the atlantic?)

and i have still not found a way of directly downloading from browser to /dev/null

Just type "/dev/null" into the "name" box at the top of the dialog, but that should now be irrelevant - it's not the browser, you've just an unstable download speed.

Online

Board footer

Powered by FluxBB