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

make process_output be able to return keep_alive timeout #2136

Merged
merged 3 commits into from
Oct 2, 2024

Conversation

KershawChang
Copy link
Collaborator

Fix #2087

Copy link
Collaborator

@larseggert larseggert left a comment

Choose a reason for hiding this comment

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

LGTM.

So all the test changes revert what was done in #1491?

Copy link

codecov bot commented Sep 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.35%. Comparing base (824d7c4) to head (b5b887d).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2136      +/-   ##
==========================================
- Coverage   95.35%   95.35%   -0.01%     
==========================================
  Files         112      112              
  Lines       36336    36357      +21     
==========================================
+ Hits        34648    34668      +20     
- Misses       1688     1689       +1     

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

Copy link

github-actions bot commented Sep 26, 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

Copy link

github-actions bot commented Sep 26, 2024

Benchmark results

Performance differences relative to 824d7c4.

coalesce_acked_from_zero 1+1 entries: No change in performance detected.
       time:   [99.061 ns 99.675 ns 100.48 ns]
       change: [-6.8172% -2.3726% +0.2961%] (p = 0.32 > 0.05)

Found 13 outliers among 100 measurements (13.00%)
10 (10.00%) high mild
3 (3.00%) high severe

coalesce_acked_from_zero 3+1 entries: Change within noise threshold.
       time:   [116.63 ns 116.91 ns 117.21 ns]
       change: [-1.1534% -0.7157% -0.2621%] (p = 0.00 < 0.05)

Found 14 outliers among 100 measurements (14.00%)
1 (1.00%) low mild
2 (2.00%) high mild
11 (11.00%) high severe

coalesce_acked_from_zero 10+1 entries: No change in performance detected.
       time:   [116.23 ns 116.72 ns 117.31 ns]
       change: [-1.2371% -0.6152% +0.1547%] (p = 0.07 > 0.05)

Found 19 outliers among 100 measurements (19.00%)
6 (6.00%) low severe
2 (2.00%) low mild
3 (3.00%) high mild
8 (8.00%) high severe

coalesce_acked_from_zero 1000+1 entries: No change in performance detected.
       time:   [97.216 ns 97.363 ns 97.523 ns]
       change: [-1.7227% -0.7616% +0.0880%] (p = 0.11 > 0.05)

Found 9 outliers among 100 measurements (9.00%)
4 (4.00%) high mild
5 (5.00%) high severe

RxStreamOrderer::inbound_frame(): No change in performance detected.
       time:   [111.19 ms 111.25 ms 111.31 ms]
       change: [-0.0708% +0.1425% +0.2870%] (p = 0.13 > 0.05)

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

transfer/pacing-false/varying-seeds: Change within noise threshold.
       time:   [27.424 ms 28.656 ms 29.894 ms]
       change: [+1.0141% +6.7524% +13.208%] (p = 0.03 < 0.05)

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

transfer/pacing-true/varying-seeds: Change within noise threshold.
       time:   [37.013 ms 38.881 ms 40.743 ms]
       change: [+2.0478% +8.5685% +15.609%] (p = 0.02 < 0.05)
transfer/pacing-false/same-seed: No change in performance detected.
       time:   [26.530 ms 27.429 ms 28.352 ms]
       change: [-1.2476% +3.3788% +8.1859%] (p = 0.15 > 0.05)

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

transfer/pacing-true/same-seed: Change within noise threshold.
       time:   [44.293 ms 46.734 ms 49.212 ms]
       change: [+1.2376% +8.6392% +16.890%] (p = 0.03 < 0.05)
1-conn/1-100mb-resp (aka. Download)/client: Change within noise threshold.
       time:   [112.42 ms 112.83 ms 113.22 ms]
       thrpt:  [883.27 MiB/s 886.30 MiB/s 889.53 MiB/s]
change:
       time:   [-1.9247% -1.3603% -0.8195%] (p = 0.00 < 0.05)
       thrpt:  [+0.8263% +1.3791% +1.9625%]

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

1-conn/10_000-parallel-1b-resp (aka. RPS)/client: No change in performance detected.
       time:   [310.11 ms 313.92 ms 317.71 ms]
       thrpt:  [31.475 Kelem/s 31.856 Kelem/s 32.246 Kelem/s]
change:
       time:   [-2.6371% -0.9932% +0.6941%] (p = 0.24 > 0.05)
       thrpt:  [-0.6893% +1.0031% +2.7086%]
1-conn/1-1b-resp (aka. HPS)/client: No change in performance detected.
       time:   [33.838 ms 34.050 ms 34.281 ms]
       thrpt:  [29.170  elem/s 29.368  elem/s 29.552  elem/s]
change:
       time:   [-1.4553% -0.6774% +0.2187%] (p = 0.11 > 0.05)
       thrpt:  [-0.2182% +0.6821% +1.4768%]

Found 7 outliers among 100 measurements (7.00%)
5 (5.00%) high mild
2 (2.00%) high severe

Client/server transfer results

Transfer of 33554432 bytes over loopback.

Client Server CC Pacing Mean [ms] Min [ms] Max [ms] Relative
msquic msquic 144.6 ± 88.6 92.3 367.2 1.00
neqo msquic reno on 213.4 ± 7.6 204.6 230.6 1.00
neqo msquic reno 283.9 ± 83.4 211.3 408.0 1.00
neqo msquic cubic on 219.6 ± 14.9 204.2 243.5 1.00
neqo msquic cubic 224.6 ± 23.8 204.8 289.2 1.00
msquic neqo reno on 138.7 ± 89.4 81.4 327.2 1.00
msquic neqo reno 138.2 ± 84.2 83.6 327.2 1.00
msquic neqo cubic on 113.2 ± 65.0 82.6 332.3 1.00
msquic neqo cubic 116.8 ± 75.5 81.3 386.5 1.00
neqo neqo reno on 208.8 ± 127.0 127.8 580.4 1.00
neqo neqo reno 220.5 ± 133.6 123.6 555.1 1.00
neqo neqo cubic on 241.5 ± 125.2 132.7 515.1 1.00
neqo neqo cubic 176.4 ± 103.8 123.5 469.7 1.00

⬇️ Download logs

@KershawChang
Copy link
Collaborator Author

LGTM.

So all the test changes revert what was done in #1491?

Yes, correct.

Copy link

github-actions bot commented Sep 26, 2024

Firefox builds for this PR

The following builds are available for testing. Crossed-out builds did not succeed.

neqo-transport/src/connection/mod.rs Outdated Show resolved Hide resolved
neqo-transport/src/connection/idle.rs Outdated Show resolved Hide resolved
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.

Thank you for bearing with me.

Once this is merged, I can cut a new release of Neqo and uplift it to mozilla-central.

@mxinden
Copy link
Collaborator

mxinden commented Oct 1, 2024

Merging main here given #2141 is fixed.

@KershawChang KershawChang added this pull request to the merge queue Oct 1, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Oct 1, 2024
Copy link
Member

@martinthomson martinthomson left a comment

Choose a reason for hiding this comment

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

I forgot to comment...

neqo-transport/src/connection/idle.rs Outdated Show resolved Hide resolved
neqo-transport/src/connection/tests/idle.rs Outdated Show resolved Hide resolved
neqo-transport/src/connection/idle.rs Outdated Show resolved Hide resolved
@KershawChang KershawChang added this pull request to the merge queue Oct 2, 2024
Merged via the queue into mozilla:main with commit eb92e43 Oct 2, 2024
63 checks passed
@KershawChang KershawChang deleted the idle_timeout branch October 2, 2024 13:23
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.

Consider to send PING as a keeplive
4 participants