_(Strongly Recommended for upgrading)_
- Smooth dataflow curve by setting
MaxStreamWindowSize
tosockbuf(hidden)
. - Half CPU usage by using
recv()
syscall instead ofrecvfrom()
syscall. (client only)
_(强烈建议升级)_
- 设置
MaxStreamWindowSize
值为sockbuf(隐)
,以期望平滑数据传输曲线。 - 调整UDP接收的系统调用,
recvfrom()
改为recv()
,降低客户端CPU消耗(一半以上)。
_compiler: go version go1.7rc6 darwin/amd64_
MD5 (kcptun-linux-amd64-20160811.tar.gz) = 976250b8e44c696bd5c0a66a9c274067
MD5 (kcptun-linux-386-20160811.tar.gz) = 623c9d5ed4ace14dba17401e51bd3c79
MD5 (kcptun-darwin-amd64-20160811.tar.gz) = 5f6f642be0c202960faf0b22abe09b64
MD5 (kcptun-darwin-386-20160811.tar.gz) = 0f8f7bf8461f801616d50db685aad496
MD5 (kcptun-windows-amd64-20160811.tar.gz) = eeaea3dece0d0ab515676d959075e100
MD5 (kcptun-windows-386-20160811.tar.gz) = 5708b35642658c818d773c5c3ba8a857
MD5 (kcptun-freebsd-amd64-20160811.tar.gz) = 79b48193147100497944493832be62d6
MD5 (kcptun-freebsd-386-20160811.tar.gz) = 774f9454d44e5141340b5dcdb2cf95c3
MD5 (kcptun-linux-arm-20160811.tar.gz) = c2584fad1e76d3ede74b23cf33bc96d9
mips32 version: https://github.com/bettermanbao/openwrt-kcptun/releases