?????????????
????????
?????????????????????????????????????????????????????????????????????????????????iperf -h ?????
??????????
????iperf -s -u
????-s ???????????
????-u???????UDP????
????-p ?????????????
??????????
????iperf -c 1.1.1.1 -i 1 -u -t 60 -F /root/a.zip -P 5
????-c????????????
????-i ?趨???????
????-u??????Э???UDP
????-t ?趨????????60??
????-F ??????????(??????п???)
????-P ???????????????????5??????????????????????
???????????
????1.??????????????UDP??????TCP????????з?????????-u????????????Э?顣
????2.TCPЭ??????????????????????????????????????????
??????????
[root@localhost ~]# iperf -c 192.168.1.100 -u -i 1 -t 10 -b 2M #???2M???????????????
------------------------------------------------------------
Client connecting to 192.168.1.100?? UDP port 5001
Sending 1470 byte datagrams
UDP buffer size: 108 KByte (default)
------------------------------------------------------------
[ 3] local 192.200.40.112 port 32784 connected with 218.60.1.20 port 5001 #??????????????
[ ID] Interval Transfer Bandwidth #????е????
[ 3] 0.0- 1.0 sec 12.0 GBytes 103 Gbits/sec
[ 3] 1.0- 2.0 sec 244 KBytes 2.00 Mbits/sec
[ 3] 2.0- 3.0 sec 244 KBytes 2.00 Mbits/sec
[ 3] 3.0- 4.0 sec 244 KBytes 2.00 Mbits/sec
[ 3] 4.0- 5.0 sec 244 KBytes 2.00 Mbits/sec
[ 3] 5.0- 6.0 sec 245 KBytes 2.01 Mbits/sec
[ 3] 6.0- 7.0 sec 244 KBytes 2.00 Mbits/sec
[ 3] 7.0- 8.0 sec 244 KBytes 2.00 Mbits/sec
[ 3] 8.0- 9.0 sec 244 KBytes 2.00 Mbits/sec
[ 3] 9.0-10.0 sec 244 KBytes 2.00 Mbits/sec
[ 3] 0.0-10.0 sec 12.0 GBytes 10.3 Gbits/sec
[ 3] Sent 1702 datagrams
[ 3] Server Report: #???????
[ 3] 0.0-10.6 sec 263 KBytes 204 Kbits/sec 36.313 ms 1518/ 1701 (89%) #??? ????????????????????????????
[ 3] 0.0-10.6 sec 1 datagrams received out-of-order  #????
??????????
[root@localhost ~]# iperf -s -u #?趨?????????
------------------------------------------------------------ #???????????
Server listening on UDP port 5001
Receiving 1470 byte datagrams
UDP buffer size: 108 KByte (default)
------------------------------------------------------------
[ 3] local 218.60.1.20 port 5001 connected with 218.241.145.36 port 32784 #??????????????????????????
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 3] 0.0-10.6 sec 263 KBytes 204 Kbits/sec 36.314 ms 1518/ 1701 (89%)
[ 3] 0.0-10.6 sec 1 datagrams received out-of-order
????iPerf???????????????UDP???????????????????????????TCP???????????UDP???????????????????????????????????????iPerf???????1 Mbps?????????????????????1470????UDP??????У??????????????????????????????????????????????????????????λ??????Kbps ??Mbps??-b #K ?? --b #M???????????£?

????????UDP?????????
????????????????????????iPerf????????????????????????????????????UDP???????????????????????????????

????????UDP?????????
???????????????????????????????1?????????????????????????????????????????????????????jitter——???????????е??????????????????????????????????????????磬?????y??????????????????????????????????????????????????????????????
????UDP?????????????????嶠???????????????λ?Kbytes ?? Mbytes??-l #K or #M??????????????1500?????MTU?????????λ??????????802.11??????????2304????????????????
??????????????????????·???а???Ethernet??802.11??????????????????????????????????Ethernet???????????????
??????????????iPerf UDP?????????????????Type of Service?? ToS?????????С??Χ??0x10 (С???) ??0x2 (?????)???????802.11e???????????????WLAN?У?ToS???????Wi-Fi??y??(WMM)?????????