Updated TCP Fast Open (markdown)

clowwindy 2014-05-31 03:53:22 -07:00
parent a7814d0c08
commit 0c816bbe39

@ -1,10 +1,10 @@
If both of your server and client are deployed on Linux 3.7+, you can turn on If both of your server and client are deployed on Linux 3.7+, you can turn on
fast_open for lower latency. fast_open for lower latency.
Turn on fast open temporarily: Turn on fast open on your OS temporarily:
echo 3 > /proc/sys/net/ipv4/tcp_fastopen echo 3 > /proc/sys/net/ipv4/tcp_fastopen
Then set fast_open to true in your config.json. To turn on fast open permanently, see [Optimizing Shadowsocks](https://github.com/clowwindy/shadowsocks/wiki/Optimizing-Shadowsocks).
To turn on fast open permanently, see [Optimizing Shadowsocks](https://github.com/clowwindy/shadowsocks/wiki/Optimizing-Shadowsocks). Then set fast_open to true in your config.json.