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

low performance of tap device on windows #49

Open
snail007 opened this issue Aug 27, 2018 · 3 comments
Open

low performance of tap device on windows #49

snail007 opened this issue Aug 27, 2018 · 3 comments

Comments

@snail007
Copy link

I tried water on windos,use tap device process some IP packet traffic,
such as :
using mysql GUI client connect to local mysql server through tap device's IP,when opening table (less data),it is very slow , but without tap, it is very fast, i chehcked the go pprof ,find out that 99% CPU time is used by io.Copy.
Looking forward to your suggestion!

@lixin9311
Copy link
Collaborator

Thank you for report this issue.
If it is possible, can you provide the minimal code to reproduce the issue?

@snail007
Copy link
Author

snail007 commented Aug 30, 2018

Thanks for your reply, attachment (sample.zip) is my go code and go pprof file.
My Environment :
System : windows7 64bit
TAP driver : https://build.openvpn.net/downloads/releases/tap-windows-9.22.1-I602.exe
Go version : 1.10.3
Localhost : MySQL Server
MySQL GUI Client : navicat

Constantly opening a new table in navicat will reveal a slow response.

Looking forward to your reply.

sample.zip

@weiyixuan
Copy link

You can change the TAP driver:https://build.openvpn.net/downloads/releases/tap-windows-9.9.2_3.exe
For win7,the new drivers will cause low performance.

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

3 participants