-
Notifications
You must be signed in to change notification settings - Fork 668
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
Mirror.exe file transfer performance on remote network share #1246
Comments
Just did some testing and using the /n option results in no changes to performance, but you are probably on the right track with the read size theory, I just wished I knew how to better configure this to claim back the 40% of speed I am losing. There is also a very significant difference to the folder navigation speed when using the mirror vs the native folder, but if I could get the throughput higher I would be happy |
There could be many factors that can slow down mirror. It is basic (no caching, etc.) since it is a sample but I wouldn't expect it to be 40% slower on a clean environment (without antivirus, etc.). I am surprised that folder navigation is noticeably slow. There might be something slowing down Dokany since it can achieve very high read / write speed. Antivirus are usually curious by apps accessing remote content that could be the reason but that's only a guess. You might be able to see with Procmon if there is any filter drivers in the callstack that are accessing the content between dokan driver and explorer (or else). |
Funny thing is when I access files that are on a different computer on the local network I can achieve the same speed with and without dokan (the 1Gbit of the Ethernet port) but not for these remote folders. |
Feature request can skip this form. Bug report must complete it.
Check List
must be 100% match or it will be automatically closed without further discussion. Please remove this line.Environment
Check List
Description
I have this use case where I am using mirror.exe to mount some remote network shares as local drives on a Windows 11 VM.
The shares are connected to via WireGuard VPN and the performance when copying a file via the explorer (without Dokany) is the upload limit of the remote connection (around 40mb/s) but when doing the same operation through Dokany's "local" drive the performance maxes out at around 12mb/s.
However, if I start multiple concurrent copies, I can achieve similar speeds to what I could with a single file transfer without Dokany.
I was wondering if there is anything I can possibly do to improve the performance of this particular scenario.
The performance penalty of using Dokany with a local network share is pretty negligible on the same machine, but this remote drive ends up chocking it.
I appreciate the help!
The text was updated successfully, but these errors were encountered: