From: Meiyo Peng <meiyo.peng@gmail.com>
To: Chris Marusich <cmmarusich@gmail.com>
Cc: guix-devel@gnu.org, 33600@debbugs.gnu.org
Subject: Re: CDN performance
Date: Sat, 22 Dec 2018 00:04:12 +0800 [thread overview]
Message-ID: <87y38isw77.fsf@gmail.com> (raw)
In-Reply-To: <87o99f9o2t.fsf@gmail.com> (Chris Marusich's message of "Fri, 21 Dec 2018 02:22:18 -0800")
Hi Chris,
Thank you for your patience!
Chris Marusich <cmmarusich@gmail.com> writes:
> Can you also share what numbers you get when you run measure_get against
> berlin.guixsd.org directly? Clearly, the connection from you to
> CloudFront is not as performant as it is for others in other parts of
> the world, but I wonder if it's still better than accessing berlin
> directly. If you could run measure_get against berlin directly and
> share the numbers, we can see if it represents any significant
> improvement for you.
1. Tested today at home. China Unicom home broadband. 50Mb/s.
berlin.guixsd.org:
#+BEGIN_EXAMPLE
➜ ~ measure_get https://berlin.guixsd.org/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
54 66.6M 54 36.3M 0 0 14981 0 1:17:45 0:42:25 0:35:20 0
url_effective: https://berlin.guixsd.org/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
http_code: 200
num_connects: 1
num_redirects: 0
remote_ip: 141.80.181.40
remote_port: 443
size_download: 38141765 B
speed_download: 14981.000 B/s
time_appconnect: 3.228601 s
time_connect: 2.213136 s
time_namelookup: 0.856194 s
time_pretransfer: 3.228820 s
time_redirect: 0.000000 s
time_starttransfer: 3.851583 s
time_total: 2545.889968 s
curl: (56) GnuTLS recv error (-54): Error in the pull function.
➜ ~ measure_get https://berlin.guixsd.org/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 66.6M 100 66.6M 0 0 20415 0 0:57:03 0:57:03 --:--:-- 25983
url_effective: https://berlin.guixsd.org/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
http_code: 200
num_connects: 1
num_redirects: 0
remote_ip: 141.80.181.40
remote_port: 443
size_download: 69899433 B
speed_download: 20415.000 B/s
time_appconnect: 2.005881 s
time_connect: 0.785257 s
time_namelookup: 0.000520 s
time_pretransfer: 2.006124 s
time_redirect: 0.000000 s
time_starttransfer: 3.031582 s
time_total: 3423.813489 s
#+END_EXAMPLE
berlin-mirror.marusich.info:
#+BEGIN_EXAMPLE
➜ ~ measure_get https://berlin-mirror.marusich.info/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 66.6M 100 66.6M 0 0 1470k 0 0:00:46 0:00:46 --:--:-- 2368k
url_effective: https://berlin-mirror.marusich.info/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
http_code: 200
num_connects: 1
num_redirects: 0
remote_ip: 13.35.20.87
remote_port: 443
size_download: 69899433 B
speed_download: 1505934.000 B/s
time_appconnect: 3.343496 s
time_connect: 3.164926 s
time_namelookup: 3.060655 s
time_pretransfer: 3.343581 s
time_redirect: 0.000000 s
time_starttransfer: 5.766543 s
time_total: 46.416495 s
➜ ~ measure_get https://berlin-mirror.marusich.info/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 66.6M 100 66.6M 0 0 3182k 0 0:00:21 0:00:21 --:--:-- 4612k
url_effective: https://berlin-mirror.marusich.info/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
http_code: 200
num_connects: 1
num_redirects: 0
remote_ip: 13.35.20.87
remote_port: 443
size_download: 69899433 B
speed_download: 3259170.000 B/s
time_appconnect: 0.225982 s
time_connect: 0.070428 s
time_namelookup: 0.000483 s
time_pretransfer: 0.226055 s
time_redirect: 0.000000 s
time_starttransfer: 0.306621 s
time_total: 21.447966 s
#+END_EXAMPLE
2. Tested today at my office. China Telecom enterprise broadband. 50Mb/s.
berlin.guixsd.org:
#+BEGIN_EXAMPLE
➜ ~ measure_get https://berlin.guixsd.org/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 66.6M 100 66.6M 0 0 3091k 0 0:00:22 0:00:22 --:--:-- 3649k
url_effective: https://berlin.guixsd.org/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
http_code: 200
num_connects: 1
num_redirects: 0
remote_ip: 141.80.181.40
remote_port: 443
size_download: 69899433 B
speed_download: 3166021.000 B/s
time_appconnect: 3.288213 s
time_connect: 2.733554 s
time_namelookup: 2.486754 s
time_pretransfer: 3.288320 s
time_redirect: 0.000000 s
time_starttransfer: 3.780341 s
time_total: 22.078489 s
➜ ~ measure_get https://berlin.guixsd.org/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 66.6M 100 66.6M 0 0 3499k 0 0:00:19 0:00:19 --:--:-- 4011k
url_effective: https://berlin.guixsd.org/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
http_code: 200
num_connects: 1
num_redirects: 0
remote_ip: 141.80.181.40
remote_port: 443
size_download: 69899433 B
speed_download: 3583667.000 B/s
time_appconnect: 0.761166 s
time_connect: 0.244415 s
time_namelookup: 0.000981 s
time_pretransfer: 0.761275 s
time_redirect: 0.000000 s
time_starttransfer: 1.247935 s
time_total: 19.505515 s
#+END_EXAMPLE
berlin-mirror.marusich.info:
#+BEGIN_EXAMPLE
➜ ~ measure_get https://berlin-mirror.marusich.info/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
49 66.6M 49 32.8M 0 0 19012 0 1:01:16 0:30:13 0:31:03 29265
url_effective: https://berlin-mirror.marusich.info/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
http_code: 200
num_connects: 1
num_redirects: 0
remote_ip: 52.85.158.22
remote_port: 443
size_download: 34488133 B
speed_download: 19012.000 B/s
time_appconnect: 2.958899 s
time_connect: 2.487483 s
time_namelookup: 2.271520 s
time_pretransfer: 2.959321 s
time_redirect: 0.000000 s
time_starttransfer: 5.447693 s
time_total: 1813.938029 s
curl: (92) HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)
#+END_EXAMPLE
Although both 13.35.20.0/24 and 52.85.158.0/24 IP ranges are located at Seattle,
the result shows that the connection to 13.35.20.0/24 is significantly faster.
This is pretty normal in China. It's definitely caused by the GFW. Giant
internet service providers (e.g. AWS) are the primary targets of the GFW.
WARNING: multiple messages have this Message-ID (diff)
From: Meiyo Peng <meiyo.peng@gmail.com>
To: Chris Marusich <cmmarusich@gmail.com>
Cc: guix-devel@gnu.org, 33600@debbugs.gnu.org
Subject: [bug#33600] CDN performance
Date: Sat, 22 Dec 2018 00:04:12 +0800 [thread overview]
Message-ID: <87y38isw77.fsf@gmail.com> (raw)
In-Reply-To: <87o99f9o2t.fsf@gmail.com> (Chris Marusich's message of "Fri, 21 Dec 2018 02:22:18 -0800")
Hi Chris,
Thank you for your patience!
Chris Marusich <cmmarusich@gmail.com> writes:
> Can you also share what numbers you get when you run measure_get against
> berlin.guixsd.org directly? Clearly, the connection from you to
> CloudFront is not as performant as it is for others in other parts of
> the world, but I wonder if it's still better than accessing berlin
> directly. If you could run measure_get against berlin directly and
> share the numbers, we can see if it represents any significant
> improvement for you.
1. Tested today at home. China Unicom home broadband. 50Mb/s.
berlin.guixsd.org:
#+BEGIN_EXAMPLE
➜ ~ measure_get https://berlin.guixsd.org/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
54 66.6M 54 36.3M 0 0 14981 0 1:17:45 0:42:25 0:35:20 0
url_effective: https://berlin.guixsd.org/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
http_code: 200
num_connects: 1
num_redirects: 0
remote_ip: 141.80.181.40
remote_port: 443
size_download: 38141765 B
speed_download: 14981.000 B/s
time_appconnect: 3.228601 s
time_connect: 2.213136 s
time_namelookup: 0.856194 s
time_pretransfer: 3.228820 s
time_redirect: 0.000000 s
time_starttransfer: 3.851583 s
time_total: 2545.889968 s
curl: (56) GnuTLS recv error (-54): Error in the pull function.
➜ ~ measure_get https://berlin.guixsd.org/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 66.6M 100 66.6M 0 0 20415 0 0:57:03 0:57:03 --:--:-- 25983
url_effective: https://berlin.guixsd.org/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
http_code: 200
num_connects: 1
num_redirects: 0
remote_ip: 141.80.181.40
remote_port: 443
size_download: 69899433 B
speed_download: 20415.000 B/s
time_appconnect: 2.005881 s
time_connect: 0.785257 s
time_namelookup: 0.000520 s
time_pretransfer: 2.006124 s
time_redirect: 0.000000 s
time_starttransfer: 3.031582 s
time_total: 3423.813489 s
#+END_EXAMPLE
berlin-mirror.marusich.info:
#+BEGIN_EXAMPLE
➜ ~ measure_get https://berlin-mirror.marusich.info/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 66.6M 100 66.6M 0 0 1470k 0 0:00:46 0:00:46 --:--:-- 2368k
url_effective: https://berlin-mirror.marusich.info/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
http_code: 200
num_connects: 1
num_redirects: 0
remote_ip: 13.35.20.87
remote_port: 443
size_download: 69899433 B
speed_download: 1505934.000 B/s
time_appconnect: 3.343496 s
time_connect: 3.164926 s
time_namelookup: 3.060655 s
time_pretransfer: 3.343581 s
time_redirect: 0.000000 s
time_starttransfer: 5.766543 s
time_total: 46.416495 s
➜ ~ measure_get https://berlin-mirror.marusich.info/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 66.6M 100 66.6M 0 0 3182k 0 0:00:21 0:00:21 --:--:-- 4612k
url_effective: https://berlin-mirror.marusich.info/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
http_code: 200
num_connects: 1
num_redirects: 0
remote_ip: 13.35.20.87
remote_port: 443
size_download: 69899433 B
speed_download: 3259170.000 B/s
time_appconnect: 0.225982 s
time_connect: 0.070428 s
time_namelookup: 0.000483 s
time_pretransfer: 0.226055 s
time_redirect: 0.000000 s
time_starttransfer: 0.306621 s
time_total: 21.447966 s
#+END_EXAMPLE
2. Tested today at my office. China Telecom enterprise broadband. 50Mb/s.
berlin.guixsd.org:
#+BEGIN_EXAMPLE
➜ ~ measure_get https://berlin.guixsd.org/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 66.6M 100 66.6M 0 0 3091k 0 0:00:22 0:00:22 --:--:-- 3649k
url_effective: https://berlin.guixsd.org/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
http_code: 200
num_connects: 1
num_redirects: 0
remote_ip: 141.80.181.40
remote_port: 443
size_download: 69899433 B
speed_download: 3166021.000 B/s
time_appconnect: 3.288213 s
time_connect: 2.733554 s
time_namelookup: 2.486754 s
time_pretransfer: 3.288320 s
time_redirect: 0.000000 s
time_starttransfer: 3.780341 s
time_total: 22.078489 s
➜ ~ measure_get https://berlin.guixsd.org/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 66.6M 100 66.6M 0 0 3499k 0 0:00:19 0:00:19 --:--:-- 4011k
url_effective: https://berlin.guixsd.org/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
http_code: 200
num_connects: 1
num_redirects: 0
remote_ip: 141.80.181.40
remote_port: 443
size_download: 69899433 B
speed_download: 3583667.000 B/s
time_appconnect: 0.761166 s
time_connect: 0.244415 s
time_namelookup: 0.000981 s
time_pretransfer: 0.761275 s
time_redirect: 0.000000 s
time_starttransfer: 1.247935 s
time_total: 19.505515 s
#+END_EXAMPLE
berlin-mirror.marusich.info:
#+BEGIN_EXAMPLE
➜ ~ measure_get https://berlin-mirror.marusich.info/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
49 66.6M 49 32.8M 0 0 19012 0 1:01:16 0:30:13 0:31:03 29265
url_effective: https://berlin-mirror.marusich.info/nar/gzip/1bq783rbkzv9z9zdhivbvfzhsz2s5yac-linux-libre-4.19
http_code: 200
num_connects: 1
num_redirects: 0
remote_ip: 52.85.158.22
remote_port: 443
size_download: 34488133 B
speed_download: 19012.000 B/s
time_appconnect: 2.958899 s
time_connect: 2.487483 s
time_namelookup: 2.271520 s
time_pretransfer: 2.959321 s
time_redirect: 0.000000 s
time_starttransfer: 5.447693 s
time_total: 1813.938029 s
curl: (92) HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)
#+END_EXAMPLE
Although both 13.35.20.0/24 and 52.85.158.0/24 IP ranges are located at Seattle,
the result shows that the connection to 13.35.20.0/24 is significantly faster.
This is pretty normal in China. It's definitely caused by the GFW. Giant
internet service providers (e.g. AWS) are the primary targets of the GFW.
next prev parent reply other threads:[~2018-12-21 16:04 UTC|newest]
Thread overview: 72+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-03 15:43 [PATCH 0/3] Defaulting to ci.guix.info (aka. berlin.guixsd.org) Ludovic Courtès
2018-12-03 16:12 ` Using a CDN or some other mirror? Ludovic Courtès
2018-12-03 20:47 ` Ricardo Wurmus
2018-12-04 10:40 ` Hartmut Goebel
2018-12-04 14:05 ` Ludovic Courtès
2018-12-04 17:03 ` Pjotr Prins
2018-12-04 17:58 ` Thompson, David
2018-12-05 2:32 ` Meiyo Peng
2018-12-05 5:38 ` Leo Famulari
2018-12-05 10:59 ` Pierre Neidhardt
2018-12-05 11:46 ` Hartmut Goebel
2018-12-07 14:05 ` Ludovic Courtès
2018-12-09 9:44 ` Hartmut Goebel
2018-12-04 21:15 ` ng0
2018-12-04 21:50 ` Thompson, David
2018-12-05 9:28 ` ng0
2018-12-09 3:33 ` Chris Marusich
2018-12-09 12:12 ` Hartmut Goebel
2018-12-09 13:58 ` Ludovic Courtès
2018-12-11 16:38 ` Giovanni Biscuolo
2018-12-11 16:38 ` [bug#33600] " Giovanni Biscuolo
2018-12-14 8:35 ` Hartmut Goebel
2018-12-14 8:35 ` [bug#33600] " Hartmut Goebel
2018-12-14 9:02 ` Pierre Neidhardt
2018-12-14 14:48 ` Compressing nars with lzip or similar Ludovic Courtès
2018-12-14 14:48 ` [bug#33600] " Ludovic Courtès
2018-12-14 15:21 ` Pierre Neidhardt
2018-12-15 12:17 ` Pierre Neidhardt
2018-12-15 18:06 ` Ludovic Courtès
2018-12-15 18:06 ` [bug#33600] " Ludovic Courtès
2019-03-05 11:36 ` Pierre Neidhardt
2018-12-15 18:04 ` Ludovic Courtès
2018-12-14 14:45 ` Using a CDN or some other mirror? Ludovic Courtès
2018-12-09 15:59 ` CDN performance Ludovic Courtès
2018-12-11 5:17 ` Meiyo Peng
[not found] ` <CAAYZrgbOZYyKhaHzziWfKz-nHVcUWS6WCo4TAq8bbDn9=YMTZA@mail.gmail.com>
2018-12-11 5:59 ` Meiyo Peng
[not found] ` <CAAYZrgb431xW1RD0Hf0d15T3AiW5yZWLL6oqHsyanv1qSf8Zuw@mail.gmail.com>
2018-12-11 6:14 ` Meiyo Peng
2018-12-13 7:11 ` Chris Marusich
2018-12-17 6:48 ` Meiyo Peng
2018-12-17 6:48 ` [bug#33600] " Meiyo Peng
2018-12-21 10:22 ` Chris Marusich
2018-12-21 16:04 ` Meiyo Peng [this message]
2018-12-21 16:04 ` [bug#33600] " Meiyo Peng
2018-12-13 8:05 ` Chris Marusich
2018-12-13 10:41 ` Giovanni Biscuolo
2018-12-15 1:40 ` Mark H Weaver
2018-12-19 12:40 ` Giovanni Biscuolo
2018-12-21 0:23 ` Trustworthiness of build farms (was Re: CDN performance) Mark H Weaver
2018-12-21 20:47 ` CDN performance Marius Bakke
2018-12-21 20:47 ` [bug#33600] " Marius Bakke
2018-12-24 14:47 ` Ricardo Wurmus
2018-12-14 10:26 ` guix.gnu.org sub-domain Ludovic Courtès
2018-12-15 23:20 ` Chris Marusich
2018-12-15 23:20 ` [bug#33600] " Chris Marusich
2019-01-25 4:54 ` Amin Bandali
2018-12-14 10:35 ` CDN performance Ludovic Courtès
2018-12-13 9:21 ` Using a CDN or some other mirror? Giovanni Biscuolo
2018-12-14 12:17 ` Chris Marusich
2018-12-03 18:20 ` [PATCH 0/3] Defaulting to ci.guix.info (aka. berlin.guixsd.org) Amin Bandali
2018-12-04 14:11 ` Ludovic Courtès
2018-12-11 5:41 ` Amin Bandali
2018-12-03 23:44 ` Mark H Weaver
2018-12-04 5:55 ` Ricardo Wurmus
2018-12-04 5:55 ` [bug#33600] " Ricardo Wurmus
2018-12-04 9:03 ` Ludovic Courtès
2018-12-04 10:08 ` Andreas Enge
2018-12-04 8:59 ` Andreas Enge
2018-12-04 10:28 ` Ludovic Courtès
2018-12-04 10:46 ` Andreas Enge
2018-12-04 14:12 ` Ludovic Courtès
2018-12-04 3:40 ` Meiyo Peng
2018-12-04 14:13 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y38isw77.fsf@gmail.com \
--to=meiyo.peng@gmail.com \
--cc=33600@debbugs.gnu.org \
--cc=cmmarusich@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.