Hi all,
            I just do some udp test on windows by iperf 2.0.2. The results are 
strange.

1.     Version of my iperf on windows:
C:\>iperf -v
iperf version 2.0.2 (03 May 2005) pthreads

2.     If test with low bandwidth, it is ok.
 C:\>iperf -c 192.168.0.23 -i  1 -t 5 -b 20m
WARNING: option -b implies udp testing
------------------------------------------------------------
Client connecting to 192.168.0.23, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size: 63.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.0.198 port 2529 connected with 192.168.0.23 port 5001
[  3]  0.0- 1.0 sec  2.38 MBytes  20.0 Mbits/sec
[  3]  1.0- 2.0 sec  2.38 MBytes  20.0 Mbits/sec
[  3]  2.0- 3.0 sec  2.38 MBytes  20.0 Mbits/sec
[  3]  3.0- 4.0 sec  2.38 MBytes  20.0 Mbits/sec
[  3]  4.0- 5.0 sec  2.38 MBytes  20.0 Mbits/sec
[  3]  0.0- 5.0 sec  11.9 MBytes  20.0 Mbits/sec
[  3] Sent 8502 datagrams
[  3] WARNING: did not receive ack of last datagram after 10 tries.

            Here the ip 192.168.0.23 doesn't exist. I just want to try the 
capacity  that windows iperf can achieve. The results is ok.


3.     If test with high bandwidth , it is abnormal:
C:\>iperf -c 192.168.0.23 -i  1 -t 5 -b 40m
WARNING: option -b implies udp testing
------------------------------------------------------------
Client connecting to 192.168.0.23, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size: 63.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.0.198 port 2562 connected with 192.168.0.23 port 5001
[  3]  0.0- 1.0 sec  4.77 MBytes  40.0 Mbits/sec
[  3]  1.0- 2.0 sec  4.77 MBytes  40.0 Mbits/sec
[  3]  2.0- 3.0 sec  4.14 MBytes  34.7 Mbits/sec
[  3]  3.0- 4.0 sec  2.52 MBytes  21.2 Mbits/sec
[  3]  4.0- 5.0 sec  1.52 MBytes  12.7 Mbits/sec
[  3]  0.0- 5.0 sec  17.7 MBytes  29.6 Mbits/sec
[  3] Sent 12640 datagrams
[  3] WARNING: did not receive ack of last datagram after 10 tries.

It seems that windows can't sent 40Mbits/s. But Linux can get stable 780Mbits/s.

If I do the test with one real server, the result is almost the same.
C:\>iperf -c 192.168.0.199 -i  1 -t 5 -b 40m
WARNING: option -b implies udp testing
------------------------------------------------------------
Client connecting to 192.168.0.199, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size: 63.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.0.198 port 2608 connected with 192.168.0.199 port 5001
[  3]  0.0- 1.0 sec  4.77 MBytes  40.0 Mbits/sec
[  3]  1.0- 2.0 sec  4.77 MBytes  40.0 Mbits/sec
[  3]  2.0- 3.0 sec  3.91 MBytes  32.8 Mbits/sec
[  3]  3.0- 4.0 sec  2.72 MBytes  22.8 Mbits/sec
[  3]  4.0- 5.0 sec  1.74 MBytes  14.6 Mbits/sec
[  3]  0.0- 5.0 sec  17.9 MBytes  29.9 Mbits/sec
[  3] Sent 12771 datagrams
[  3] Server Report:
[  3]  0.0- 5.0 sec  17.8 MBytes  29.8 Mbits/sec  2.136 ms   42/12770 (0.33%)
[  3]  0.0- 5.0 sec  1 datagrams received out-of-order

Here, 192.168.0.199 is direct connect to this windows PC. They two are all in 
the same LAN. The Ethernet is 1Gbps. There is no heavy load on the two machine.

Why the windows version work like this?  Anybody can help me on this?


Regards

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Iperf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iperf-users

Reply via email to