Crates.io | aquatic_ws_load_test |
lib.rs | aquatic_ws_load_test |
version | 0.9.0 |
source | src |
created_at | 2022-03-26 11:05:52.863045 |
updated_at | 2024-05-03 21:12:25.457248 |
description | WebTorrent over TLS load tester |
homepage | |
repository | https://github.com/greatest-ape/aquatic |
max_upload_size | |
id | 556664 |
size | 80,234 |
Load tester for WebTorrent trackers. Requires Linux 5.8 or later.
apt-get install cmake build-essential
)git clone https://github.com/greatest-ape/aquatic.git && cd aquatic
# Recommended: tell Rust to enable support for all SIMD extensions present on
# current CPU except for those relating to AVX-512. (If you run a processor
# that doesn't clock down when using AVX-512, you can enable those instructions
# too.)
. ./scripts/env-native-cpu-without-avx-512
cargo build --release -p aquatic_ws_load_test
Generate the configuration file:
./target/release/aquatic_ws_load_test -p > "load-test-config.toml"
Make necessary adjustments to the file.
Make sure locked memory limits are sufficient:
ulimit -l 65536
First, start the tracker application that you want to test. Then start the load tester:
./target/release/aquatic_ws_load_test -c "load-test-config.toml"
Copyright (c) Joakim FrostegÄrd
Distributed under the terms of the Apache License, Version 2.0. Please refer to
the LICENSE
file in the repository root directory for details.