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

Set BURST to 1 by default for bandwidthratedunqueue #403

Merged
merged 2 commits into from
Oct 29, 2024
Merged

Conversation

tbarbette
Copy link
Owner

Reading 32 packets will lead to very large imprecision in term of byts

Reading 32 packets will lead to very large imprecision in term of byts
@tbarbette
Copy link
Owner Author

@mihaibrodschi this looks good now. With the fix it's consistent and I think the new values make sense.

@mihaibrodschi
Copy link
Contributor

Great! Just one question, from a performance standpoint, isn't setting the burst to 1 the same as (or worse than) disabling batching?

@tbarbette
Copy link
Owner Author

Yes, but the user can set BURST 32, and anyway one should avoid pull mode. In push mode the problem does not happen.

@tbarbette tbarbette merged commit eba5769 into main Oct 29, 2024
26 checks passed
@tbarbette
Copy link
Owner Author

I will add a warning.

@tbarbette
Copy link
Owner Author

Just pushed. If you're up to it you can create something like ExactBandwidthRatedUnqueue which has this internal queue :)

@tbarbette tbarbette deleted the PRfixbw branch October 29, 2024 13:55
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

Successfully merging this pull request may close these issues.

2 participants