Repository navigation
fix: don't count FC-blocked time against rwnd auto-tuning - #3642
larseggert wants to merge 1 commit into
Conversation
|
Wow this did not happen in manual testing! |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3642 +/- ##
==========================================
- Coverage 96.91% 96.76% -0.16%
==========================================
Files 113 118 +5
Lines 39533 39908 +375
Branches 39533 39908 +375
==========================================
+ Hits 38315 38616 +301
- Misses 1203 1267 +64
- Partials 15 25 +10
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
7ed50a9 to
881414c
Compare
…to-tuning When the peer reports being blocked or has used all its credit, count at most one RTT of the time since the last window update as sending time. The rest was spent waiting for the update, and counting it made the measured consumption rate look too low to grow the window, so the peer stayed blocked.
881414c to
b287175
Compare
Performance profiles for profiler.firefox.comBenchmarks (14)
|
Failed Interop TestsQUIC Interop Runner, client vs. server, differences relative to
All resultsSucceeded Interop TestsQUIC Interop Runner, client vs. server neqo-pr as client
neqo-pr as server
Unsupported Interop TestsQUIC Interop Runner, client vs. server neqo-pr as client
neqo-pr as server
|
Benchmark resultsNo significant performance differences relative to 57ac6ca. All resultstransfer/1-conn/1-100mb-resp (aka. Download)/mtu-1504: Change within noise threshold. time: [160.56 ms 160.90 ms 161.24 ms]
thrpt: [620.20 MiB/s 621.51 MiB/s 622.82 MiB/s]
change:
time: [+0.0997% +0.3908% +0.6632%] (p = 0.00 < 0.05)
thrpt: [-0.6588% -0.3893% -0.0996%]
Change within noise threshold.
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high mildtransfer/1-conn/10_000-parallel-1b-resp (aka. RPS)/mtu-1504: Change within noise threshold. time: [220.11 ms 220.51 ms 220.94 ms]
thrpt: [45.261 Kelem/s 45.350 Kelem/s 45.431 Kelem/s]
change:
time: [-1.3313% -1.1204% -0.9103%] (p = 0.00 < 0.05)
thrpt: [+0.9187% +1.1330% +1.3492%]
Change within noise threshold.
Found 3 outliers among 100 measurements (3.00%)
2 (2.00%) high mild
1 (1.00%) high severetransfer/1-conn/1-1b-resp (aka. HPS)/mtu-1504: No change in performance detected. time: [35.979 ms 36.075 ms 36.174 ms]
thrpt: [27.644 B/s 27.720 B/s 27.794 B/s]
change:
time: [-0.0370% +0.3231% +0.6797%] (p = 0.09 > 0.05)
thrpt: [-0.6751% -0.3221% +0.0370%]
No change in performance detected.
Found 4 outliers among 100 measurements (4.00%)
4 (4.00%) high mildtransfer/1-conn/1-100mb-req (aka. Upload)/mtu-1504: Change within noise threshold. time: [160.82 ms 161.12 ms 161.43 ms]
thrpt: [619.46 MiB/s 620.66 MiB/s 621.83 MiB/s]
change:
time: [+0.8359% +1.0861% +1.3275%] (p = 0.00 < 0.05)
thrpt: [-1.3101% -1.0744% -0.8290%]
Change within noise threshold.streams/walltime/1-streams/each-1000-bytes: No change in performance detected. time: [547.50 µs 549.46 µs 551.74 µs]
thrpt: [1.7285 MiB/s 1.7356 MiB/s 1.7419 MiB/s]
change:
time: [-0.1907% +0.3144% +0.8069%] (p = 0.22 > 0.05)
thrpt: [-0.8004% -0.3134% +0.1911%]
No change in performance detected.
Found 11 outliers among 100 measurements (11.00%)
1 (1.00%) high mild
10 (10.00%) high severestreams/walltime/1000-streams/each-1-bytes: Change within noise threshold. time: [10.592 ms 10.606 ms 10.620 ms]
thrpt: [91.953 KiB/s 92.076 KiB/s 92.196 KiB/s]
change:
time: [+0.0391% +0.2487% +0.4452%] (p = 0.02 < 0.05)
thrpt: [-0.4432% -0.2481% -0.0391%]
Change within noise threshold.streams/walltime/1000-streams/each-1000-bytes: Change within noise threshold. time: [30.536 ms 30.569 ms 30.602 ms]
thrpt: [31.164 MiB/s 31.198 MiB/s 31.232 MiB/s]
change:
time: [-1.7650% -1.6092% -1.4406%] (p = 0.00 < 0.05)
thrpt: [+1.4617% +1.6355% +1.7967%]
Change within noise threshold.streams-flow-controlled/walltime/1-streams/each-4194304-bytes: Change within noise threshold. time: [26.049 ms 26.080 ms 26.112 ms]
thrpt: [153.19 MiB/s 153.37 MiB/s 153.56 MiB/s]
change:
time: [+0.0146% +0.1937% +0.3829%] (p = 0.04 < 0.05)
thrpt: [-0.3814% -0.1934% -0.0146%]
Change within noise threshold.streams-flow-controlled/walltime/10-streams/each-1048576-bytes: No change in performance detected. time: [71.515 ms 71.587 ms 71.659 ms]
thrpt: [139.55 MiB/s 139.69 MiB/s 139.83 MiB/s]
change:
time: [-0.1532% +0.0015% +0.1545%] (p = 0.98 > 0.05)
thrpt: [-0.1543% -0.0015% +0.1534%]
No change in performance detected.transfer/walltime/pacing-false/varying-seeds: Change within noise threshold. time: [17.144 ms 17.159 ms 17.174 ms]
thrpt: [232.91 MiB/s 233.11 MiB/s 233.32 MiB/s]
change:
time: [-0.8258% -0.7180% -0.6120%] (p = 0.00 < 0.05)
thrpt: [+0.6158% +0.7232% +0.8326%]
Change within noise threshold.transfer/walltime/pacing-true/varying-seeds: Change within noise threshold. time: [17.524 ms 17.534 ms 17.545 ms]
thrpt: [227.98 MiB/s 228.12 MiB/s 228.26 MiB/s]
change:
time: [-0.9280% -0.8385% -0.7486%] (p = 0.00 < 0.05)
thrpt: [+0.7543% +0.8456% +0.9367%]
Change within noise threshold.transfer/walltime/pacing-false/same-seed: No change in performance detected. time: [17.267 ms 17.279 ms 17.292 ms]
thrpt: [231.32 MiB/s 231.49 MiB/s 231.65 MiB/s]
change:
time: [-0.1830% -0.0813% +0.0119%] (p = 0.11 > 0.05)
thrpt: [-0.0119% +0.0814% +0.1833%]
No change in performance detected.
Found 3 outliers among 100 measurements (3.00%)
3 (3.00%) high mildtransfer/walltime/pacing-true/same-seed: Change within noise threshold. time: [17.587 ms 17.599 ms 17.611 ms]
thrpt: [227.13 MiB/s 227.29 MiB/s 227.44 MiB/s]
change:
time: [+0.0131% +0.1029% +0.1929%] (p = 0.03 < 0.05)
thrpt: [-0.1926% -0.1028% -0.0131%]
Change within noise threshold.Instructions per cycleCriterion reported no significant timing changes. All benchmarks
Download data for |
Client/server transfer resultsPerformance differences relative to 57ac6ca. Transfer of 33554432 bytes over loopback, min. 100 runs. All unit-less numbers are in milliseconds.
Table above only shows statistically significant changes. See all results below. All resultsTransfer of 33554432 bytes over loopback, min. 100 runs. All unit-less numbers are in milliseconds.
Download data for |
|
Further testing revealed the issue is actually #3963 |
When the peer reports being blocked or has used all its credit, count at most
one RTT of the time since the last window update as sending time. The rest was
spent waiting for the update, and counting it made the measured consumption rate
look too low to grow the window, so the peer stayed blocked.