Skip to content

congestion: limit pacing events to 64 per RTT to reduce timer frequency #4931

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marten-seemann
Copy link
Member

Currently, the minimum pacing delay is 1ms. If the bandwidth allows sending more frequently, we instead release a batch of packets into the network every 1ms.

Additionally, we now also limit the number of pacing events to 64 per RTT, i.e. apply a minimum pacing delay of 1/64 RTT. This allows us to arm the pacing timer less frequently, while still achieving most of the benefits of packet pacing.

Currently, the minimum pacing delay is 1ms. If the bandwidth allows
sending more frequently, we instead release a batch of packets into the
network every 1ms.

Additionally, we now also limit the number of pacing events to 64 per
RTT, i.e. apply a minimum pacing delay of 1/64 RTT. This allows us to
arm the pacing timer less frequently, while still achieving most of the
benefits of packet pacing.
Copy link

codecov bot commented Jan 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.76%. Comparing base (9765f54) to head (5fdd06b).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4931   +/-   ##
=======================================
  Coverage   83.76%   83.76%           
=======================================
  Files         152      152           
  Lines       16272    16275    +3     
=======================================
+ Hits        13629    13632    +3     
  Misses       2121     2121           
  Partials      522      522           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@marten-seemann marten-seemann marked this pull request as draft January 27, 2025 05:01
@marten-seemann
Copy link
Member Author

Something is wrong with this PR. It completely kills transfer performance.

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.

1 participant