Skip to content

fix(bbr3): renew app_limited across boundary and update initial pacing rate on first RTT - #4

Merged
CommaBot merged 1 commit into
stillfail-v1.3from
fix/bbr3-app-limited-and-initial-pacing
Nov 22, 2026
Merged

CommaBot merged 1 commit into
stillfail-v1.3from
fix/bbr3-app-limited-and-initial-pacing

Conversation

@CommaBot

Copy link
Copy Markdown
Collaborator

Fixes two BBRv3 congestion control bugs (upstream n0-computer#852 and n0-computer#802):

  1. noq#852 — app_limited renewal in Bbr3::on_end_acks: Remove else between clearing an expired self.app_limited marker and setting it when app_limited is still true, preventing idle keepalives or flow-controlled streams from generating non-app-limited low-rate samples that collapse max_bw and pacing_rate.
  2. noq#802 — Initial pacing_rate update on first real RTT sample: Add RttEstimator::has_sample() and track Bbr3::has_seen_rtt; on the first on_ack with a real RTT sample, recompute pacing_rate from initial_cwnd, startup_pacing_gain, and rtt.get().max(1ms) and update send_quantum.
  3. Regression unit tests:
    • idle_keepalive_does_not_collapse_max_bw
    • app_limited_flow_control_preserves_max_bw
    • initial_pacing_rate_updates_on_first_rtt_sample

@CommaBot
CommaBot merged commit 78ebd97 into stillfail-v1.3 Nov 22, 2026
3 checks passed
@CommaBot
CommaBot deleted the fix/bbr3-app-limited-and-initial-pacing branch November 22, 2026 06:00
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