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

docs(transport/cubic): add references to RFC 8312 #2344

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

Conversation

mxinden
Copy link
Collaborator

@mxinden mxinden commented Jan 12, 2025

Improves documentation in general and adds references to the relevant sections of RFC 8312.

Once we update to RFC 9438 (#1912), we should reference RFC 9438 instead.

Copy link

codecov bot commented Jan 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.01%. Comparing base (085fa62) to head (528338b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2344      +/-   ##
==========================================
- Coverage   95.29%   93.01%   -2.28%     
==========================================
  Files         114      114              
  Lines       36844    36850       +6     
  Branches    36844    36850       +6     
==========================================
- Hits        35110    34276     -834     
- Misses       1728     1796      +68     
- Partials        6      778     +772     

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

Copy link

github-actions bot commented Jan 12, 2025

Failed Interop Tests

QUIC Interop Runner, client vs. server, differences relative to 085fa62.

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 Jan 12, 2025

Benchmark results

Performance differences relative to 085fa62.

decode 4096 bytes, mask ff: No change in performance detected.
       time:   [11.143 µs 11.171 µs 11.206 µs]
       change: [-0.6481% -0.2745% +0.0744%] (p = 0.14 > 0.05)

Found 16 outliers among 100 measurements (16.00%)
2 (2.00%) low severe
6 (6.00%) low mild
2 (2.00%) high mild
6 (6.00%) high severe

decode 1048576 bytes, mask ff: No change in performance detected.
       time:   [3.0178 ms 3.0274 ms 3.0385 ms]
       change: [-1.0086% -0.3313% +0.2865%] (p = 0.33 > 0.05)

Found 12 outliers among 100 measurements (12.00%)
2 (2.00%) low mild
10 (10.00%) high severe

decode 4096 bytes, mask 7f: No change in performance detected.
       time:   [19.518 µs 19.566 µs 19.620 µs]
       change: [-0.3276% -0.0010% +0.3190%] (p = 0.99 > 0.05)

Found 16 outliers among 100 measurements (16.00%)
2 (2.00%) low severe
14 (14.00%) high severe

decode 1048576 bytes, mask 7f: No change in performance detected.
       time:   [5.1575 ms 5.1686 ms 5.1815 ms]
       change: [-1.4041% -0.4952% +0.1221%] (p = 0.25 > 0.05)

Found 12 outliers among 100 measurements (12.00%)
12 (12.00%) high severe

decode 4096 bytes, mask 3f: No change in performance detected.
       time:   [5.5262 µs 5.5470 µs 5.5736 µs]
       change: [-0.7139% -0.2108% +0.2712%] (p = 0.40 > 0.05)

Found 15 outliers among 100 measurements (15.00%)
8 (8.00%) low mild
3 (3.00%) high mild
4 (4.00%) high severe

decode 1048576 bytes, mask 3f: 💔 Performance has regressed.
       time:   [1.7805 ms 1.7930 ms 1.8056 ms]
       change: [+1.3207% +1.9762% +2.6831%] (p = 0.00 < 0.05)

Found 24 outliers among 100 measurements (24.00%)
24 (24.00%) high severe

coalesce_acked_from_zero 1+1 entries: No change in performance detected.
       time:   [98.969 ns 99.308 ns 99.662 ns]
       change: [-0.1455% +0.9080% +2.4907%] (p = 0.21 > 0.05)

Found 14 outliers among 100 measurements (14.00%)
8 (8.00%) high mild
6 (6.00%) high severe

coalesce_acked_from_zero 3+1 entries: No change in performance detected.
       time:   [116.57 ns 116.83 ns 117.12 ns]
       change: [-0.8009% -0.3031% +0.1242%] (p = 0.22 > 0.05)

Found 14 outliers among 100 measurements (14.00%)
2 (2.00%) low mild
4 (4.00%) high mild
8 (8.00%) high severe

coalesce_acked_from_zero 10+1 entries: No change in performance detected.
       time:   [116.58 ns 117.11 ns 117.72 ns]
       change: [-0.2020% +0.4362% +1.1727%] (p = 0.23 > 0.05)

Found 17 outliers among 100 measurements (17.00%)
4 (4.00%) low severe
1 (1.00%) low mild
2 (2.00%) high mild
10 (10.00%) high severe

coalesce_acked_from_zero 1000+1 entries: No change in performance detected.
       time:   [97.453 ns 101.37 ns 110.23 ns]
       change: [-0.4462% +3.0665% +8.9215%] (p = 0.33 > 0.05)

Found 10 outliers among 100 measurements (10.00%)
4 (4.00%) high mild
6 (6.00%) high severe

RxStreamOrderer::inbound_frame(): Change within noise threshold.
       time:   [111.53 ms 111.59 ms 111.64 ms]
       change: [+0.1032% +0.2617% +0.3815%] (p = 0.00 < 0.05)

Found 12 outliers among 100 measurements (12.00%)
9 (9.00%) low mild
3 (3.00%) high mild

SentPackets::take_ranges: No change in performance detected.
       time:   [5.4979 µs 5.6467 µs 5.8041 µs]
       change: [-3.1568% -0.4709% +2.2046%] (p = 0.74 > 0.05)

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

transfer/pacing-false/varying-seeds: Change within noise threshold.
       time:   [42.457 ms 42.551 ms 42.649 ms]
       change: [+1.3523% +1.6671% +1.9587%] (p = 0.00 < 0.05)

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

transfer/pacing-true/varying-seeds: Change within noise threshold.
       time:   [42.885 ms 42.965 ms 43.048 ms]
       change: [+1.8584% +2.1571% +2.4598%] (p = 0.00 < 0.05)

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

transfer/pacing-false/same-seed: Change within noise threshold.
       time:   [42.666 ms 42.746 ms 42.838 ms]
       change: [+1.4870% +1.7300% +1.9990%] (p = 0.00 < 0.05)

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

transfer/pacing-true/same-seed: Change within noise threshold.
       time:   [42.739 ms 42.825 ms 42.920 ms]
       change: [+2.9551% +3.2279% +3.5297%] (p = 0.00 < 0.05)

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

1-conn/1-100mb-resp/mtu-1504 (aka. Download)/client: No change in performance detected.
       time:   [920.73 ms 932.25 ms 944.04 ms]
       thrpt:  [105.93 MiB/s 107.27 MiB/s 108.61 MiB/s]
change:
       time:   [-0.9853% +0.7055% +2.4190%] (p = 0.42 > 0.05)
       thrpt:  [-2.3619% -0.7005% +0.9951%]
1-conn/10_000-parallel-1b-resp/mtu-1504 (aka. RPS)/client: Change within noise threshold.
       time:   [320.80 ms 322.98 ms 325.17 ms]
       thrpt:  [30.754 Kelem/s 30.962 Kelem/s 31.172 Kelem/s]
change:
       time:   [+0.3356% +1.3179% +2.3204%] (p = 0.01 < 0.05)
       thrpt:  [-2.2678% -1.3008% -0.3345%]
1-conn/1-1b-resp/mtu-1504 (aka. HPS)/client: No change in performance detected.
       time:   [34.198 ms 34.415 ms 34.653 ms]
       thrpt:  [28.858  elem/s 29.057  elem/s 29.242  elem/s]
change:
       time:   [-0.5569% +0.2964% +1.2146%] (p = 0.50 > 0.05)
       thrpt:  [-1.2000% -0.2956% +0.5600%]

Found 10 outliers among 100 measurements (10.00%)
2 (2.00%) low mild
2 (2.00%) high mild
6 (6.00%) high severe

1-conn/1-100mb-resp/mtu-1504 (aka. Upload)/client: Change within noise threshold.
       time:   [1.7182 s 1.7361 s 1.7539 s]
       thrpt:  [57.015 MiB/s 57.601 MiB/s 58.199 MiB/s]
change:
       time:   [+0.2539% +1.5888% +2.9871%] (p = 0.03 < 0.05)
       thrpt:  [-2.9005% -1.5639% -0.2533%]

Client/server transfer results

Transfer of 33554432 bytes over loopback.

Client Server CC Pacing MTU Mean [ms] Min [ms] Max [ms]
gquiche gquiche 1504 535.1 ± 38.4 509.0 634.3
neqo gquiche reno on 1504 743.1 ± 31.3 721.4 827.5
neqo gquiche reno 1504 793.8 ± 104.3 699.2 982.5
neqo gquiche cubic on 1504 752.7 ± 35.4 716.1 844.5
neqo gquiche cubic 1504 744.8 ± 34.8 706.6 813.4
msquic msquic 1504 141.8 ± 87.7 91.0 367.2
neqo msquic reno on 1504 211.4 ± 9.5 196.4 228.2
neqo msquic reno 1504 249.6 ± 81.5 199.5 450.4
neqo msquic cubic on 1504 212.2 ± 9.8 200.4 228.5
neqo msquic cubic 1504 213.8 ± 11.9 200.9 241.6
gquiche neqo reno on 1504 721.4 ± 141.5 544.4 930.5
gquiche neqo reno 1504 673.7 ± 89.2 555.4 814.9
gquiche neqo cubic on 1504 678.3 ± 85.4 556.2 799.9
gquiche neqo cubic 1504 689.9 ± 103.7 558.7 911.3
msquic neqo reno on 1504 478.7 ± 9.7 461.6 492.6
msquic neqo reno 1504 497.4 ± 59.2 453.1 618.9
msquic neqo cubic on 1504 478.1 ± 13.7 460.5 499.2
msquic neqo cubic 1504 476.0 ± 29.9 453.5 552.2
neqo neqo reno on 1504 443.3 ± 11.4 429.9 461.6
neqo neqo reno 1504 432.1 ± 13.4 419.6 458.5
neqo neqo cubic on 1504 484.5 ± 59.4 445.1 596.5
neqo neqo cubic 1504 450.7 ± 10.8 436.1 471.9

⬇️ Download logs

neqo-transport/src/cc/cubic.rs Outdated Show resolved Hide resolved
@mxinden mxinden enabled auto-merge January 13, 2025 13:13
@larseggert
Copy link
Collaborator

@mxinden LGTM modulo the clippy issue

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.

2 participants