github xtaci/kcptun v20160811
Smooth dataflow curve & Half CPU usage for client

latest releases: v20241031, v20240919, v20240906...
8 years ago

_(Strongly Recommended for upgrading)_

  1. Smooth dataflow curve by setting MaxStreamWindowSize to sockbuf(hidden).
  2. Half CPU usage by using recv() syscall instead of recvfrom() syscall. (client only)

_(强烈建议升级)_

  1. 设置MaxStreamWindowSize 值为 sockbuf(隐),以期望平滑数据传输曲线。
  2. 调整UDP接收的系统调用,recvfrom() 改为 recv(),降低客户端CPU消耗(一半以上)。

改之前:
before

改之后:
after

_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

Don't miss a new kcptun release

NewReleases is sending notifications on new releases.