Commit graph

170 commits

Author SHA1 Message Date
Joakim Frostegård
680da048b8 udp: add ConnectionValidator.update_elapsed, call regularly
This is faster than doing it for each request
2024-02-10 22:47:36 +01:00
Joakim Frostegård
94247b8e35 udp: mio: don't recalculate PeerUntil every announce request 2024-02-10 22:22:19 +01:00
Joakim Frostegård
19533b3f8e udp: mio: make send_response a method 2024-02-10 22:13:01 +01:00
Joakim Frostegård
7116fdd862 udp: io_uring: improve docs 2024-02-10 21:55:39 +01:00
Joakim Frostegård
b1908329e5 udp: improve config docs and key order 2024-02-10 21:48:55 +01:00
Joakim Frostegård
ebf4ecbf6a udp: fix torrent count statistics 2024-02-10 21:45:34 +01:00
Joakim Frostegård
68e951cf79 Improve udp README and latest load test md 2024-02-10 21:29:12 +01:00
Joakim Frostegård
6384e3401b Move architectural overview image to ws and http crate READMEs 2024-02-10 21:24:14 +01:00
Joakim Frostegård
a7ad3266d8 Update UDP benchmarks 2024-02-10 21:22:49 +01:00
Joakim Frostegård
21a530189e bencher: fix udp sets 2024-02-10 20:00:17 +01:00
Joakim Frostegård
2c7bcf71ad bencher: change to account for new aquatic_udp implementation 2024-02-10 18:51:13 +01:00
Joakim Frostegård
358c8951c0 udp: improve udp uring code 2024-02-10 18:06:42 +01:00
Joakim Frostegård
6d784c25e9 udp: remove pending scrape config stuff, adjust io uring code 2024-02-10 15:56:34 +01:00
Joakim Frostegård
71a3cb9a5a udp: remove socket_worker config, adjust other code, fix statistics 2024-02-10 15:54:26 +01:00
Joakim Frostegård
c4fd3c9e83 udp: add cleaning worker 2024-02-10 15:48:09 +01:00
Joakim Frostegård
7fa143964e udp: remove swarm worker and related logic 2024-02-10 11:40:11 +01:00
Joakim Frostegård
a2e1dd4eef udp: use shared swarm state in io uring implementation 2024-02-10 11:35:52 +01:00
Joakim Frostegård
2da966098f WIP: use shared swarm state in mio worker 2024-02-10 11:21:48 +01:00
Joakim Frostegård
53497308f1 udp: create file with thread-shared torrent map implementation 2024-02-10 10:01:45 +01:00
Joakim Frostegård
c980c23ffc bencher: also bench aquatic_udp with io_uring 2024-02-09 01:21:24 +01:00
Joakim Frostegård
dfcf84adde bencher: improve CpuMode docs 2024-02-09 00:54:14 +01:00
Joakim Frostegård
696b5daed3 bencher: remove most preset benchmarks, update existing 2024-02-09 00:48:22 +01:00
Joakim Frostegård
ee43810353 udp load test: change default request weights 2024-02-08 10:09:45 +01:00
Joakim Frostegård
37e4514427 udp: change default max_response_peers to 30 2024-02-08 10:08:31 +01:00
Joakim Frostegård
7ceb01f1ae udp: change default ring_size to 128 2024-02-08 10:07:44 +01:00
Joakim Frostegård
38a12411e7 bencher: add new cpu modes, rename previous 2024-02-08 10:07:15 +01:00
Joakim Frostegård
f07870c8e7 bencher: rename cpu modes 2024-02-08 09:31:53 +01:00
Joakim Frostegård
983d88734c bencher: disable udp load test extra statistics 2024-02-06 18:53:51 +01:00
Joakim Frostegård
b16ab82699 udp load test: rename config key peer_histogram to extra_statistics 2024-02-06 18:52:12 +01:00
Joakim Frostegård
83acaf51f4 bencher: change default durations 2024-02-06 18:48:39 +01:00
Joakim Frostegård
e705c03981 Explicity use IndexMap::swap_remove to silence warnings 2024-02-06 18:34:17 +01:00
Joakim Frostegård
0b6a02e1a7 udp load test: use connection IDs from responses in requests 2024-02-06 18:32:26 +01:00
Joakim Frostegård
efa79303d2 udp load test: acquire a connection id per socket 2024-02-06 18:23:30 +01:00
Joakim Frostegård
84aa830e64 udp load test: display stats on announce responses per info hash 2024-02-06 18:06:12 +01:00
Joakim Frostegård
5cad19c12e udp load test: tweak defaults and peer distribution algorithm 2024-02-06 17:05:09 +01:00
Joakim Frostegård
6eb3195d62 udp load test: fix typo 2024-02-05 23:54:44 +01:00
Joakim Frostegård
d8bdcfcf0a udp load tester: open multiple sockets per worker; minor other fixes 2024-02-05 23:44:34 +01:00
Joakim Frostegård
6745eba2de Rewrite udp load tester
- Less wobbly traffic patterns
- More consistent info hash peer distribution
2024-02-05 22:52:10 +01:00
Joakim Frostegård
c58e84c6eb
Merge branch 'master' into work-2024-02-04_2 2024-02-04 17:25:08 +01:00
Joakim Frostegård
a44c4cde3d bencher: 2 core benchmark: always run round with 1 load test worker
This is to give chihaya a chance not to crash
2024-02-04 17:19:35 +01:00
Joakim Frostegård
944ae93b93
ws: fix thread name issue 2024-02-04 00:27:44 +01:00
Joakim Frostegård
d1426d3ac5 ws protocol: don't heap-allocate in serialize_20_bytes 2024-02-04 00:14:13 +01:00
Joakim Frostegård
40e33d8af1 fix prometheus timeout mask metrics 2024-02-04 00:03:01 +01:00
Joakim Frostegård
c4f645e03e Fix ws and http build errors, fix ws thread name 2024-02-03 23:53:13 +01:00
Joakim Frostegård
a4f7c816d0 Improve logging: display thread and module names 2024-02-03 23:42:31 +01:00
Joakim Frostegård
437f2def7d aquatic_common: feature-gate cpu pinning, remove hwloc feature 2024-02-03 23:16:45 +01:00
Joakim Frostegård
1acf44c001 ws and http: remove CPU pinning config structs, update CHANGELOG 2024-02-03 23:06:02 +01:00
Joakim Frostegård
6ee1871a53 aquatic_common: remove cpu-pinning code from prometheus spawner 2024-02-03 23:03:25 +01:00
Joakim Frostegård
498481568d http: improve prometheus idle timeout 2024-02-03 23:01:45 +01:00
Joakim Frostegård
93f8995a72 ws: quit if any worker quits 2024-02-03 22:56:08 +01:00