Skip to content

ravi861/nperf-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nperf

A portable network performance measurement tool for TCP/UDP/QUIC/TLS protocols. Similar to iperf3 in usage.

Supported on Linux and Windows. (macos coming soon)

QUIC protocol testing uses the quinn QUIC implementation. Future support for Quiche is WIP.

Differences to iperf3

  • nperf works on Windows
  • QUIC is newly supported in nperf
  • TLS (tls over tcp) is newly supported in nperf
  • Some CLI options yet to be supported in nperf and some are WIP
  • SCTP is unsupported
  • No support for --bidir

Usage

More options available via help.

Server

# binds to [::]:8080 by default
cargo run -- -s

Client

# connects to 127.0.0.1:8080 by default and test TCP streams
cargo run --
cargo run -- -c 127.0.0.1

# Test TSL performance
cargo run -- --tls

# Test UDP performance
cargo run -- -u

# Test QUIC performance
cargo run -- -q

# Test with parallel streams using -P, period to test with -t
cargo run -- -u -P 2 -t 30

Future

  • Support for send/recv buffer sizes
  • More performance and configuration options for QUIC