Commit graph

1046 commits

Author SHA1 Message Date
Joakim Frostegård
f6a33dac8a udp load test: enable tuning additional request frequency 2021-11-28 00:29:41 +01:00
Joakim Frostegård
deac3898ef Update TODO 2021-11-26 16:08:23 +01:00
Joakim Frostegård
198fa26870
Merge pull request #31 from greatest-ape/edition-2021
Switch to rust edition 2021
2021-11-24 22:59:11 +01:00
Joakim Frostegård
473276cd46 Switch to rust edition 2021 2021-11-24 18:56:26 +01:00
Joakim Frostegård
2913cd1d00
Merge pull request #30 from greatest-ape/udp-2021-11-21
aquatic_udp: better file structure, split statistics into ipv4 + ipv6
2021-11-21 23:39:53 +01:00
Joakim Frostegård
2f15b2cc8e udp: make tracker-side statistics more accurate 2021-11-21 20:39:27 +01:00
Joakim Frostegård
3a4056058b udp: statistics: properly handle ipv4-mapped ipv6 addresses 2021-11-21 20:16:17 +01:00
Joakim Frostegård
f001c69dc7 udp: statistics: print only for active protocols 2021-11-21 20:09:39 +01:00
Joakim Frostegård
f68bbff700 udp: split statistics by ipv4/ipv6 2021-11-21 20:04:18 +01:00
Joakim Frostegård
34f263f6b9 udp: new file structure: each worker types is submod of workers mod 2021-11-21 19:39:44 +01:00
Joakim Frostegård
2e3f7a4c9f Update TODO 2021-11-20 15:15:18 +01:00
Joakim Frostegård
ee79464053 Update README 2021-11-20 15:13:57 +01:00
Joakim Frostegård
7a07239c04
Merge pull request #29 from greatest-ape/udp-sharded-state
aquatic_udp: remove glommio implementation, shard torrent state by request worker, improve aquatic_udp_load_test
2021-11-19 15:39:53 +01:00
Joakim Frostegård
a1243c59d6 udp: avoid Ordering::SeqCst for atomic operations 2021-11-19 12:30:05 +01:00
Joakim Frostegård
2c336793b1 udp: statistics: improve atomic usize vec sum code 2021-11-19 12:22:11 +01:00
Joakim Frostegård
c78716153b udp: statistics: show number of peers 2021-11-19 12:17:39 +01:00
Joakim Frostegård
59e95894b9 udp: statistics: show number of torrents and access list len 2021-11-19 12:04:16 +01:00
Joakim Frostegård
31e44db469 Upgrade simplelog to version 0.11 2021-11-19 03:06:02 +01:00
Joakim Frostegård
fee3c9ca4e Update mio to version 0.8 2021-11-19 03:01:03 +01:00
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