Repository navigation
bench: time each gap-ack input on its own - #4407
larseggert wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the benchmark’s per-iteration timing adjustment.
No open issues 🎉
What changed in this PR
Updates the transport range-tracker benchmark to reduce timing noise caused by freeing large batches of trackers.
Changes:
- Switches
mark_acked_gap_empty_coveredfromBatchSize::SmallInputtoBatchSize::PerIteration. - Adds a comment explaining how batch deallocation can trigger glibc heap trimming and page faults during subsequent timed work.
| File | Description |
|---|---|
neqo-transport/benches/range_tracker.rs |
Times each gap-ack input separately and documents the allocator-related rationale. |
Review effort: Balanced
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4407 +/- ##
=======================================
Coverage 96.61% 96.62%
=======================================
Files 118 118
Lines 43894 43894
Branches 43894 43894
=======================================
+ Hits 42410 42412 +2
+ Misses 1463 1461 -2
Partials 21 21
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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
|
Merging this PR will degrade performance by 0.6%1 warning
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing |
Client/server transfer resultsPerformance differences relative to c46d346. No significant performance differences. 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 |
Benchmark resultsNo significant performance differences relative to c46d346. All resultstransfer/1-conn/1-100mb-req (aka. Upload)/mtu-1500 time: [62.997 ms 63.028 ms 63.059 ms]
thrpt: [1.5487 GiB/s 1.5494 GiB/s 1.5502 GiB/s]
Found 3 outliers among 100 measurements (3.00%)
2 (2.00%) low mild
1 (1.00%) high mildtransfer/1-conn/1-100mb-resp (aka. Download)/mtu-1500 time: [61.433 ms 61.478 ms 61.524 ms]
thrpt: [1.5873 GiB/s 1.5885 GiB/s 1.5896 GiB/s]
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high mildtransfer/1-conn/1-1b-resp (aka. HPS)/mtu-1500 time: [3.8023 ms 3.8032 ms 3.8041 ms]
thrpt: [262.88 B/s 262.94 B/s 263.00 B/s]
Found 5 outliers among 100 measurements (5.00%)
3 (3.00%) high mild
2 (2.00%) high severetransfer/1-conn/10_000-parallel-1b-resp (aka. RPS)/mtu-1500 time: [87.867 ms 88.025 ms 88.185 ms]
thrpt: [113.40 Kelem/s 113.60 Kelem/s 113.81 Kelem/s]streams-flow-controlled/walltime/1-streams/each-4194304-bytes time: [13.175 ms 13.180 ms 13.185 ms]
thrpt: [303.36 MiB/s 303.49 MiB/s 303.61 MiB/s]
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high mildstreams-flow-controlled/walltime/10-streams/each-1048576-bytes time: [36.129 ms 36.180 ms 36.228 ms]
thrpt: [276.03 MiB/s 276.40 MiB/s 276.78 MiB/s]streams/walltime/1-streams/each-1000-bytes time: [161.18 µs 161.86 µs 162.73 µs]
thrpt: [5.8605 MiB/s 5.8919 MiB/s 5.9167 MiB/s]
Found 2 outliers among 100 measurements (2.00%)
2 (2.00%) high mildstreams/walltime/1000-streams/each-1-bytes time: [4.7670 ms 4.7691 ms 4.7713 ms]
thrpt: [204.68 KiB/s 204.77 KiB/s 204.86 KiB/s]
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) low mildstreams/walltime/1000-streams/each-1000-bytes time: [15.320 ms 15.328 ms 15.335 ms]
thrpt: [62.188 MiB/s 62.219 MiB/s 62.251 MiB/s]
Found 4 outliers among 100 measurements (4.00%)
3 (3.00%) low mild
1 (1.00%) high mildtransfer/walltime/pacing-false/same-seed time: [3.2574 ms 3.2590 ms 3.2610 ms]
thrpt: [1.1979 GiB/s 1.1986 GiB/s 1.1992 GiB/s]transfer/walltime/pacing-false/varying-seeds time: [3.4885 ms 3.4898 ms 3.4910 ms]
thrpt: [1.1189 GiB/s 1.1193 GiB/s 1.1197 GiB/s]
Found 11 outliers among 100 measurements (11.00%)
1 (1.00%) low mild
9 (9.00%) high mild
1 (1.00%) high severetransfer/walltime/pacing-true/same-seed time: [3.9803 ms 3.9816 ms 3.9830 ms]
thrpt: [1004.3 MiB/s 1004.6 MiB/s 1004.9 MiB/s]
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high mildtransfer/walltime/pacing-true/varying-seeds time: [3.8348 ms 3.8396 ms 3.8461 ms]
thrpt: [1.0157 GiB/s 1.0174 GiB/s 1.0186 GiB/s]Instructions per cycleCriterion reported no significant timing changes. All benchmarks
Profiles for profiler.firefox.com (64)
Download data for |
Dropping a batch of grown trackers at once lets glibc trim the heap, which the next timed batch then faults back in.