All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/netperf: move SITE so s.b.n
Date: Tue, 8 Jun 2021 18:36:44 +0200	[thread overview]
Message-ID: <20210608163644.GN168928@scaer> (raw)
In-Reply-To: <874ke9xw4j.fsf@dell.be.48ers.dk>

Peter, All,

On 2021-06-07 22:22 +0200, Peter Korsgaard spake thusly:
> >>>>> "Arnout" == Arnout Vandecappelle <arnout@mind.be> writes:
>  >  Wouldn't it be possible to route sources.buildroot.org through cloudflare as well?
> It would, but there were some complications back when we set it up,
> E.G. you need to use cloudflares DNS servers and we didn't originally
> have control of the buildroot.org.
> 
> Only having cloudflare on one of the domains was also quite handy for
> comparing behaviour when debugging in the beginning.
> 
> But yeah, we should probably use the same setup for both domains now. We
> originally put Cloudflare in front because of bandwidth/latency issues
> with s.b.o for some users. Given that Cloudflare is a bit controversial,
> it is maybe worth checking if we should keep on using it or drop it.

I think we should keep s.b.n, and that we should keep it as the default
in all our settings: backup mirror, _SOURCES...

Also, I think we should keep s.b.o as uncached, so that we have a
fallback.

> According to the Cloudflare stats, ~45% of the requests are cached,
> saving ~1TB traffic/month.

I have really no idea whether a less-than-half cache-hit ratio is good
or not, especially for our use-case.

However, is this 45% ratio a hit ratio, or a volume ratio?

Also, how much of those are due to our autobuilders? To packages without
_SOURCES pointing to sbn (i.e. actual fallbacks)?

> Thomas, I think you had performance issues in the beginning, can you
> compare speed again?

Here are a few totally non-scientific tests, done on a machine that has
no caching proxy, and a direct 1Gbps connection to the internet; both
URLs where downloaded using wget:

http://sources.buildroot.net/linux/linux-cip-4.19.98-cip19-rt7.tar.gz (CDN)
  - first run (uncached?):  2021-06-08 18:21:12 (6.08 MB/s) - ?linux-cip-4.19.98-cip19-rt7.tar.gz? saved [161511299/161511299]
  - second run (cached?):   2021-06-08 18:21:20 (88.5 MB/s) - ?linux-cip-4.19.98-cip19-rt7.tar.gz? saved [161511299/161511299]

http://sources.buildroot.org/linux/linux-cip-4.19.98-cip19-rt7.tar.gz (direct)
  - first run (uncached?):  2021-06-08 18:22:40 (4.36 MB/s) - ?linux-cip-4.19.98-cip19-rt7.tar.gz? saved [161511299/161511299]
  - second run (cached?):   2021-06-08 18:23:00 (16.0 MB/s) - ?linux-cip-4.19.98-cip19-rt7.tar.gz? saved [161511299/161511299]
  - third run (cached?):    2021-06-08 18:24:00 (17.2 MB/s) - ?linux-cip-4.19.98-cip19-rt7.tar.gz? saved [161511299/161511299]

http://sources.buildroot.net/linux/linux-cip-4.19.98-cip19-rt7.tar.gz (CDN, again)
  - third run (cached?):    2021-06-08 18:24:17 (92.1 MB/s) - ?linux-cip-4.19.98-cip19-rt7.tar.gz? saved [161511299/161511299]

So, basically, the unseeded s.b.n is ~50% faster than unseeded s.b.o.
But once seeded s.b.n is ~20 times faster than unseeded s.b.o, and even
~6 times faster than seeded s.b.o.

So the CDN (s.b.n) does have a positive impact.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2021-06-08 16:36 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-27 12:50 [Buildroot] [PATCH] package/netperf: move SITE so s.b.n Baruch Siach
2021-06-01 20:15 ` Arnout Vandecappelle
2021-06-02 17:27   ` Baruch Siach
2021-06-02 17:30     ` Arnout Vandecappelle
2021-06-02 17:34 ` Arnout Vandecappelle
2021-06-02 17:35   ` Arnout Vandecappelle
2021-06-02 17:50     ` Baruch Siach
2021-06-02 20:33       ` Arnout Vandecappelle
2021-06-06  7:21       ` Peter Korsgaard
2021-06-07 19:00         ` Arnout Vandecappelle
2021-06-07 20:22           ` Peter Korsgaard
2021-06-08 16:36             ` Yann E. MORIN [this message]
2021-06-10 20:10 ` Peter Korsgaard

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=20210608163644.GN168928@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /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.
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.