From 62ae726af145fe804bba06b89b9773c1ca5a9dcd Mon Sep 17 00:00:00 2001 From: clowwindy Date: Sat, 14 Jun 2014 23:18:28 -0700 Subject: [PATCH] Updated Optimizing Shadowsocks (markdown) --- Optimizing-Shadowsocks.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Optimizing-Shadowsocks.md b/Optimizing-Shadowsocks.md index 689d432..599fe46 100644 --- a/Optimizing-Shadowsocks.md +++ b/Optimizing-Shadowsocks.md @@ -30,3 +30,11 @@ Then: sysctl -p Warning: **DO NOT ENABLE `net.ipv4.tcp_tw_recycle`!!!** See [this article](http://vincent.bernat.im/en/blog/2014-tcp-time-wait-state-linux.html). + +After optimizing, Shadowsocks should be able to handle thousands of connections with about 20MB memory and < 10% CPU. + +![if_eth0-day](https://cloud.githubusercontent.com/assets/1073082/3280283/2fc1c782-f454-11e3-8cec-75e1615e6ca8.png) + +![fw_conntrack-day](https://cloud.githubusercontent.com/assets/1073082/3280285/57f68cb0-f454-11e3-99dc-ad0ad39dce48.png) + +![cpu-day](https://cloud.githubusercontent.com/assets/1073082/3280292/c4371598-f454-11e3-9241-26b5a5f5502b.png)