-
Notifications
You must be signed in to change notification settings - Fork 719
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
BBR2 - Fixes and updates #1521
BBR2 - Fixes and updates #1521
Conversation
Pass a whole lost packet (Sent) to congestion_event() hook, to use some of the information of lost packet.
This is needed in BBR2 module.
94dd685
to
0248838
Compare
{Sent|Acked}.{tx_in_flight|lost} is current bytes_in_flight and bytes_lost counter when the packet is sent. This is needed for BBR2 module.
Based on draft-cardwell-iccrg-bbr-congestion-control-02. Largely based on bbr module but most of functions are renamed/changed a bit. per_loss.rs contains loss-related functions.
FTR, this is based on top of #1218. |
07a2c3c
to
93808bd
Compare
quiche/src/recovery/bbr2/per_ack.rs
Outdated
|
||
fn bbr2_handle_queue_too_high_in_startup(r: &mut Recovery) { | ||
r.bbr2_state.filled_pipe = true; | ||
bbr2_inflight(r, r.bbr2_state.max_bw, 1.0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the Linux implementation, we need to assign the calculated inflight to inflight_hi variable which is part of long term model.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch! Updated. Thanks :)
quiche/src/recovery/bbr2/per_ack.rs
Outdated
// Another round w/o much growth | ||
r.bbr2_state.full_bw_count += 1; | ||
|
||
if r.bbr2_state.full_bw_count >= 3 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move 3 into a constant
Pass a whole lost packet (Sent) to congestion_event() hook, to use some of the information of lost packet.
This is needed in BBR2 module.
{Sent|Acked}.{tx_in_flight|lost} is current bytes_in_flight and bytes_lost counter when the packet is sent. This is needed for BBR2 module.
Based on draft-cardwell-iccrg-bbr-congestion-control-02. Largely based on bbr module but most of functions are renamed/changed a bit. per_loss.rs contains loss-related functions.
…correct bytes_in_flight
93808bd
to
8680b1d
Compare
f7bb08e
to
dbc5eb8
Compare
BUG FIXES
minRTT
is never updated unless a smaller value is measuredEDITS OBTAINED FROM LINUX IMPLEMENTATION OF BBRV2
MY EDITS
MinRTT
,MaxBW
and ACK aggregation - all windows updated to use a function of RTT, instead of static values (currently uses the most recent value to account for transient network variations, should optimize)ProbeRTT
phase. ProbeRTT was defined in the draft to probe the path for bandwidth during a session (long-lived sessions would benefit). It reduces bytes in flight in order to probe for RTT, needs more work to figure out when we do this.