mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
Merge pull request #34 from greatest-ape/update-udp-benchmark
Add new udp benchmarks, update README
This commit is contained in:
commit
abea88dbf8
4 changed files with 4 additions and 9 deletions
|
|
@ -125,12 +125,9 @@ Supports IPv4 and IPv6.
|
|||
|
||||
#### Performance
|
||||
|
||||

|
||||

|
||||
|
||||
More details are available [here](./documents/aquatic-udp-load-test-2021-11-08.pdf).
|
||||
|
||||
Since making this benchmark, I have improved the mio-based implementation
|
||||
considerably and removed the glommio-based implementation.
|
||||
More details are available [here](./documents/aquatic-udp-load-test-2021-11-28.pdf).
|
||||
|
||||
#### Optimisation attempts that didn't work out
|
||||
|
||||
|
|
|
|||
6
TODO.md
6
TODO.md
|
|
@ -17,14 +17,12 @@
|
|||
* cargo-deny
|
||||
|
||||
* aquatic_udp
|
||||
* consider bounded channels with size 0 meaning unbounded
|
||||
* check config field and group names, including in load tester
|
||||
* look at proper cpu pinning (check that one thread gets bound per core)
|
||||
* then consider so_attach_reuseport_cbpf
|
||||
* what poll event capacity is actually needed?
|
||||
* stagger connection cleaning intervals?
|
||||
* notes
|
||||
* load testing shows that with sharded state, mio reaches 1.4M responses per second
|
||||
with 6 socket and 4 request workers. performance is great overall and faster than
|
||||
without sharding. io_uring impl is a lot behind mio impl with new load tester
|
||||
|
||||
* aquatic_http:
|
||||
* clean out connections regularly
|
||||
|
|
|
|||
BIN
documents/aquatic-udp-load-test-2021-11-28.pdf
Normal file
BIN
documents/aquatic-udp-load-test-2021-11-28.pdf
Normal file
Binary file not shown.
BIN
documents/aquatic-udp-load-test-illustration-2021-11-28.png
Normal file
BIN
documents/aquatic-udp-load-test-illustration-2021-11-28.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 48 KiB |
Loading…
Add table
Add a link
Reference in a new issue