Crates.io | netperf |
lib.rs | netperf |
version | 0.2.7 |
source | src |
created_at | 2020-05-24 14:00:05.652142 |
updated_at | 2023-09-11 10:07:45.893106 |
description | A network performance measurement tool |
homepage | |
repository | https://github.com/AhmedSoliman/netperf |
max_upload_size | |
id | 245224 |
size | 196,951 |
A network (TCP-only) performance measurement tool written in Rust, inspired by iperf3's original code.
All basic features are implemented. Key differences from iperf3:
cargo install --locked netperf
On one node you run netperf in server mode:
netperf -s
On a client node, you need to connect to that server (you will need an addressable IP address IPv6 is supported).
netperf -c ::1
By default, the test will use a single stream (client sends and server receives). You can control the number of parallel streams with -P
and the direction of traffic with -R/--bidir
Does not support configuring MSS, Congestion control algorithm.
No UDP/STCP support.
Does not collect extra stats like retransmits, cwnd, etc. (contributions are appreciated)
Licensed under either of Apache License, Version 2.0 or MIT license at your option. Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.