[erlang-questions] Erlang distribution links don't fully utilise available resources - OTP 22.0.2 - Why?

Lukas Larsson lukas@REDACTED
Wed Jun 19 09:27:10 CEST 2019


On Tue, Jun 18, 2019 at 11:15 PM Gerhard Lazu <gerhard@REDACTED> wrote:

> https://github.com/erlang/otp/pull/2291 is an improvement for larger
> payloads, not so much for smaller ones.
>
> 60 KB - 13.6 Gbit/s (down from 14.4 Gbit/s)
> 120 KB - 12.8 Gbit/s (down from 14.4 Gbit/s)
> 10MB - 8.8 Gbit/s (up from 7.6 Gbit/s)
> 100MB - 5.8 Gbit/s (up from 4.3 Gbit/s)
>
> This is OTP 22.0.2
> https://grafana.gcp.rabbitmq.com/dashboard/snapshot/SDr2EWgaD2KOX5i0H154UvzoHRS68FV0
>
> This is OTP 22.0.3 + PR 2291
> https://grafana.gcp.rabbitmq.com/dashboard/snapshot/8yxY61o140gvAKXFthgIVCes2oW2Owa7
>
> Will try https://github.com/erlang/otp/pull/2293 tomorrow
>

Just keep in mind that these optimizations work great for when you are
sending large binary terms. If you were to send the same data but as a
list, you are back where you started again. So as always when you do
benchmarks, make sure that you are testing with data that is close to what
you expect your application to actually send.

Lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190619/4efeb36c/attachment.htm>


More information about the erlang-questions mailing list