-
Notifications
You must be signed in to change notification settings - Fork 24
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
shoop slower than scp in optimal bandwidth case #28
Comments
Hey @strangeman! Thanks so much for testing. If possible, can you build the latest HEAD (remember to do There was a memory regression but the fix is in a forked library, so I can't publish a more recent release on crates until the dependency merges the fix. |
Even without that, though, we still need to add multithreading to make the high-speed case actually as high-speed as it wants to be :). So basically, yeah, it's not currently optimized for the high-speed, high-reliability case, since I'm stuck in a high-ish-speed, low-reliability case :P. You've inspired me to get on the threading business though... I just replicated your test on two VPS's, and it's making me sad. |
Tested with HEAD version. It's faster (~1.5-2MB/s) than old version (~0.8 MB/s), but still slower than scp (~4MB/s). Anyway, this is a great tool! Hope you'll fix these problems in future. :) |
Cool, I think with threading and limiting the progressbar stdout insanity we should be closer to parity on stable connections, which should also be our goal (never regress from TCP). |
Added basic asynchronous file I/O (client side only right now) and de-crazied stdout, and I'm still only seeing ~40Mbps from two 100Mbps VPSs, so there's something more to it. I haven't profiled the server-side yet, so that's next :). I'm really excited about https://aturon.github.io/blog/2016/08/11/futures/. Given time, I'm also really interested in a better benching framework for shoop, at the very least to refactor enough where we can have a "virtual" perfect UDT connection and have a solid measure on our real max bandwidth. |
Been making some gradual speed improvements over the last few alpha releases, but there's still a big gap in the case of VPS-VPS transfers where we have low-latency 100Mbps-1Gbps connections. The weird thing is, on occassion, I'm seeing the same transfer speed, but often times it will inexplicably drop from 11MB/s to ~5MB/s, making me wonder if this is perhaps a UDT congestion control thing. Still more digging to be done. |
Hi. I tested shoop on my environment and see that it 5x times slower than scp.
My environment:
Client:
Server:
Network and test file:
SCP:
SHOOP:
Why? Did shoop optimised only for slow and unstable connections?
The text was updated successfully, but these errors were encountered: