I would like to run simulations on the Linux TCP receive buffer to find out how big my buffer has to be.
Is there any software available to perform such simulation? It would be handy to be able to fill up the buffer to see what happens with my application.
Update: It seems like we are using to big buffers, because we get buffer overruns. Our network is at 1Gbit and ping is only 0,08ms. Our buffer settings look like this:
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.conf.all.rp_filter = 1
fs.inotify.max_user_watches = 65536
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.core.rmem_default = 1733248
net.core.wmem_default = 1733248
net.ipv4.tcp_rmem = 4096 1733248 16777216
net.ipv4.tcp_wmem = 4096 1733248 16777216
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_timestamps = 1