NETTEST(8) NETTEST(8) NAME nettest - test network performance SYNOPSIS nettest -l [ -t [ -e encalg -h hashalg ]] [ -s sleepms ][ -n nblocks ] nettest [ -t [ -e encalg -h hashalg ]] [ -a addr ][ -s sleepms ] nettest [ -t [ -e encalg -h hashalg ]] -r raddr -n nblocks DESCRIPTION Nettest tests goodput of reliable, in-order transports at full speed, and with receiver throttling. Both sender and receiver do i/o in 8 KB chunks. Goodput in MB/s and if throttled, the theoretical maximum goodput in MB/s are reported. As a client the options are -r raddr remote address addr -n nblocks send nblocks 8-KiB blocks Server options are -a addr listen on network address addr -s sleepms sleep sleepms between 8KiB reads In loopback mode the options are -l specify loopback mode -s sleepms sleep sleepms between 8KiB reads -n nblocks send nblocks 8-KiB blocks In all modes, TLS may be pushed onto the network file descriptor. The options are -t Enable TLS. -h hashalg Set the hash algorithm. The default is clear. -e encalg Set the encryption algorithm. The default is clear. EXAMPLE To test a reader limited to 8MB/s nettest -l -n 5000 -s 1 To do the same test using two independent IP stacks nettest -s 1 -a /net.a/tcp!* & nettest -n 5000 -r /net.b/tcp!mymachine-neta To test with TLS using AES and SHA1 over loopback networking nettest -te aes_128_cbc -h sha1 -ln5000 Page 1 Plan 9 (printed 12/30/24) NETTEST(8) NETTEST(8) SEE ALSO ping(8) Page 2 Plan 9 (printed 12/30/24)