-
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
Stall under high load #61
Comments
Update: 08-06-21: The above does not reproduce on @marten-seemann's machine. This is stalled until we get more information or the ability to reproduce. @raulk any assistance would be appreciated. |
Context: this was biting Lotus. Lotus worked around this by downgrading the version of yamux used. |
Update: I have a theory that this is caused by synchronous writes. The changes in question make the stream window ramp up over multiple round-trips instead of starting out at a full 16MiB (which is what go-libp2p-yamux configured the window to be in the past). Now that it ramps up slowly, attempting to write a megabyte may now block waiting for the other side to read. |
This has been pinned for a while under suspicion that it was causing graphsync stalls. However, the libp2p team has been unable to reliably reproduce the issue and believes that it's likely a graphsync issue. Libp2p issue: libp2p/go-yamux#61
Closing since haven't been able to reproduce at the yamux layer and Lotus is now unpinned per filecoin-project/lotus#7532 |
It appears that transfer can stall under high load. Reproducer is https://github.com/raulk/whitenoise/tree/repro/lotus-6602.
This appears to have been introduced in the recent send window changes.
The text was updated successfully, but these errors were encountered: