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

fix: Do CC reaction before largest_acked #2117

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

larseggert
Copy link
Collaborator

Packets are only declared as lost relative to largest_acked. If we hit a PTO while we don't have a largest_acked yet, also do a congestion control reaction (because otherwise none would happen).

Broken out of #1998

Packets are only declared as lost relative to `largest_acked`. If we hit
a PTO while we don't have a largest_acked yet, also do a congestion
control reaction (because otherwise none would happen).

Broken out of mozilla#1998
Copy link

codecov bot commented Sep 16, 2024

Codecov Report

Attention: Patch coverage is 97.91667% with 1 line in your changes missing coverage. Please review.

Project coverage is 95.31%. Comparing base (9dd05bb) to head (fb1cec9).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
neqo-transport/src/path.rs 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2117      +/-   ##
==========================================
- Coverage   95.35%   95.31%   -0.04%     
==========================================
  Files         112      112              
  Lines       36319    36336      +17     
==========================================
+ Hits        34631    34635       +4     
- Misses       1688     1701      +13     

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

Copy link

github-actions bot commented Sep 16, 2024

Failed Interop Tests

QUIC Interop Runner, client vs. server

neqo-latest as client

neqo-latest as server

All results

Succeeded Interop Tests

QUIC Interop Runner, client vs. server

neqo-latest as client

neqo-latest as server

Unsupported Interop Tests

QUIC Interop Runner, client vs. server

neqo-latest as client

neqo-latest as server

Copy link

github-actions bot commented Sep 16, 2024

Benchmark results

Performance differences relative to d6279bf.

coalesce_acked_from_zero 1+1 entries: No change in performance detected.
       time:   [99.438 ns 99.719 ns 100.01 ns]
       change: [-0.4364% +0.0395% +0.5615%] (p = 0.88 > 0.05)

Found 10 outliers among 100 measurements (10.00%)
5 (5.00%) high mild
5 (5.00%) high severe

coalesce_acked_from_zero 3+1 entries: No change in performance detected.
       time:   [117.26 ns 117.62 ns 118.00 ns]
       change: [-0.6458% -0.1973% +0.2207%] (p = 0.40 > 0.05)

Found 15 outliers among 100 measurements (15.00%)
2 (2.00%) low mild
1 (1.00%) high mild
12 (12.00%) high severe

coalesce_acked_from_zero 10+1 entries: No change in performance detected.
       time:   [116.81 ns 117.18 ns 117.64 ns]
       change: [-1.0289% -0.4360% +0.0725%] (p = 0.13 > 0.05)

Found 12 outliers among 100 measurements (12.00%)
1 (1.00%) low severe
6 (6.00%) low mild
5 (5.00%) high severe

coalesce_acked_from_zero 1000+1 entries: No change in performance detected.
       time:   [97.079 ns 97.264 ns 97.480 ns]
       change: [-0.6852% +0.4086% +1.6834%] (p = 0.52 > 0.05)

Found 8 outliers among 100 measurements (8.00%)
3 (3.00%) high mild
5 (5.00%) high severe

RxStreamOrderer::inbound_frame(): Change within noise threshold.
       time:   [110.71 ms 110.76 ms 110.81 ms]
       change: [-0.3997% -0.3321% -0.2675%] (p = 0.00 < 0.05)

Found 9 outliers among 100 measurements (9.00%)
8 (8.00%) low mild
1 (1.00%) high mild

transfer/pacing-false/varying-seeds: No change in performance detected.
       time:   [26.782 ms 27.891 ms 29.016 ms]
       change: [-6.4286% -0.8510% +5.6097%] (p = 0.79 > 0.05)

Found 3 outliers among 100 measurements (3.00%)
1 (1.00%) low mild
2 (2.00%) high mild

transfer/pacing-true/varying-seeds: No change in performance detected.
       time:   [34.845 ms 36.669 ms 38.548 ms]
       change: [-7.2368% -0.0108% +7.6072%] (p = 0.99 > 0.05)

Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high mild

transfer/pacing-false/same-seed: No change in performance detected.
       time:   [26.459 ms 27.238 ms 28.026 ms]
       change: [-0.6291% +3.6689% +8.2630%] (p = 0.10 > 0.05)
transfer/pacing-true/same-seed: No change in performance detected.
       time:   [39.796 ms 41.815 ms 43.918 ms]
       change: [-9.0481% -3.0255% +3.6467%] (p = 0.37 > 0.05)

Found 3 outliers among 100 measurements (3.00%)
3 (3.00%) high mild

1-conn/1-100mb-resp (aka. Download)/client: Change within noise threshold.
       time:   [113.34 ms 113.74 ms 114.12 ms]
       thrpt:  [876.29 MiB/s 879.19 MiB/s 882.30 MiB/s]
change:
       time:   [-1.0108% -0.5857% -0.1549%] (p = 0.01 < 0.05)
       thrpt:  [+0.1551% +0.5892% +1.0211%]

Found 3 outliers among 100 measurements (3.00%)
2 (2.00%) low severe
1 (1.00%) low mild

1-conn/10_000-parallel-1b-resp (aka. RPS)/client: No change in performance detected.
       time:   [314.44 ms 317.97 ms 321.44 ms]
       thrpt:  [31.110 Kelem/s 31.450 Kelem/s 31.803 Kelem/s]
change:
       time:   [-1.9215% -0.2966% +1.2368%] (p = 0.71 > 0.05)
       thrpt:  [-1.2217% +0.2974% +1.9591%]
1-conn/1-1b-resp (aka. HPS)/client: Change within noise threshold.
       time:   [33.732 ms 33.952 ms 34.187 ms]
       thrpt:  [29.251  elem/s 29.453  elem/s 29.646  elem/s]
change:
       time:   [-1.9084% -1.0144% -0.1813%] (p = 0.03 < 0.05)
       thrpt:  [+0.1816% +1.0248% +1.9455%]

Found 5 outliers among 100 measurements (5.00%)
5 (5.00%) high mild

Client/server transfer results

Transfer of 33554432 bytes over loopback.

Client Server CC Pacing Mean [ms] Min [ms] Max [ms] Relative
msquic msquic 234.6 ± 119.5 102.7 574.5 1.00
neqo msquic reno on 290.4 ± 101.3 215.1 474.1 1.00
neqo msquic reno 268.0 ± 88.0 208.1 469.2 1.00
neqo msquic cubic on 255.9 ± 69.2 212.2 441.7 1.00
neqo msquic cubic 246.4 ± 68.7 214.5 461.6 1.00
msquic neqo reno on 148.3 ± 93.7 80.8 387.8 1.00
msquic neqo reno 149.7 ± 97.0 83.3 360.8 1.00
msquic neqo cubic on 113.5 ± 58.9 80.9 327.1 1.00
msquic neqo cubic 150.2 ± 97.3 82.4 369.2 1.00
neqo neqo reno on 191.2 ± 90.6 125.7 432.4 1.00
neqo neqo reno 232.4 ± 134.1 125.1 556.6 1.00
neqo neqo cubic on 257.5 ± 106.8 138.2 424.5 1.00
neqo neqo cubic 198.9 ± 91.2 122.4 461.7 1.00

⬇️ Download logs

Copy link

github-actions bot commented Sep 16, 2024

Firefox builds for this PR

The following builds are available for testing. Crossed-out builds did not succeed.

@larseggert
Copy link
Collaborator Author

@martinthomson I'd appreciate a review, since the code I am touching is pretty complex.

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