-
Notifications
You must be signed in to change notification settings - Fork 21
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
test performance worsens dramatically after about 2300 sent packets #3
Comments
Looks like this is the result of group reuse before they have been cleaned out. The packets start disappearing after the group number loops back around. If I checkout the commit before 24c143a (Add more robust group closing system), the test works |
Oh sorry for ignoring you. I haven't looked at this project in ages. It would be a good idea to fix this problem so will add it to my TODO list. The Siamese project is a much better project for speeding up reliable in-order data like streaming lossless media or data. I don't have a good codec for doing what Shorthair was for yet. The closest one is trevi: I'm thinking about writing my own version of that type of codec... |
Found the bug: GROUP_TIMEOUT was set too high |
This old code is really hard to incorporate into anything with submodules and stuff. Going to refactor the hell out of this in a minute |
While running
./tester
, I noticed the receive rate suddenly plummets from 99% to below 60% after 2300 sent packets.What is especially concerning is that this happens even if I remove the simulated packet loss.
After further experimentation, the drop point appears to happen sooner with a larger TICK_RATE, unless TICK_RATE >= settings.max_delay, at which point it doesn't seem to drop at all.
I've tested this on Mac OSX El Capitan and Ubuntu 14.04 (with gcc).
Any ideas what is going on here? Am I missing something fundamental about the nature of this library?
The text was updated successfully, but these errors were encountered: