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

chore: Invert SNI slicing option to --no-sni-slicing #2388

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

larseggert
Copy link
Collaborator

To be consistent with other options, and so we can actually turn it off.

Also add it to test.sh, so that the tshark parsing works.

To be consistent with other options, and so we can actually turn it off.

Also add it to `test.sh`, so that the `tshark` parsing works.
Copy link
Collaborator

@mxinden mxinden left a comment

Choose a reason for hiding this comment

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

👍 on the consistency.

Regarding turning the previous flag off, didn't --sni-slicing=false work?

Copy link

codecov bot commented Jan 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.29%. Comparing base (7315d10) to head (71aaf6f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2388      +/-   ##
==========================================
- Coverage   95.29%   95.29%   -0.01%     
==========================================
  Files         114      114              
  Lines       36868    36868              
  Branches    36868    36868              
==========================================
- Hits        35135    35134       -1     
- Misses       1727     1728       +1     
  Partials        6        6              

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

Copy link

Failed Interop Tests

QUIC Interop Runner, client vs. server, differences relative to 108fb8d.

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

Benchmark results

Performance differences relative to 7315d10.

decode 4096 bytes, mask ff: No change in performance detected.
       time:   [11.831 µs 11.860 µs 11.896 µs]
       change: [-0.1949% +0.0603% +0.3429%] (p = 0.67 > 0.05)

Found 14 outliers among 100 measurements (14.00%)
1 (1.00%) low severe
5 (5.00%) low mild
1 (1.00%) high mild
7 (7.00%) high severe

decode 1048576 bytes, mask ff: No change in performance detected.
       time:   [2.8848 ms 2.8941 ms 2.9051 ms]
       change: [-0.6739% -0.1689% +0.3309%] (p = 0.52 > 0.05)

Found 8 outliers among 100 measurements (8.00%)
8 (8.00%) high severe

decode 4096 bytes, mask 7f: No change in performance detected.
       time:   [19.800 µs 19.859 µs 19.921 µs]
       change: [-0.3810% +0.0187% +0.3966%] (p = 0.93 > 0.05)

Found 22 outliers among 100 measurements (22.00%)
1 (1.00%) low severe
3 (3.00%) low mild
2 (2.00%) high mild
16 (16.00%) high severe

decode 1048576 bytes, mask 7f: No change in performance detected.
       time:   [5.0691 ms 5.0800 ms 5.0915 ms]
       change: [-0.5812% -0.2170% +0.1414%] (p = 0.25 > 0.05)

Found 13 outliers among 100 measurements (13.00%)
1 (1.00%) low mild
1 (1.00%) high mild
11 (11.00%) high severe

decode 4096 bytes, mask 3f: No change in performance detected.
       time:   [6.8892 µs 6.9071 µs 6.9321 µs]
       change: [-0.9566% -0.3188% +0.3568%] (p = 0.37 > 0.05)

Found 17 outliers among 100 measurements (17.00%)
9 (9.00%) low mild
3 (3.00%) high mild
5 (5.00%) high severe

decode 1048576 bytes, mask 3f: No change in performance detected.
       time:   [1.4141 ms 1.4196 ms 1.4264 ms]
       change: [-0.4978% +0.0864% +0.6727%] (p = 0.80 > 0.05)

Found 10 outliers among 100 measurements (10.00%)
3 (3.00%) high mild
7 (7.00%) high severe

coalesce_acked_from_zero 1+1 entries: No change in performance detected.
       time:   [99.398 ns 99.753 ns 100.12 ns]
       change: [-0.0901% +0.3792% +0.8124%] (p = 0.11 > 0.05)

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

coalesce_acked_from_zero 3+1 entries: Change within noise threshold.
       time:   [117.72 ns 118.11 ns 118.52 ns]
       change: [+0.2721% +0.7744% +1.2895%] (p = 0.00 < 0.05)

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

coalesce_acked_from_zero 10+1 entries: No change in performance detected.
       time:   [117.11 ns 117.50 ns 117.99 ns]
       change: [-0.1549% +0.5349% +1.2525%] (p = 0.14 > 0.05)

Found 14 outliers among 100 measurements (14.00%)
3 (3.00%) low severe
2 (2.00%) low mild
3 (3.00%) high mild
6 (6.00%) high severe

coalesce_acked_from_zero 1000+1 entries: No change in performance detected.
       time:   [98.345 ns 98.498 ns 98.677 ns]
       change: [-0.6442% +0.3296% +1.2938%] (p = 0.52 > 0.05)

Found 12 outliers among 100 measurements (12.00%)
5 (5.00%) high mild
7 (7.00%) high severe

RxStreamOrderer::inbound_frame(): Change within noise threshold.
       time:   [111.57 ms 111.62 ms 111.68 ms]
       change: [+0.1590% +0.2226% +0.2920%] (p = 0.00 < 0.05)

Found 12 outliers among 100 measurements (12.00%)
5 (5.00%) low mild
7 (7.00%) high mild

SentPackets::take_ranges: No change in performance detected.
       time:   [5.4025 µs 5.4884 µs 5.5771 µs]
       change: [-2.0758% +0.5011% +3.4991%] (p = 0.73 > 0.05)

Found 4 outliers among 100 measurements (4.00%)
1 (1.00%) high mild
3 (3.00%) high severe

transfer/pacing-false/varying-seeds: Change within noise threshold.
       time:   [41.513 ms 41.601 ms 41.690 ms]
       change: [+1.6395% +1.9150% +2.2084%] (p = 0.00 < 0.05)
transfer/pacing-true/varying-seeds: Change within noise threshold.
       time:   [41.702 ms 41.771 ms 41.841 ms]
       change: [+1.4315% +1.6758% +1.9180%] (p = 0.00 < 0.05)

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

transfer/pacing-false/same-seed: Change within noise threshold.
       time:   [41.631 ms 41.687 ms 41.744 ms]
       change: [+2.4807% +2.6802% +2.8906%] (p = 0.00 < 0.05)
transfer/pacing-true/same-seed: Change within noise threshold.
       time:   [41.979 ms 42.045 ms 42.110 ms]
       change: [+2.7296% +2.9409% +3.1584%] (p = 0.00 < 0.05)

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

1-conn/1-100mb-resp/mtu-1504 (aka. Download)/client: Change within noise threshold.
       time:   [876.55 ms 886.65 ms 897.16 ms]
       thrpt:  [111.46 MiB/s 112.78 MiB/s 114.08 MiB/s]
change:
       time:   [-3.3446% -1.7569% -0.1784%] (p = 0.04 < 0.05)
       thrpt:  [+0.1787% +1.7883% +3.4603%]

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

1-conn/10_000-parallel-1b-resp/mtu-1504 (aka. RPS)/client: No change in performance detected.
       time:   [315.79 ms 318.18 ms 320.61 ms]
       thrpt:  [31.190 Kelem/s 31.429 Kelem/s 31.667 Kelem/s]
change:
       time:   [-0.7557% +0.2857% +1.3314%] (p = 0.58 > 0.05)
       thrpt:  [-1.3139% -0.2848% +0.7615%]

Found 4 outliers among 100 measurements (4.00%)
1 (1.00%) low mild
3 (3.00%) high mild

1-conn/1-1b-resp/mtu-1504 (aka. HPS)/client: No change in performance detected.
       time:   [34.245 ms 34.395 ms 34.562 ms]
       thrpt:  [28.933  elem/s 29.074  elem/s 29.201  elem/s]
change:
       time:   [-0.7071% +0.0547% +0.8183%] (p = 0.90 > 0.05)
       thrpt:  [-0.8117% -0.0547% +0.7122%]

Found 5 outliers among 100 measurements (5.00%)
1 (1.00%) low mild
1 (1.00%) high mild
3 (3.00%) high severe

1-conn/1-100mb-resp/mtu-1504 (aka. Upload)/client: 💔 Performance has regressed.
       time:   [1.7461 s 1.7633 s 1.7805 s]
       thrpt:  [56.164 MiB/s 56.713 MiB/s 57.271 MiB/s]
change:
       time:   [+1.2137% +2.5193% +3.8662%] (p = 0.00 < 0.05)
       thrpt:  [-3.7223% -2.4574% -1.1992%]

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

Client/server transfer results

Transfer of 33554432 bytes over loopback.

Client Server CC Pacing MTU Mean [ms] Min [ms] Max [ms]
gquiche gquiche 1504 547.1 ± 31.4 518.7 614.0
neqo gquiche reno on 1504 765.4 ± 42.0 730.1 876.8
neqo gquiche reno 1504 757.9 ± 45.0 714.5 875.2
neqo gquiche cubic on 1504 754.6 ± 14.0 733.4 776.7
neqo gquiche cubic 1504 765.5 ± 57.5 718.1 922.2
msquic msquic 1504 146.1 ± 76.0 92.0 362.5
neqo msquic reno on 1504 237.6 ± 59.5 199.5 394.6
neqo msquic reno 1504 214.7 ± 7.0 204.4 227.1
neqo msquic cubic on 1504 215.6 ± 13.0 198.6 241.7
neqo msquic cubic 1504 281.4 ± 79.5 216.0 433.0
gquiche neqo reno on 1504 663.8 ± 80.6 542.7 782.9
gquiche neqo reno 1504 688.6 ± 88.5 545.9 796.2
gquiche neqo cubic on 1504 673.7 ± 84.8 548.3 807.4
gquiche neqo cubic 1504 696.2 ± 117.1 567.1 976.7
msquic neqo reno on 1504 498.8 ± 61.8 463.9 672.7
msquic neqo reno 1504 481.8 ± 63.8 449.7 662.1
msquic neqo cubic on 1504 487.9 ± 44.5 464.3 613.2
msquic neqo cubic 1504 483.8 ± 39.9 456.1 593.9
neqo neqo reno on 1504 492.0 ± 72.3 438.8 631.2
neqo neqo reno 1504 479.4 ± 89.5 397.8 658.3
neqo neqo cubic on 1504 532.8 ± 55.0 477.9 649.3
neqo neqo cubic 1504 453.9 ± 12.2 440.0 471.5

⬇️ Download logs

@larseggert
Copy link
Collaborator Author

error: unexpected value 'false' for '--sni-slicing' found; no more were expected

@larseggert larseggert added this pull request to the merge queue Jan 24, 2025
Merged via the queue into mozilla:main with commit e006a7d Jan 24, 2025
63 of 66 checks passed
@larseggert larseggert deleted the chore-invert-sni-slicing-opt branch January 24, 2025 12:52
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