-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
network performance is spotty #1241
Comments
i think i found the root cause. tcp over wifi is the worst. just dont do it. |
preliminary tests show that QUIC deals with packet loss much better than tcp (http://www.connectify.me/blog/taking-google-quic-for-a-test-drive/ <- from 2013). So i'm hoping that we will see some good perf improvements when we finally get that. |
@whyrusleeping yeah and because we use one tcp connection, we get the worst of all possible worlds because one drop will back up everything (this is called head-of-line blocking). QUIC fixes this. We may want to write libutp bindings sooner. |
oh yeah, i forgot about that too... super shitty. i was debating asking the QUIC team what another dev could do to help the cause and hacking on that. |
i saw an extraction, we could try to make bindings for it |
closing issue, we have utp, and performance appears to have improved even over tcp |
We should add utp to the bootstrap addrs (when we allow multiple addrs per
|
I put some timers around stream writes and did some testing, the results arent good. Writes will randomly take up to 3 seconds (rare occasion), and in the 800ms -> 1200ms range more frequently. The tests I ran were over wifi LAN, and 'ipfs ping' the peer in question reported an average latency of 2.3ms.
The text was updated successfully, but these errors were encountered: