[j-nsp] cdn.juniper.net slow?
Wojciech Janiszewski
wojciech.janiszewski at gmail.com
Thu Mar 29 10:30:51 EDT 2018
Hi Franz,
I believe it depends on what is currently being cached by the server.
If you're downloading a file which has not been downloaded before, the
download speed might be low.
My DNS resolves cdn.juniper.net as 184.50.174.254, but if I force wget to
use 23.37.55.189 I get couple of MB/s when downloading your file.
$ wget --no-check-certificate --header "Host: cdn.juniper.net" "
https://23.37.55.189/software/junos/18.1R1.9/junos-install-mx-x86-64-18.1R1.9.tgz?[..]
"
--2018-03-29 16:12:01--
https://23.37.55.189/software/junos/18.1R1.9/junos-install-mx-x86-64-18.1R1.9.tgz?[.
.]
Connecting to 23.37.55.189:443... connected.
WARNING: certificate common name ‘cdn.juniper.net’ doesn't match
requested host name ‘23.37.55.189’.
HTTP request sent, awaiting response... 200 OK
Length: 2726046587 (2.5G) [application/octet-stream]
Saving to: junos-install-mx-x86-64-18.1R1.9.tgz?[..]
4% [=======> ]
132,318,152 11.0MB/s eta 3m 15s
8% [=============> ]
221,542,816 11.8MB/s eta 3m 16s
10% [=================> ]
289,954,792 11.6MB/s eta 3m 12s
11% [====================> ]
326,848,336 11.6MB/s eta 3m 10s
However, if I choose to download other file (which I presume is not
downloaded that often) the speed is much lower.
$ wget --no-check-certificate --header "Host: cdn.juniper.net" "
https://cdn.juniper.net/software/junos/17.4R1.16/junos-install-media-usb-mx-x86-64-17.4R1.16-limited.img.gz?[..]
"
--2018-03-29 16:17:09--
https://cdn.juniper.net/software/junos/17.4R1.16/junos-install-media-usb-mx-x86-64-17.4R1.16-limited.img.gz?[.
.]
Resolving cdn.juniper.net (cdn.juniper.net)... 2.20.170.159
Connecting to cdn.juniper.net (cdn.juniper.net)|2.20.170.159|:443...
connected.
HTTP request sent, awaiting response... 200 OK
Length: 2692264219 (2.5G) [application/x-gzip]
Saving to: unos-install-media-usb-mx-x86-64-17.4R1.16-limited.img.gz?[..]
0% [> ]
26,432,656 1.60MB/s eta 27m 1s
7% [===========> ]
191,396,744 1.22MB/s eta 28m 47s
8% [=============> ]
222,051,768 882KB/s eta 29m 16s
Couple of minutes later, I get much better results for the same file:
$ wget --no-check-certificate --header "Host: cdn.juniper.net" "
https://cdn.juniper.net/software/junos/17.4R1.16/junos-install-media-usb-mx-x86-64-17.4R1.16-limited.img.gz?[..]
"
--2018-03-29 16:25:28--
https://cdn.juniper.net/software/junos/17.4R1.16/junos-install-media-usb-mx-x86-64-17.4R1.16-limited.img.gz?[.
.]
Resolving cdn.juniper.net (cdn.juniper.net)... 2.20.170.159
Connecting to cdn.juniper.net (cdn.juniper.net)|2.20.170.159|:443...
connected.
HTTP request sent, awaiting response... 200 OK
Length: 2692264219 (2.5G) [application/x-gzip]
Saving to: junos-install-media-usb-mx-x86-64-17.4R1.16-limited.img.gz?[..]
2% [===> ]
65,205,360 11.5MB/s eta 2m 56s
4% [=======> ]
129,117,560 11.7MB/s eta 3m 12s
6% [===========> ]
187,499,696 13.3MB/s eta 3m 13s
7% [===========> ]
192,402,672 11.6MB/s eta 3m 13s
That's how cache server works...
HTH,
Regards,
Wojciech
2018-03-28 18:15 GMT+02:00 Franz Georg Köhler <lists at openunix.de>:
> Is cdn.juniper.net always slow? It only delivers between 500 and 1000
> kilobit per
> second to me while the traceroute looks fine and I am used to much faster
> downloads from Akamai:
>
> $ wget "https://cdn.juniper.net/software/junos/18.1R1.9/junos-
> install-mx-x86-64-18.1R1.9.tgz[...]"
> --2018-03-28 17:30:14-- https://cdn.juniper.net/
> software/junos/18.1R1.9/junos-install-mx-x86-64-18.1R1.9.tgz[...]
> Auflösen des Hostnamen »cdn.juniper.net (cdn.juniper.net)«... 23.37.55.189
> Verbindungsaufbau zu cdn.juniper.net (cdn.juniper.net)|23.37.55.189|:443...
> verbunden.
> HTTP-Anforderung gesendet, warte auf Antwort... 200 OK
> Länge: 2726046587 (2,5G) [application/octet-stream]
> In »»junos-install-mx-x86-64-18.1R1.9.tgz[...]«« speichern.
>
> junos-install-mx-x86-64-18.1R1.9.tgz?SM_US 100%[=========================
> ===============================================================>]
> 2,54G 933KB/s in 39m 37s
>
> 2018-03-28 18:09:51 (1,09 MB/s) - »»junos-install-mx-x86-64-18.1R1.9.tgz[...]««
> gespeichert [2726046587/2726046587]
>
>
> $ mtr -r -w 23.37.55.189
> Start: Wed Mar 28 18:13:48 2018
> HOST: hermes Loss% Snt
> Last Avg Best Wrst StDev
> 1.|-- gw-corpserv.dabuk47DB.frankfurt.de.velia.net 0.0% 10
> 59.7 7.9 1.3 59.7 18.2
> 2.|-- gauss.router.frankfurt.de.velia.net 0.0% 10
> 0.3 0.3 0.3 0.3 0.0
> 3.|-- ae4.cr-antares.fra10.core.heg.com 0.0% 10
> 0.5 0.4 0.3 0.9 0.0
> 4.|-- ae2.cr-polaris.fra1.core.heg.com 0.0% 10
> 0.4 1.4 0.4 9.9 3.0
> 5.|-- ??? 100.0 10
> 0.0 0.0 0.0 0.0 0.0
> 6.|-- a23-37-55-189.deploy.static.akamaitechnologies.com 0.0% 10
> 0.8 0.8 0.8 0.9 0.0
>
>
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
>
More information about the juniper-nsp
mailing list