Commit graph

1927 commits

Author SHA1 Message Date
Joakim Frostegård
aeeeda1b2b bencher: fix most clippy warnings 2024-01-20 10:40:28 +01:00
Joakim Frostegård
2dd3ab8682 aquatic_common: fix clippy warnings 2024-01-20 10:37:15 +01:00
Joakim Frostegård
746aa47cce http: silence clippy warnings 2024-01-20 10:29:13 +01:00
Joakim Frostegård
c32fa7cc2b Fix ws clippy warnings 2024-01-20 10:27:15 +01:00
Joakim Frostegård
9d1bba5e92 udp: fix/silence clippy warnings 2024-01-20 10:08:53 +01:00
Joakim Frostegård
5401eaf85f Run cargo clippy --fix and cargo fmt 2024-01-20 09:56:14 +01:00
Joakim Frostegård
22e151d0f0 http: start awaiting conn close message before tls setup 2024-01-20 09:43:55 +01:00
Joakim Frostegård
75c1402394 Update CHANGELOG 2024-01-20 09:43:39 +01:00
Joakim Frostegård
1de07ec603 Run cargo update 2024-01-20 09:43:03 +01:00
Joakim Frostegård
0c03048ce8 udp: update metrics crate 2024-01-20 09:42:17 +01:00
Joakim Frostegård
1a6b4345d4 udp: remove thingbuf in favor of crossbeam channel
thingbuf didn't have obvious performance advantages and is a lot less
mature. Furthermore, it doesn't support anything like crossbeam
Receiver::try_iter, which is prefereable now that announce responses
can be sent to any socket worker.
2024-01-20 09:41:07 +01:00
Joakim Frostegård
e77c9f46e7 udp: store torrents with few peers without an extra heap alloc 2024-01-20 09:40:09 +01:00
Joakim Frostegård
d8bd964a57
Merge pull request #171 from greatest-ape/ws-fix-backpressure-2
aquatic_ws: remove ineffective backpressure implementation, improve load tester, remove glob exports
2024-01-08 20:37:52 +01:00
Joakim Frostegård
0dae7fd533 ws protocol: remove glob exports; adjust dependent crates 2024-01-08 20:16:46 +01:00
Joakim Frostegård
27ecccd984 ws load test: store global info hashes as Arc<[InfoHash]> 2024-01-08 20:07:15 +01:00
Joakim Frostegård
34167371b0 ws load test: refactor network module 2024-01-08 20:02:30 +01:00
Joakim Frostegård
64926ba46a ws load test: clean up, slight code refactor 2024-01-08 19:37:01 +01:00
Joakim Frostegård
2279e8390e ws load test: send answers regarding correct info_hash 2024-01-08 19:09:17 +01:00
Joakim Frostegård
d4c95d89c0 ws: swarm: remove peer ValidUntil update task, just create when needed 2024-01-08 18:54:11 +01:00
Joakim Frostegård
36954e5f48 ws: SwarmControlMessage::ConnectionClosed: use Vec for info hashes 2024-01-08 18:51:39 +01:00
Joakim Frostegård
4c831643b1 ws: remove ineffective backpressure implementation 2024-01-08 18:41:24 +01:00
Joakim Frostegård
bcd8988ccd
Merge pull request #170 from greatest-ape/ws-mem-leak
Possible fix for ws memory leak; dependency updates; add ws mimalloc feature
2024-01-07 11:33:30 +01:00
Joakim Frostegård
1ee08bf323
Merge pull request #168 from greatest-ape/udp-bench-fixes
udp and bencher tweaks
2024-01-07 11:28:06 +01:00
Joakim Frostegård
188da135ab ws: add Connection backpressure channel instead of spawning tasks
Seems to fix memory leak issue
2024-01-07 11:27:03 +01:00
Joakim Frostegård
6e7d36cffc ws: add mimalloc feature to make it easier to disable it 2024-01-07 10:41:11 +01:00
Joakim Frostegård
3042539101 update ws dependencies as well as http rustls dependency 2024-01-07 10:40:50 +01:00
Joakim Frostegård
071f088d8b ws: socket worker: wait for interal close message in priority queue 2024-01-06 00:13:18 +01:00
Joakim Frostegård
579fcb2140 ws: don't yield unnecessarily in run_in_message_loop, improve logging 2024-01-05 23:13:31 +01:00
Joakim Frostegård
d48deeff8c udp load test: refactor worker 2024-01-04 18:34:18 +01:00
Joakim Frostegård
1e9b5c450c udp load test: use fixed rng seed 2024-01-04 17:58:11 +01:00
Joakim Frostegård
55516956ca udp load test: store peer scrape_hash_indices as boxed slice 2024-01-04 17:51:45 +01:00
Joakim Frostegård
99791c7154 udp load test: store info hashes as Arc slice to save space 2024-01-04 17:24:35 +01:00
Joakim Frostegård
0eaa4475e2 udp: index peers by packet src ip and provided port instead of peer_id 2024-01-04 17:04:17 +01:00
Joakim Frostegård
df13ae9399 bencher: update config defaults, use load test max_response_peers 2024-01-03 19:52:03 +01:00
Joakim Frostegård
bbe09bd0df udp load test: improve config defaults, add announce_peers_wanted field 2024-01-03 19:49:28 +01:00
Joakim Frostegård
1df1014798 Update TODO 2024-01-03 17:45:47 +01:00
Joakim Frostegård
255edf1b16 bencher: always listen on localhost 2024-01-03 17:38:06 +01:00
Joakim Frostegård
85862f161a bencher: add args duration and summarize_last (seconds) 2024-01-03 17:36:04 +01:00
Joakim Frostegård
7863782413 udp load test: add config.summarize_last: only summarize last N seconds 2024-01-03 17:07:06 +01:00
Joakim Frostegård
e18b50227c bencher: implement load test run priorities 2024-01-03 16:47:01 +01:00
Joakim Frostegård
74155b4d79 bench: udp: remove 3 cpu core sets to save runtime 2024-01-02 17:41:42 +01:00
Joakim Frostegård
ff50b010fb bench: tweak udp sets 2024-01-02 17:26:44 +01:00
Joakim Frostegård
e76394b60d udp: decrease default worker_channel_size to 1024 2024-01-02 17:25:54 +01:00
Joakim Frostegård
e598907095 setup-udp-bookworm.sh: print some software versions etc 2024-01-02 17:19:40 +01:00
Joakim Frostegård
6870a9e9c4 udp: lower log level from info to debug for several mio statements 2024-01-02 17:00:22 +01:00
Joakim Frostegård
4249a7f48d udp: improve defaults for worker channel size and socket recv buffer 2024-01-02 16:59:08 +01:00
Joakim Frostegård
c4e644cb23 udp: log (info-level) estimated channel memory use 2024-01-02 16:57:46 +01:00
Joakim Frostegård
8ad799042e bencher: tweak udp sets, update TODO 2024-01-02 16:56:52 +01:00
Joakim Frostegård
2d959ee8fc
Merge pull request #167 from greatest-ape/work-2024-01-01
Update scripts/bench/setup-udp-bookworm.sh: install kernel from bookworm-backports
2024-01-01 19:53:25 +01:00
Joakim Frostegård
602b71cdd6 Update scripts/bench/setup-udp-bookworm.sh 2024-01-01 19:47:51 +01:00