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

Slow transfer rate #688

Closed
vjyanand opened this issue Mar 17, 2020 · 2 comments
Closed

Slow transfer rate #688

vjyanand opened this issue Mar 17, 2020 · 2 comments

Comments

@vjyanand
Copy link

Trying to send a file from client to server using quinn . I see time taken to transfer files is 5x slower than scp. Here is code for Server and Client. Can you please help me identify issue in using the library. Sorry, if I ask, but I don't understand slowness with the code.

@Ralith
Copy link
Collaborator

Ralith commented Mar 17, 2020

Thanks for the report! I had a look through your code and didn't see any obvious mistakes. Can you provide some details on your test environment? In particular:

  • Debug or release build
  • Theoretical link capacity on client/server
  • Latency and packet loss on the path
  • Exact speeds observed for scp and quinn
  • Any observed variation in quinn speed over the course of a single large transfer
  • What CPU the client/server have
  • CPU load on client/server before and during transfer
  • client/server OS

Quinn could definitely be faster (see e.g. #501) but we reliably hit >1Gbps on loopback tests, so depending on details it's possible there's something interesting going on here.

@Ralith
Copy link
Collaborator

Ralith commented Apr 3, 2020

Closing as it's been more than two weeks without any response from reporter.

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