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: update to quinn-udp v0.5.6 #2209

Merged
merged 2 commits into from
Nov 1, 2024
Merged

Conversation

mxinden
Copy link
Collaborator

@mxinden mxinden commented Oct 30, 2024

Currently we use quinn-udp v0.5.4.

quinn-udp v0.5.5 fixes recvmmsg calls on Android x86.

quinn-udp v0.5.6 adds experimental multi-message support on Apple platforms and fixes an unnecessary windows-sys version restriction.

While not strictly necessary, given that our current version specification (i.e. version = "0.5.4") already allows users to use Neqo with quinn-udp v0.5.6, this commit updates to quinn-udp v0.5.6 anyways, thus making sure CI tests with latest version.

In case #2208 lands, future compatible version updates would touch the Cargo.lock file, not Cargo.toml.

Currently we use `quinn-udp` `v0.5.4`.

`quinn-udp` `v0.5.5` fixes [`recvmmsg` calls on Android x86](quinn-rs/quinn#1966).

`quinn-udp` `v0.5.6` adds [experimental multi-message support on Apple
platforms](quinn-rs/quinn#1993) and [fixes an
unnecessary `windows-sys` version
restriction](quinn-rs/quinn#2021).

While not strictly necessary, given that our current version specification (i.e.
`version = "0.5.4"`) already allows users to use Neqo with `quinn-udp` `v0.5.6`,
this commit updates to `quinn-udp` `v0.5.6` anyways, thus making sure CI tests
with latest version.

In case mozilla#2208 lands, future compatible
version updates would touch the `Cargo.lock` file, not `Cargo.toml`.
Copy link

codecov bot commented Oct 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.39%. Comparing base (86d5796) to head (e28c3f5).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2209      +/-   ##
==========================================
+ Coverage   95.38%   95.39%   +0.01%     
==========================================
  Files         112      112              
  Lines       36395    36447      +52     
==========================================
+ Hits        34714    34768      +54     
+ Misses       1681     1679       -2     

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

@mxinden mxinden marked this pull request as ready for review October 30, 2024 11:09
Copy link

github-actions bot commented Oct 30, 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

Cargo.toml Show resolved Hide resolved
@larseggert larseggert added this pull request to the merge queue Oct 30, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 30, 2024
@larseggert
Copy link
Collaborator

larseggert commented Oct 31, 2024

Merge queue CI might be failing because there is no 0.5.6? https://github.com/quinn-rs/quinn/releases (Ah, but there is a tag.)

@mxinden
Copy link
Collaborator Author

mxinden commented Oct 31, 2024

It is green now:

https://github.com/mozilla/neqo/actions/runs/11591731031/job/32320460781?pr=2209

@larseggert I assume you took some action to fix it?

I will attempt another merge through the queue.

Merge queue CI might be failing because there is no 0.5.6? https://github.com/quinn-rs/quinn/releases (Ah, but there is a tag.)

I commented on quinn-rs/quinn#2022. That said, agreed, a tag should suffice. If a tag isn't enough, we will have to adjust our tooling, as we can't require all upstream dependencies to maintain GitHub releases.

@mxinden mxinden added this pull request to the merge queue Oct 31, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 31, 2024
@mxinden
Copy link
Collaborator Author

mxinden commented Oct 31, 2024

I assume failure is due to actions/dependency-review-action#841.

I will create a separate pull request to upgrade to dependency-review-action v0.4.4.

@larseggert larseggert added this pull request to the merge queue Oct 31, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 31, 2024
@larseggert larseggert added this pull request to the merge queue Oct 31, 2024
Copy link

Benchmark results

Performance differences relative to 8e36f63.

coalesce_acked_from_zero 1+1 entries: Change within noise threshold.
       time:   [99.570 ns 99.851 ns 100.15 ns]
       change: [+0.3009% +0.9034% +1.7945%] (p = 0.01 < 0.05)

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

coalesce_acked_from_zero 3+1 entries: Change within noise threshold.
       time:   [118.13 ns 118.52 ns 118.94 ns]
       change: [+0.4849% +0.9381% +1.3892%] (p = 0.00 < 0.05)

Found 17 outliers among 100 measurements (17.00%)
2 (2.00%) low severe
1 (1.00%) low mild
1 (1.00%) high mild
13 (13.00%) high severe

coalesce_acked_from_zero 10+1 entries: No change in performance detected.
       time:   [117.85 ns 118.41 ns 119.05 ns]
       change: [-0.2016% +0.4457% +1.0273%] (p = 0.16 > 0.05)

Found 18 outliers among 100 measurements (18.00%)
6 (6.00%) low severe
2 (2.00%) low mild
2 (2.00%) high mild
8 (8.00%) high severe

coalesce_acked_from_zero 1000+1 entries: Change within noise threshold.
       time:   [98.080 ns 98.174 ns 98.293 ns]
       change: [+0.4679% +1.1150% +1.7792%] (p = 0.00 < 0.05)

Found 11 outliers among 100 measurements (11.00%)
4 (4.00%) high mild
7 (7.00%) high severe

RxStreamOrderer::inbound_frame(): Change within noise threshold.
       time:   [111.89 ms 111.94 ms 112.00 ms]
       change: [+0.1771% +0.2439% +0.3111%] (p = 0.00 < 0.05)

Found 9 outliers among 100 measurements (9.00%)
6 (6.00%) low mild
3 (3.00%) high mild

transfer/pacing-false/varying-seeds: Change within noise threshold.
       time:   [26.091 ms 27.144 ms 28.208 ms]
       change: [-11.049% -6.0257% -0.5444%] (p = 0.03 < 0.05)
transfer/pacing-true/varying-seeds: No change in performance detected.
       time:   [34.497 ms 36.222 ms 37.958 ms]
       change: [-10.467% -4.4680% +2.0692%] (p = 0.18 > 0.05)
transfer/pacing-false/same-seed: Change within noise threshold.
       time:   [25.992 ms 26.735 ms 27.473 ms]
       change: [-8.4494% -4.5039% -0.3212%] (p = 0.04 < 0.05)

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

transfer/pacing-true/same-seed: No change in performance detected.
       time:   [41.584 ms 43.547 ms 45.538 ms]
       change: [-11.755% -5.2422% +1.5231%] (p = 0.12 > 0.05)
1-conn/1-100mb-resp/mtu-1500 (aka. Download)/client: 💔 Performance has regressed.
       time:   [927.93 ms 936.79 ms 945.58 ms]
       thrpt:  [105.76 MiB/s 106.75 MiB/s 107.77 MiB/s]
change:
       time:   [+2.8046% +4.2253% +5.5879%] (p = 0.00 < 0.05)
       thrpt:  [-5.2922% -4.0540% -2.7281%]
1-conn/10_000-parallel-1b-resp/mtu-1500 (aka. RPS)/client: No change in performance detected.
       time:   [318.57 ms 321.62 ms 324.69 ms]
       thrpt:  [30.799 Kelem/s 31.093 Kelem/s 31.391 Kelem/s]
change:
       time:   [-0.9453% +0.4601% +1.8350%] (p = 0.53 > 0.05)
       thrpt:  [-1.8019% -0.4580% +0.9543%]
1-conn/1-1b-resp/mtu-1500 (aka. HPS)/client: Change within noise threshold.
       time:   [33.546 ms 33.756 ms 33.980 ms]
       thrpt:  [29.429  elem/s 29.625  elem/s 29.810  elem/s]
change:
       time:   [-1.8603% -0.9702% -0.0183%] (p = 0.04 < 0.05)
       thrpt:  [+0.0183% +0.9797% +1.8956%]

Found 8 outliers among 100 measurements (8.00%)
1 (1.00%) low mild
2 (2.00%) high mild
5 (5.00%) high severe

1-conn/1-100mb-resp/mtu-1500 (aka. Upload)/client: No change in performance detected.
       time:   [1.7579 s 1.7740 s 1.7902 s]
       thrpt:  [55.860 MiB/s 56.370 MiB/s 56.885 MiB/s]
change:
       time:   [-1.5490% -0.2313% +1.2148%] (p = 0.74 > 0.05)
       thrpt:  [-1.2002% +0.2318% +1.5734%]
1-conn/1-100mb-resp/mtu-65536 (aka. Download)/client: 💔 Performance has regressed.
       time:   [112.12 ms 112.39 ms 112.65 ms]
       thrpt:  [887.67 MiB/s 889.79 MiB/s 891.94 MiB/s]
change:
       time:   [+1.9913% +2.3486% +2.7034%] (p = 0.00 < 0.05)
       thrpt:  [-2.6322% -2.2947% -1.9524%]
1-conn/10_000-parallel-1b-resp/mtu-65536 (aka. RPS)/client: No change in performance detected.
       time:   [314.03 ms 317.22 ms 320.37 ms]
       thrpt:  [31.214 Kelem/s 31.524 Kelem/s 31.844 Kelem/s]
change:
       time:   [-1.3568% +0.1410% +1.6126%] (p = 0.86 > 0.05)
       thrpt:  [-1.5870% -0.1408% +1.3755%]
1-conn/1-1b-resp/mtu-65536 (aka. HPS)/client: No change in performance detected.
       time:   [34.005 ms 34.171 ms 34.354 ms]
       thrpt:  [29.109  elem/s 29.265  elem/s 29.408  elem/s]
change:
       time:   [-1.1471% -0.3312% +0.4934%] (p = 0.42 > 0.05)
       thrpt:  [-0.4909% +0.3323% +1.1604%]

Found 5 outliers among 100 measurements (5.00%)
4 (4.00%) high mild
1 (1.00%) high severe

1-conn/1-100mb-resp/mtu-65536 (aka. Upload)/client: No change in performance detected.
       time:   [269.70 ms 281.52 ms 294.77 ms]
       thrpt:  [339.25 MiB/s 355.22 MiB/s 370.78 MiB/s]
change:
       time:   [-19.908% -9.2796% +0.6596%] (p = 0.12 > 0.05)
       thrpt:  [-0.6553% +10.229% +24.857%]

Found 14 outliers among 100 measurements (14.00%)
9 (9.00%) high mild
5 (5.00%) high severe

Client/server transfer results

Transfer of 33554432 bytes over loopback.

Client Server CC Pacing MTU Mean [ms] Min [ms] Max [ms] Relative
msquic msquic 1504 161.2 ± 90.0 91.0 362.1 1.00
neqo msquic reno on 1504 246.6 ± 59.9 212.9 407.6 1.00
neqo msquic reno 1504 294.9 ± 96.5 213.8 469.9 1.00
neqo msquic cubic on 1504 243.4 ± 79.3 196.6 478.3 1.00
neqo msquic cubic 1504 219.9 ± 17.9 198.1 244.0 1.00
msquic neqo reno on 1504 801.3 ± 123.1 720.7 1094.2 1.00
msquic neqo reno 1504 719.9 ± 14.0 699.1 742.8 1.00
msquic neqo cubic on 1504 724.6 ± 12.6 705.3 746.7 1.00
msquic neqo cubic 1504 753.5 ± 82.2 682.0 939.1 1.00
neqo neqo reno on 1504 424.3 ± 14.0 397.3 444.3 1.00
neqo neqo reno 1504 457.7 ± 53.1 424.4 594.9 1.00
neqo neqo cubic on 1504 448.6 ± 25.9 412.2 489.1 1.00
neqo neqo cubic 1504 487.9 ± 86.2 430.6 679.3 1.00
msquic msquic 65536 142.1 ± 67.1 90.8 400.4 1.00
neqo msquic reno on 65536 265.5 ± 82.7 209.3 466.7 1.00
neqo msquic reno 65536 250.8 ± 64.6 197.4 434.0 1.00
neqo msquic cubic on 65536 248.2 ± 119.8 196.5 641.3 1.00
neqo msquic cubic 65536 253.6 ± 76.7 207.2 451.4 1.00
msquic neqo reno on 65536 119.2 ± 56.6 82.8 314.0 1.00
msquic neqo reno 65536 138.3 ± 108.5 83.2 547.3 1.00
msquic neqo cubic on 65536 143.4 ± 120.0 81.0 576.1 1.00
msquic neqo cubic 65536 136.2 ± 78.8 82.2 367.8 1.00
neqo neqo reno on 65536 211.1 ± 137.0 124.8 639.0 1.00
neqo neqo reno 65536 210.2 ± 102.0 135.0 420.8 1.00
neqo neqo cubic on 65536 229.7 ± 152.8 137.0 688.4 1.00
neqo neqo cubic 65536 234.0 ± 106.8 130.1 453.5 1.00

⬇️ Download logs

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Oct 31, 2024
@mxinden mxinden added this pull request to the merge queue Oct 31, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 31, 2024
@larseggert larseggert added this pull request to the merge queue Nov 1, 2024
Merged via the queue into mozilla:main with commit 42fa260 Nov 1, 2024
63 of 69 checks passed
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