????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