[erlang-questions] Gen_UDP Packet Loss

Lee Sylvester lee.sylvester@REDACTED
Wed Jul 30 21:18:03 CEST 2014


I don’t think that would make any difference, since the packets never show up in the message stack, anyway.

Lee


On 30 Jul 2014, at 20:16, Andrei Dziahel <develop7@REDACTED> wrote:

> 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
> _______________________________________________
> 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/20140730/e3d24920/attachment.htm>


More information about the erlang-questions mailing list