nperf is a tool for active measurements of the maximum achievable bandwidth between N peers, measuring RX/TX bandwidth for each peers.
Download Binary Releases for various platforms.
- Calculate baseline RX/TX
- Debug TOR Switch bottlenecks
./nperf IP1 IP2 IP3 ...
...
Bandwidth: 1.2 GB/s RX | 1.0 GB/s TX
Bandwidth: 1.2 GB/s RX | 1.1 GB/s TX
Bandwidth: 1.2 GB/s RX | 990 MB/s TX
Bandwidth: 1.2 GB/s RX | 944 MB/s TX
on all the servers IP1 IP2 IP3 ... respectively.
Default ports are 9999
and 10000
make sure your firewalls allow these ports. You may optionally configure ./nperf
to use custom ports as well, for example setting port 5001
would require opening up port 5002
as well.
NPERF_PORT=5001 ./nperf IP1 IP2 IP3 ...
helm install https://github.com/minio/nperf/raw/main/helm-releases/nperf-v4.0.0.tgz --generate-name --namespace <my-namespace>
export NAMESPACE=<my-namespace>
kubectl apply -f https://github.com/minio/nperf/raw/main/nperf.yaml --namespace $NAMESPACE
kubectl logs --namespace <my-namespace> --max-log-requests <replica-count> -l "app=nperf" -f
Use of nperf
tool is governed by the GNU AGPLv3 license that can be found in the LICENSE file.