[erlang-questions] UDP receive performance

Lukas Larsson lukas@REDACTED
Sat May 26 08:17:52 CEST 2018


On Sat, May 26, 2018 at 3:38 AM, Max Lapshin <max.lapshin@REDACTED> wrote:

> Ok, will check with reducing buffer.
>
> We have put 2 MB and even 16 MB because without it, we got packet drops
>

You could also try raising the sbct limit to over 2 MB. i.e.

%% Raise sbct limit
+MBsbct 4096 +MBlmbcs 20480

or

%% lower user-space buffer
Common = [binary,{reuseaddr,true},{buffer,256*1024},{recbuf,2*1024*1024},
inet,{read_packets,100},{active,500}],



>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180526/e2a14880/attachment.htm>


More information about the erlang-questions mailing list