Commit graph

1026 commits

Author SHA1 Message Date
Joakim Frostegård
7305a3532c Run cargo update 2021-11-19 02:47:17 +01:00
Joakim Frostegård
028a366ce5 Don't unnecessarily constrain crate versions in Cargo.toml files 2021-11-19 02:45:53 +01:00
Joakim Frostegård
de52d35357 Update TODO 2021-11-19 02:45:48 +01:00
Joakim Frostegård
dc841ef0de udp: add config setting for network poll timeout 2021-11-19 01:23:41 +01:00
Joakim Frostegård
029193b512 udp: network: check less often if periodic tasks need to be done 2021-11-19 01:20:39 +01:00
Joakim Frostegård
a530dc2860 udp: network: update ValidUntil structs less often 2021-11-19 01:18:58 +01:00
Joakim Frostegård
9c919a6ecb udp: clean pending scrape map 2021-11-19 01:10:37 +01:00
Joakim Frostegård
2e7c8ac904 udp: reorder code in network.rs for better readability 2021-11-19 00:59:52 +01:00
Joakim Frostegård
44ad2167fb CI: install libhwloc-dev 2021-11-19 00:26:22 +01:00
Joakim Frostegård
593a46452f aquatic_common: use hwloc for cpu pinning, for automatic core selection
This might not work very well on virtualized hosts, however..
2021-11-19 00:17:14 +01:00
Joakim Frostegård
c1f2d036c0 add scripts/watch-threads.sh for showing runtime stats
Includes per-thread cpu affinity (PSR)
2021-11-19 00:14:46 +01:00
Joakim Frostegård
3d88689c77 Update TODO 2021-11-18 23:03:54 +01:00
Joakim Frostegård
ce3b758f8e GitHub CI: stop trying to build aquatic_udp with glommio 2021-11-18 22:52:12 +01:00
Joakim Frostegård
96c5775ecc Update README 2021-11-18 22:51:19 +01:00
Joakim Frostegård
07b959c9d4 udp: run cargo fmt 2021-11-18 22:42:37 +01:00
Joakim Frostegård
210550c719 udp: restructure config.rs for better readability 2021-11-18 22:42:37 +01:00
Joakim Frostegård
fb5d0b1302 README: update to reflect that aquatic_udp glommio impl was removed 2021-11-18 22:42:37 +01:00
Joakim Frostegård
8dd9177c40 udp: clean up common file, move some code to other files 2021-11-18 22:42:37 +01:00
Joakim Frostegård
138ae710ef udp: remove io_uring version, it is slower than mio version 2021-11-18 22:42:37 +01:00
Joakim Frostegård
99632d4be5 udp: implement torrent map cleaning for new, sharded torrent state 2021-11-18 22:42:37 +01:00
Joakim Frostegård
54149ed3eb aquatic_common: add work-in-progress SO_ATTACH_REUSEPORT_CBPF impl 2021-11-18 22:42:37 +01:00
Joakim Frostegård
b5643aa7ab Update TODO 2021-11-18 22:42:37 +01:00
Joakim Frostegård
71a093dcec udp load test: run cargo fmt 2021-11-18 22:42:37 +01:00
Joakim Frostegård
fc6f3c299e udp load test: move config to own file, clean up imports 2021-11-18 22:42:37 +01:00
Joakim Frostegård
eb511c3a4c udp load test: rewrite network loop, default to weight_announce=5 2021-11-18 22:42:37 +01:00
Joakim Frostegård
c5bf3901ea run cargo fmt 2021-11-18 22:42:37 +01:00
Joakim Frostegård
5440157a95 udp load test: use only one type of worker for better performance 2021-11-18 22:42:36 +01:00
Joakim Frostegård
2aa94d050b Update TODO 2021-11-18 22:42:36 +01:00
Joakim Frostegård
5ef0935c97 udp: remove unused config var max_requests_per_iter 2021-11-18 22:42:36 +01:00
Joakim Frostegård
7afaa2702a udp: config: request worker timeout in ms instead of microseconds 2021-11-18 22:42:36 +01:00
Joakim Frostegård
5d8a4dd38c udp load test: default to multiple client ips; improve docs 2021-11-18 22:42:36 +01:00
Joakim Frostegård
42d99cefee udp: uring: tune 2021-11-18 22:42:36 +01:00
Joakim Frostegård
b6f6a2d73b udp: uring: attempt to send more responses per syscall 2021-11-18 22:42:36 +01:00
Joakim Frostegård
b617ff9d09 udp: shard request workers by info hash 2021-11-18 22:42:36 +01:00
Joakim Frostegård
4addb0de49 Update TODO 2021-11-18 22:42:36 +01:00
Joakim Frostegård
853ed91638 udp: use only PeerId for peer map key, skip ip address
Having the ip to avoid collisions likely doesn't adress any meaningful threat.
2021-11-18 22:42:36 +01:00
Joakim Frostegård
6bd63c2f5d udp: clean up 2021-11-18 22:42:36 +01:00
Joakim Frostegård
f3e41148fe udp: split AnnounceResponse into V4 and V6 versions 2021-11-18 22:42:36 +01:00
Joakim Frostegård
4b07e007f3 udp: add network.only_ipv6 config flag 2021-11-18 22:42:36 +01:00
Joakim Frostegård
4641dd29f2 udp: remove glommio implementation 2021-11-18 22:42:36 +01:00
Joakim Frostegård
7b20942d0f Update TODO 2021-11-18 22:42:36 +01:00
Joakim Frostegård
1e9376302d udp: fix some config feature issues 2021-11-18 22:42:36 +01:00
Joakim Frostegård
d18117595e udp: move code shared by mio/uring impls to common.rs 2021-11-18 22:42:36 +01:00
Joakim Frostegård
ce1c0b24c3 udp: fix build failure; fix scripts/run-aquatic-udp.sh 2021-11-18 22:42:36 +01:00
Joakim Frostegård
a665b38536 udp: uring: clean up, improve error handling 2021-11-18 22:42:36 +01:00
Joakim Frostegård
5a34bd4b81 udp load test: fix ipv6 issues, improve documentation 2021-11-18 22:42:36 +01:00
Joakim Frostegård
18635bf26c udp: add io-uring implementation 2021-11-18 22:42:36 +01:00
Joakim Frostegård
efbf51ba19 udp: io-uring: add ipv6 support 2021-11-18 22:42:36 +01:00
Joakim Frostegård
c5916d9633 udp: uring: add comment 2021-11-18 22:42:36 +01:00
Joakim Frostegård
c949bde532 WIP: udp io-uring experiments 2021-11-18 22:42:11 +01:00