Commit graph

71 commits

Author SHA1 Message Date
Joakim Frostegård
a0255ff919 Upgrade socket2 to v0.5 2023-04-10 00:49:55 +02:00
Joakim Frostegård
9ace8f53b8 Upgrade hashbrown to version 0.13 2022-11-12 14:37:53 +01:00
Joakim Frostegård
db561a1101 Use gamma distribution for all load testers 2022-10-26 19:49:30 +02:00
Joakim Frostegård
2b9db63984 udp load test: use Gamma distribution for torrent selection 2022-10-26 19:45:39 +02:00
Joakim Frostegård
65a8c9d6ff Use Rust 1.64 workspace inheritance 2022-09-25 11:40:43 +02:00
Joakim Frostegård
cedf0b61ca Exit with error message on unrecognized config keys 2022-07-05 11:26:46 +02:00
Joakim Frostegård
c229872134 Use idiomatic feature names & namespace support from Rust 1.60 2022-04-10 01:25:03 +02:00
Joakim Frostegård
0a63ee3ce7 load testers: name worker threads "load-test" 2022-04-06 19:15:01 +02:00
Joakim Frostegård
bd6764afaf Move aquatic_cli_helpers code into aquatic_common and remove crate 2022-04-06 19:02:39 +02:00
Joakim Frostegård
908e18360c Merge branch 'master' into cpu-pinning-2022-03-30 2022-04-04 22:49:25 +02:00
Joakim Frostegård
6c149331dc Rewrite CpuPinningConfig implementation to support aquatic_toml_config 2022-04-04 22:38:47 +02:00
Joakim Frostegård
c18a59b0cb Use proper workspace path declarations, remove workspace patch section 2022-04-04 12:46:42 +02:00
Joakim Frostegård
fb607ac0c2 Improve CPU pinning 2022-03-30 22:53:15 +02:00
Joakim Frostegård
f047155366 Add Cargo.toml descriptions for load testers 2022-03-26 12:04:10 +01:00
Joakim Frostegård
d78b0fa31e Bump version to 0.2.0 for all aquatic crates 2022-03-26 11:39:37 +01:00
Joakim Frostegård
90437e23bb Cargo.toml files: add readme keys, remove some exclude keys 2022-03-26 11:39:04 +01:00
Joakim Frostegård
f5b1cd5525 Add command-line option for printing version and commit info 2022-03-24 16:17:17 +01:00
Joakim Frostegård
a9f1aeb70c Add crate keywords, update descriptions 2022-03-20 20:41:56 +01:00
Joakim Frostegård
0f60ffbb75 udp load test: minor performance improvements 2022-02-20 12:07:28 +01:00
Joakim Frostegård
3785e57513 Sort dependencies in Cargo.toml files 2022-02-20 01:44:34 +01:00
Joakim Frostegård
903010dbe1 udp: use action 1 for IPv6 announce responses; refactor protocol code
According to BEP015, action 1 is to be used.
2022-02-20 01:35:24 +01:00
Joakim Frostegård
14a4c10546 s/toml_config/aquatic_toml_config/ 2022-02-19 15:11:00 +01:00
Joakim Frostegård
4073a1b8be Update hashbrown to 0.12 2022-02-19 14:32:31 +01:00
Joakim Frostegård
a208775104
Include documentation in printed config files (#41)
* Start work on printing toml config with comments

* WIP: toml_config: extract default values for fields

* WIP: toml_config: handle single-level nested structs

* WIP: toml_config: improve comment handling, std type trait impls

* WIP: toml_config: add Private trait, improve comment handling, clean up

* toml_config: fix default value bug; improve tests

* Use toml_config in all applicable crates; add toml_config enum support

* toml_config: improve comments

* toml_config_derive: support enum comments

* Improve config comments for udp, cli_helpers, common

* Improve config comments

* Add tests for Config struct TomlConfig implementations

* Improve Config comments

* Improve Config comments

* ws, http: add config comments for tls cert and private key lines

* small fixes to toml_config and toml_config_derive

* Run cargo fmt

* Fix typo in several config comments

* Update README

* Update README
2021-12-26 11:33:27 +01:00
Joakim Frostegård
9d8f9d8f7c udp load test: remove ThreadId newtype, use poll token 0 in all workers 2021-11-28 22:33:55 +01:00
Joakim Frostegård
f068d86e0d udp load test: set MAX_PACKET_SIZE to 8192 2021-11-28 22:30:22 +01:00
Joakim Frostegård
e972903451 udp load test: move network.rs and handler.rs into new worker module 2021-11-28 22:28:50 +01:00
Joakim Frostegård
411716e333 udo load test: config: rename "handler" to "requests", refactor 2021-11-28 22:18:33 +01:00
Joakim Frostegård
53b46d24f2 udp load test: set default additional_request_probability to 0.5 2021-11-28 03:51:59 +01:00
Joakim Frostegård
14474fb5e3 udp load test: improve statistics printing code 2021-11-28 01:10:42 +01:00
Joakim Frostegård
6605055b3d udp load test: improve statistics code 2021-11-28 01:05:52 +01:00
Joakim Frostegård
b70cbe6349 udp load test: use relaxed ordering, more accurate stats, improve code 2021-11-28 01:02:23 +01:00
Joakim Frostegård
039eeae160 udo load test: report avg for all response types 2021-11-28 00:49:32 +01:00
Joakim Frostegård
f6a33dac8a udp load test: enable tuning additional request frequency 2021-11-28 00:29:41 +01:00
Joakim Frostegård
473276cd46 Switch to rust edition 2021 2021-11-24 18:56:26 +01:00
Joakim Frostegård
fee3c9ca4e Update mio to version 0.8 2021-11-19 03:01:03 +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
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
5d8a4dd38c udp load test: default to multiple client ips; improve docs 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
5a34bd4b81 udp load test: fix ipv6 issues, improve documentation 2021-11-18 22:42:36 +01:00
Joakim Frostegård
4f8328b70a Feature-gate CPU pinning, since it only works on Linux 2021-11-09 11:40:16 +01:00
Joakim Frostegård
b05cbc563d udp load test: fix cpu pinning issue 2021-11-07 15:10:39 +01:00
Joakim Frostegård
6eaac536ba udp load test: enable log crate logging 2021-11-07 11:29:15 +01:00
Joakim Frostegård
aa332ab296 aquatic_common, udp, udp load test: improve cpu pinning 2021-11-07 11:04:31 +01:00
Joakim Frostegård
072f064138 Run cargo fmt 2021-10-23 12:42:56 +02:00