diff --git a/README.md b/README.md index c04083f..699a743 100644 --- a/README.md +++ b/README.md @@ -31,11 +31,14 @@ Increase the number of open files on your server, as: `ulimit -n 65535`, or write it in `~/.bashrc`. -Increase the OS UDP buffers to improve performance, as: +Suggested `sysctl.conf` parameters for better handling of UDP packets: ``` net.core.rmem_max=26214400 net.core.rmem_default=26214400 +net.core.wmem_max=26214400 +net.core.wmem_default=26214400 +net.core.netdev_max_backlog=2048 ``` You can also increase the per-socket buffer by adding parameter(default 4MB):