Links
Snippets
Benchmarks
- server:
netserver -p 30838 -D
- TCP client:
- stream:
netperf -t TCP_STREAM -4 -H 194.102.63.43 -D 1 \ -p 30838,30838 -l 60 -f K -c -C \ -- -P 30839,30839 -s 128k -S 128k -m 1400 -M 1400
- request / reply:
netperf -t TCP_RR -4 -H 194.102.63.43 -D 1 \ -p 30838,30838 -l 60 -f K -c -C \ -- -P 30839,30839 -s 128k -S 128k -r 1400,1400
- stream:
- UDP client:
- stream:
netperf -t UDP_STREAM -4 -H 194.102.63.43 -D 1 \ -p 30838,30838 -l 60 -f K -c -C \ -- -P 30839,30839 -s 128k -S 128k -m 1400 -M 1400
- request / reply:
netperf -t UDP_RR -4 -H 194.102.63.43 -D 1 \ -p 30838,30838 -l 60 -f K -c -C \ -- -P 30839,30839 -s 128k -S 128k -r 1400,1400
- stream:
Installation
download & extract:
wget \ -O /tmp/netperf-2.6.0.tar.bz2 \ ftp://ftp.netperf.org/netperf/netperf-2.6.0.tar.bz2
( set -e -E -u -m -o pipefail || exit 1 mkdir /tmp/netperf-2.6.0 tar \ -xjf /tmp/netperf-2.6.0.tar.bz2 \ -C /tmp/netperf-2.6.0 \ --strip-components 1 )
configure & build:
( set -e -E -u -m -o pipefail || exit 1 cd /tmp/netperf-2.6.0 ./configure \ --prefix /tmp/pkg/netperf/2.6.0--1 \ --enable-unixdomain \ --enable-intervals \ --enable-demo \ LDFLAGS='-static' make )
- deploy:
( set -e -E -u -m -o pipefail || exit 1 cp -T /tmp/netperf-2.6.0/src/netperf /tmp/netperf cp -T /tmp/netperf-2.6.0/src/netserver /tmp/netserver )