iperf -s:以服务端启动
iperf -c serverip:以客户端启动
iperf -c 127.0.0.1 -n 1000 -t 20:1000字节20秒

iperf -s -p 12345 -i 1 -M
iperf -c 127.0.0.1 -p 12345 -i 1 -t 10 -w 20K -P 2