From 127627d1fa61616f29ae870f51a69e3956d57e11 Mon Sep 17 00:00:00 2001 From: clowwindy Date: Thu, 2 Oct 2014 12:41:44 -0700 Subject: [PATCH] Amending should not be just appending the new knowledge at the end of the article. And it should be simple enough. --- Optimizing-Shadowsocks.md | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/Optimizing-Shadowsocks.md b/Optimizing-Shadowsocks.md index c3a7873..c43c837 100644 --- a/Optimizing-Shadowsocks.md +++ b/Optimizing-Shadowsocks.md @@ -27,7 +27,8 @@ net.ipv4.tcp_fastopen = 3 net.ipv4.tcp_rmem = 4096 87380 67108864 net.ipv4.tcp_wmem = 4096 65536 67108864 net.ipv4.tcp_mtu_probing = 1 -net.ipv4.tcp_congestion_control = hybla +net.ipv4.tcp_congestion_control = hybla # for high-latency network +# net.ipv4.tcp_congestion_control = cubic # for low-latency network, use cubic instead ``` Then: @@ -61,15 +62,4 @@ reduce the size of rmem and wmem. Before & after: -![cc](https://cloud.githubusercontent.com/assets/1073082/3296349/10c34b04-f5d9-11e3-95fc-e38f5299c274.jpg) - - -**NOTICE** - -Hybla may not be suitable for low-latency network. cubic is probably a better choice for you. - -you You must select `net.ipv4.tcp_congestion_control = hybla` or `net.ipv4.tcp_congestion_control = cubic` based on test. - -Eg. - -![cubic](https://raw.githubusercontent.com/mengskysama/wiki/master/sad.png) \ No newline at end of file +![cc](https://cloud.githubusercontent.com/assets/1073082/3296349/10c34b04-f5d9-11e3-95fc-e38f5299c274.jpg) \ No newline at end of file