????iperf ????? TCP/IP ?? UDP/IP ??????????????????????????????????????????????????κ???????С??????????????????????????????????????λ?????????iperf?????????????????http://sourceforge.net/projects/iperf/?????
????1.    iperf???????
????????iperf?????????????????????????????????????????Iperf?????????????????University of Illinois???????????????????????????????????????????????????????????TCP??UDP????????????????????????????????????ж???????????????UDP???????????????????TCP??UDP??
??????????????????????iperf???????????????????????????????
????2.    ???????????
??????????????????????????????????????????????????????Щ???????????棬??QOS??????????????
????????????????????????

???????D1??D2???????A???B??????
??????????|D2-D1|
????????????iperf?????????????iperf??????????????????????????
???????????????iperf?У??????????????????????????????????????????????????????????????
????3.    ???iperf
??????Unix???£????iperf?????????????????rpm???????rpm?????????ɡ?
????????????????sourceforge??????????????????????????ɡ?
????#./configure
????#make
????#make install
????????????????????C++????????make??????????????????????????????????iperf?????????
$ iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[ 4] local 127.0.0.1 port 5001 connected with 127.0.0.1 port 35589
[ ID] Interval      Transfer    Bandwidth
[ 4] 0.0-10.0 sec 26.3 GBytes 22.6 Gbits/sec
$ iperf -c 127.0.0.1
------------------------------------------------------------
Client connecting to 127.0.0.1?? TCP port 5001
TCP window size: 49.5 KByte (default)
------------------------------------------------------------
[ 3] local 127.0.0.1 port 35589 connected with 127.0.0.1 port 5001
[ ID] Interval      Transfer    Bandwidth
[ 3] 0.0-10.0 sec 26.3 GBytes 22.6 Gbits/sec