需要进行Iperf带宽压测,对于四种情况下的参数选择,做一个记录
- tcp_unidir:
server: iperf -s
client: iperf -c -t 60s -i 1 -P 5
- tcp_bidir:
server: iperf -s
client: iperf -c -t 60s -i 1 -P 5 -d
- udp_unidir:
server: iperf -u -s
client: iperf -u -c -t 60s -i 1 -b 1000M
- udp_bidir:
server: iperf -u -s
client: iperf -u -c -t 60s -i 1 -b 1000M -d