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

About cpu ressources #331

Closed
limbo127 opened this issue Dec 14, 2016 · 4 comments
Closed

About cpu ressources #331

limbo127 opened this issue Dec 14, 2016 · 4 comments

Comments

@limbo127
Copy link

Hello,
When I do some tests with kcptun on LAN network ( 100Mbit/s) , ~ 500 Kcp clients to one server,
cpu metric for kcp server is less < 10%
The same test with Wan network , kcp server is ~ 90% of cpu ,
is there an explanation ? resend ? error ?

Regards,
Nicolas P.

@xtaci
Copy link
Owner

xtaci commented Dec 14, 2016

try increase -interval to see if it lowers CPU consumption.

if it does, the cause is latency.

@xtaci
Copy link
Owner

xtaci commented Dec 14, 2016

and also, try smaller window size, like 64 or 128

@limbo127
Copy link
Author

I do not see any -interval option in client nor server ? what is about ?

@xtaci
Copy link
Owner

xtaci commented Dec 14, 2016

hidden parameter, -mode manual

#137

@xtaci xtaci closed this as completed Dec 28, 2016
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