[erlang-questions] Gen_UDP Packet Loss

Lee Sylvester lee.sylvester@REDACTED
Wed Jul 30 21:24:56 CEST 2014


Okay, so I’m updating them using

sysctl -w kern.ipc.maxsockbuf=16777216
sysctl -w net.inet.tcp.sendspace=1048576
sysctl -w net.inet.tcp.recvspace=1048576

Apparently that produces the same result.  16777216 is reported as too large for the maxsockbuf, though.  I’m on a Macbook Pro with 8Gb.  :rolleyes:

Lee


On 30 Jul 2014, at 20:06, 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"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140730/30d6466d/attachment.htm>


More information about the erlang-questions mailing list