Last active
August 29, 2015 14:17
-
-
Save snikulov/cba685bf45c9fd06ee07 to your computer and use it in GitHub Desktop.
Linux UDP tunning
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 sudo sysctl -w net.ipv4.udp_rmem_min=131072 | |
35 sudo sysctl -w net.ipv4.udp_wmem_min=131072 | |
37 sudo sysctl -w net.core.rmem_max=67108864 | |
39 sudo sysctl -w net.ipv4.udp_mem='262144 327680 393216' | |
>>>>>>>>>>> old values <<<<<<<<<<<<<<<<<<< | |
diode@tx:~$ sudo sysctl net |grep mem | |
[sudo] password for diode: | |
net.core.wmem_max = 2097152 | |
net.core.rmem_max = 2097152 | |
net.core.wmem_default = 2097152 | |
net.core.rmem_default = 2097152 | |
net.core.optmem_max = 20480 | |
net.ipv4.igmp_max_memberships = 20 | |
net.ipv4.tcp_mem = 96168 128224 192336 | |
net.ipv4.tcp_wmem = 4096 16384 4103168 | |
net.ipv4.tcp_rmem = 4096 87380 4103168 | |
net.ipv4.udp_mem = 96168 128224 192336 | |
net.ipv4.udp_rmem_min = 4096 | |
net.ipv4.udp_wmem_min = 4096 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment