Updated Optimizing Shadowsocks (markdown)

clowwindy 2014-06-14 23:18:28 -07:00
parent 4f5ecf150a
commit 62ae726af1

@ -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)