Created
January 9, 2015 07:37
-
-
Save danish-rehman/65596368202ed1b899a6 to your computer and use it in GitHub Desktop.
Change TCP window size
This file contains hidden or 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
# Current receiver window size (12Mb) | |
>> sudo su | |
>> echo 'net.ipv4.tcp_rmem= 4096 87380 12582912' >> /etc/sysctl.conf | |
>> sysctl -p | |
# Current sender window size (12Mb) | |
>> sudo su | |
>> echo 'net.ipv4.tcp_rmem= 4096 87380 12582912' >> /etc/sysctl.conf | |
>> sysctl -p | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment