[erlang-questions] Gen_UDP Packet Loss

Andrei Dziahel develop7@REDACTED
Wed Jul 30 21:16:35 CEST 2014


Do you think fetching packets from passive socket (created with {active,
false}) with gen_udp:recv (in separate process ofc) would help prevent
packet drops?


On Wed, Jul 30, 2014 at 10:06 PM, Max Lapshin <max.lapshin@REDACTED> wrote:

> I've spent lot of time to make capturing of 600 mbit/s of udp traffic
> without loss.
>
> Don't specify buffer size in erlang, use system variables.
>
>
>
>
>
>
>
> sysctl -w net.core.rmem_max=1048576
> sysctl -w net.core.rmem_default=1048576
> sysctl -w net.ipv4.udp_mem="8388608 12582912 16777216"
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>


-- 
Regards,
Andrei Dziahel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140730/e6986174/attachment.htm>


More information about the erlang-questions mailing list