Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xkcptun 斐讯k2p cpu占用100% #26

Closed
sosmygirl opened this issue Jul 17, 2017 · 1 comment
Closed

xkcptun 斐讯k2p cpu占用100% #26

sosmygirl opened this issue Jul 17, 2017 · 1 comment

Comments

@sosmygirl
Copy link

调节窗口大小,将加密改为none都不能改善。。求如何正确使用
server:
{
"localinterface": "eth0",
"localport": 29900,
"remoteaddr": "127.0.0.1",
"remoteport": 12948,
"key": "xxxxxxxx",
"crypt": "none",
"mode": "fast2",
"mtu": 1350,
"sndwnd": 128,
"rcvwnd": 56,
"datashard": 0,
"parityshard": 0,
"dscp": 0,
"nocomp": true,
"acknodelay": false,
"nodelay": 0,
"interval": 20,
"resend": 2,
"nc": 1,
"sockbuf": 4194304,
"keepalive": 10
}
~
clent:
{
"localinterface": "lo",
"localport": 12948,
"remoteaddr": "xxxxxxx",
"remoteport": 29900,
"key": "xxxxxxxx",
"crypt": "none",
"mode": "fast2",
"mtu": 1350,
"sndwnd": 56,
"rcvwnd": 128,
"datashard": 0,
"parityshard": 0,
"dscp": 0,
"nocomp": true,
"acknodelay": false,
"nodelay": 0,
"interval": 20,
"resend": 2,
"nc": 1,
"sockbuf": 4194304,
"keepalive": 10,
}

@liudf0716
Copy link
Owner

这2个值太小了,分别设置成1024,512试试看

"sndwnd": 128,
"rcvwnd": 56,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants