Connection freezes in high_bandwidth
russelltg opened this issue · 5 comments
Steps to reproduce:
Set the default buffer sizes to be larger (this should be an option that we expose, but for now it isn't):
sudo sysctl -w net.core.rmem_default=8388608
sudo sysctl -w net.core.wmem_default=8388608
Run the high_bandwidth test:
cargo test --release --test=high_bandwidth -- --nocapture
And notice after a few seconds it freezes. You may have to tweak the bandwidth by changing the RATE_MBPS
constant to get it to repro (higher if it's working properly, lower if it isn't delivering the requested bandwidth).
This may or may not be reproducible outside of Linux, haven't tried.
Is this resolved with the latest build? The latest changes might have fixed this too.
This may be fixed, but the high_bandwidth test still freezes up when ran for long enough at high enough bandwidth, so I think I'll leave it open
I agree, though ensure you are running it in release mode, at high speeds and too low of a latency setting, it's highly sensitive to thread timing. It might be interesting to see if this behavior could be reproduced in a "faster than real time" test.
Yep, that would be great to repro in a deterministic way. I am running in release, I put my repro steps in the original issue