Skip to content
New issue

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

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

Already on GitHub? # to your account

Very slow data transfer #87

Closed
ghost opened this issue Mar 31, 2019 · 7 comments
Closed

Very slow data transfer #87

ghost opened this issue Mar 31, 2019 · 7 comments

Comments

@ghost
Copy link

ghost commented Mar 31, 2019

Hello,

when I copy a movie from my notebook the a Vmware machine hosted on the same notebook the speed is maxed out at ca. 10 MB/s. Also the transfer aborted several times and had to be restarted.

Slow

That seems to be a limitation of the TAP driver which "emulates" a 100MBit connection, thus limits itself to 12 MB/s. Maybe on Linux there is no such a limit as I read some users have much faster speeds with n2n.

Is there any way to drop TAP driver and its limitations and get a proper dedicated n2n network driver one day ?

@ghost
Copy link
Author

ghost commented Mar 31, 2019

I tried the n2n edition of myerd:
https://github.com/meyerd/n2n

Better

Speed is pretty constant at 12MB/s and the 3GB file was transferred without a single abort which is much better 🥇

@emanuele-f
Copy link
Contributor

Have you performed the tests without encryption and with latest version from github?

@ghost
Copy link
Author

ghost commented Mar 31, 2019

Hello,

the compiled code is unchanged from current master.

How do you disable encryption ? The docs are not very clear how to set encryption modes.

@emanuele-f
Copy link
Contributor

If you omit the -k option then the encryption will be disabled

@ghost
Copy link
Author

ghost commented Apr 6, 2019

Sry for the delay to reply. Just tested without -k and the result is the same. The main issue seems to be the link speed of 100 MBit of the Tap driver which somehow is enforced as a hard limit. Maybe another Windows user can test this, too.

@emanuele-f
Copy link
Contributor

I've found this OpenVPN/tap-windows#6 but I don't know if such speed is actually relevant

@lucaderi
Copy link
Member

@ghost Please update the code as with the latest enhancements the overall speed should have been greatly enhanced

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants