Skip to content

[Experiment] Modify linger parameter in HTTP/2 (WTX)#825

Closed
c410-f3r wants to merge 1 commit into
MDA2AV:mainfrom
c410-f3r:misc
Closed

[Experiment] Modify linger parameter in HTTP/2 (WTX)#825
c410-f3r wants to merge 1 commit into
MDA2AV:mainfrom
c410-f3r:misc

Conversation

@c410-f3r
Copy link
Copy Markdown
Contributor

@c410-f3r c410-f3r commented Jun 6, 2026

Description

Requesting a run to see the impact of this change.

@c410-f3r
Copy link
Copy Markdown
Contributor Author

c410-f3r commented Jun 6, 2026

/benchmark -f wtx-http2

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 6, 2026

👋 /benchmark request received. A collaborator will review and approve the run.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 6, 2026

Benchmark Results

Framework: wtx-http2 | Test: all tests

Test Conn RPS CPU Mem Δ RPS Δ Mem
baseline-h2c 256 3,989,948 6473.2% 121MiB -7.6% -82.1%
baseline-h2c 1024 3,750,545 6467.2% 335MiB -8.3% -64.6%
baseline-h2c 4096 3,650,552 6304.4% 1.1GiB -8.0% -42.1%
json-h2c 1024 1,888,899 6584.9% 160MiB -0.9% -62.1%
json-h2c 4096 1,786,886 6327.7% 485MiB +0.2% -39.8%
Full log
38. Stopping all clients.
50. Stopping all clients.
53. Stopping all clients.
. Stopping all clients.
23Stopped all clients for thread #43
. Stopping all clients.
7. Stopping all clients.Stopped all clients for thread #
6Stopped all clients for thread #
7
13
10. Stopping all clients.
41. Stopping all clients.
41

finished in 5.06s, 1911566.40 req/s, 6.63GB/s
requests: 9557832 total, 9590600 started, 9557832 done, 9557832 succeeded, 0 failed, 0 errored, 0 timeout
status codes: 9557832 2xx, 0 3xx, 0 4xx, 0 5xx
traffic: 33.15GB (35599638715) total, 191.42MB (200714472) headers (space savings 55.32%), 32.81GB (35226814659) data
                     min         max         mean         sd        +/- sd
time for request:      154us    135.94ms     16.88ms      5.19ms    69.83%
time for connect:       17us      1.04ms       401us       218us    62.79%
time to 1st byte:     1.00ms     40.77ms     13.31ms      8.36ms    63.77%
req/s           :    1170.97     4389.80     1866.59      535.41    81.54%
[info] CPU 6584.9% | Mem 160MiB

[run 3/3]
starting benchmark...
25.
.
.
9.
.
17.
21Main benchmark duration is started for thread #.
45Main benchmark duration is started for thread #21.
.
Application protocol: h2c
19.
11
. Stopping all clients.


finished in 5.05s, 1890785.00 req/s, 6.56GB/s
requests: 9453925 total, 9486693 started, 9453925 done, 9453925 succeeded, 0 failed, 0 errored, 0 timeout
status codes: 9453925 2xx, 0 3xx, 0 4xx, 0 5xx
traffic: 32.79GB (35212721567) total, 189.34MB (198532425) headers (space savings 55.32%), 32.45GB (34843949884) data
                     min         max         mean         sd        +/- sd
time for request:      139us    120.52ms     17.12ms      5.04ms    70.59%
time for connect:       18us       988us       378us       211us    60.94%
time to 1st byte:     1.07ms     48.64ms     13.48ms      8.52ms    64.75%
req/s           :    1106.95     3741.15     1846.26      507.54    76.86%
[info] CPU 6595.5% | Mem 162MiB

=== Best: 1888899 req/s (CPU: 6584.9%, Mem: 160MiB) ===
[info] saved results/json-h2c/1024/wtx-http2.json
httparena-bench-wtx-http2
httparena-bench-wtx-http2

==============================================
=== wtx-http2 / json-h2c / 4096c (tool=h2load) ===
==============================================
[info] waiting for server...
[info] server ready

[run 1/3]
starting benchmark...
35.

5410..
1334...


56.

105434Warm-up phase is over for thread #..

14.

..


24.
15.
58.
Application protocol: h2c
5.
1. Stopping all clients.
23. Stopping all clients.
15Main benchmark duration is over for thread #. Stopping all clients.
59
6
. Stopping all clients.
. Stopping all clients.14. Stopping all clients.
. Stopping all clients.
10. Stopping all clients.



8


. Stopping all clients.
13. Stopping all clients.
6

finished in 5.10s, 1756593.40 req/s, 6.09GB/s
requests: 8782967 total, 8914039 started, 8782967 done, 8782967 succeeded, 0 failed, 0 errored, 0 timeout
status codes: 8782971 2xx, 0 3xx, 0 4xx, 0 5xx
traffic: 30.45GB (32695751519) total, 175.90MB (184442391) headers (space savings 55.32%), 30.13GB (32352941218) data
                     min         max         mean         sd        +/- sd
time for request:      292us    523.79ms     80.55ms     48.91ms    95.07%
time for connect:       15us      8.32ms      2.47ms      1.89ms    61.08%
time to 1st byte:     3.35ms    429.78ms    292.10ms     71.87ms    71.00%
req/s           :     302.10      748.73      428.65       77.85    69.90%
[info] CPU 6277.0% | Mem 450MiB

[run 2/3]
starting benchmark...
progress: Main benchmark duration is started for thread #84% of clients started
44.

Application protocol: h2c

29.
47

. Stopping all clients.Stopped all clients for thread #15


finished in 5.10s, 1784913.00 req/s, 6.19GB/s
requests: 8924565 total, 9055637 started, 8924565 done, 8924565 succeeded, 0 failed, 0 errored, 0 timeout
status codes: 8924568 2xx, 0 3xx, 0 4xx, 0 5xx
traffic: 30.94GB (33222960250) total, 178.73MB (187415928) headers (space savings 55.32%), 30.62GB (32874627666) data
                     min         max         mean         sd        +/- sd
time for request:     1.25ms    552.36ms     74.94ms     23.23ms    83.87%
time for connect:       20us      7.18ms      2.57ms      2.03ms    57.45%
time to 1st byte:     3.30ms    319.32ms     77.21ms     51.84ms    66.09%
req/s           :     306.54      882.88      435.60       67.13    83.74%
[info] CPU 6460.8% | Mem 481MiB

[run 3/3]
starting benchmark...
Application protocol: h2c
2.21.

21.

.Warm-up phase is over for thread #32.Warm-up phase is over for thread #
32.

26Main benchmark duration is started for thread #12.


30..17..


17.
40.
48.



4

finished in 5.09s, 1819050.20 req/s, 6.31GB/s
requests: 9095251 total, 9226323 started, 9095251 done, 9095251 succeeded, 0 failed, 0 errored, 0 timeout
status codes: 9095253 2xx, 0 3xx, 0 4xx, 0 5xx
traffic: 31.53GB (33859494091) total, 182.15MB (191000313) headers (space savings 55.32%), 31.20GB (33504504792) data
                     min         max         mean         sd        +/- sd
time for request:      658us    460.18ms     71.55ms     16.06ms    88.34%
time for connect:       15us      8.10ms      3.30ms      2.46ms    54.08%
time to 1st byte:     3.31ms    214.83ms     70.04ms     39.37ms    66.60%
req/s           :     321.17      562.96      443.91       47.83    61.84%
[info] CPU 6327.7% | Mem 485MiB

=== Best: 1786886 req/s (CPU: 6327.7%, Mem: 485MiB) ===
[info] saved results/json-h2c/4096/wtx-http2.json
httparena-bench-wtx-http2
httparena-bench-wtx-http2
[info] skip: wtx-http2 does not subscribe to baseline-h3
[info] skip: wtx-http2 does not subscribe to static-h3
[info] skip: wtx-http2 does not subscribe to gateway-64
[info] skip: wtx-http2 does not subscribe to gateway-h3
[info] skip: wtx-http2 does not subscribe to production-stack
[info] skip: wtx-http2 does not subscribe to unary-grpc
[info] skip: wtx-http2 does not subscribe to unary-grpc-tls
[info] skip: wtx-http2 does not subscribe to stream-grpc
[info] skip: wtx-http2 does not subscribe to stream-grpc-tls
[info] skip: wtx-http2 does not subscribe to echo-ws
[info] skip: wtx-http2 does not subscribe to echo-ws-pipeline
[info] rebuilding site/data/*.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/frameworks.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/baseline-h2c-1024.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/baseline-h2c-256.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/baseline-h2c-4096.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/json-h2c-1024.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/json-h2c-4096.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/current.json
[info] done
[info] restoring loopback MTU to 65536

@c410-f3r
Copy link
Copy Markdown
Contributor Author

c410-f3r commented Jun 6, 2026

Thanks

@c410-f3r c410-f3r closed this Jun 6, 2026
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.

1 participant