Skip to content

fix(bbr3): Call on_packet_sent when ACK-eliciting data is sent#689

Merged
flub merged 1 commit into
mainfrom
flub/bbr3-on-packet-sent
Jun 3, 2026
Merged

fix(bbr3): Call on_packet_sent when ACK-eliciting data is sent#689
flub merged 1 commit into
mainfrom
flub/bbr3-on-packet-sent

Conversation

@flub
Copy link
Copy Markdown
Collaborator

@flub flub commented Jun 3, 2026

Description

It seems this was missed when this was ported from the upstream
PR. This is different from #657 which was doing this unconditionally,
regardless when the packet needed to be accounted for congestion
control or whether it was ack-eliciting.

I did not continue the tests. It's something extremely specific and
artificial that is being tested. It's like testing everything with a
mock, I'm not sure the value it provides is worth all the stuff that
is setup. Ideally we figure out a better way to test that congestion
controllers actually behave correctly sometime.

Breaking Changes

none

Notes & open questions

Replaces #657, I considered taking it over. But this way I can't
approve my own PR.

Change checklist

  • Self-review.

It seems this was missed when this was ported from the upstream
PR. This is different from #657 which was doing this unconditionally,
regardless when the packet needed to be accounted for congestion
control or whether it was ack-eliciting.

I did not continue the tests. It's something extremely specific and
artificial that is being tested. It's like testing everything with a
mock, I'm not sure the value it provides is worth all the stuff that
is setup. Ideally we figure out a better way to test that congestion
controllers actually behave correctly sometime.
@n0bot n0bot Bot added this to iroh Jun 3, 2026
@github-project-automation github-project-automation Bot moved this to 🚑 Needs Triage in iroh Jun 3, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 3, 2026

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/noq/pr/689/docs/noq/

Last updated: 2026-06-03T13:54:58Z

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 3, 2026

Performance Comparison Report

8c800fc1c77edaf1133c413c0ee847cf6e525dfc - artifacts

Raw Benchmarks (localhost)

Scenario noq upstream Delta CPU (avg/max)
large-single 5253.6 Mbps 7881.9 Mbps -33.3% 95.9% / 100.0%
medium-concurrent 5408.4 Mbps 7743.0 Mbps -30.2% 95.8% / 148.0%
medium-single 3808.2 Mbps 4706.2 Mbps -19.1% 97.8% / 150.0%
small-concurrent 3739.1 Mbps 5228.9 Mbps -28.5% 93.9% / 102.0%
small-single 3395.0 Mbps 4772.3 Mbps -28.9% 92.8% / 101.0%

Netsim Benchmarks (network simulation)

Condition noq upstream Delta
ideal N/A 4050.6 Mbps N/A
lan N/A 810.4 Mbps N/A
lossy N/A 55.9 Mbps N/A
wan N/A 83.8 Mbps N/A

Summary

noq is 28.8% slower on average

Copy link
Copy Markdown
Member

@matheus23 matheus23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to work with sendme for me.

@flub flub added this pull request to the merge queue Jun 3, 2026
Copy link
Copy Markdown
Collaborator

@Arqu Arqu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep!

Merged via the queue into main with commit 9eb1729 Jun 3, 2026
39 checks passed
@flub flub deleted the flub/bbr3-on-packet-sent branch June 3, 2026 16:19
@github-project-automation github-project-automation Bot moved this from 🚑 Needs Triage to ✅ Done in iroh Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants