I am trying to run iperf with bidirectional TCP (--dualtest), and I also want to do this with fixed size transfers (500KB, 1MB, 10MB). The server and client commands and output are below. Basically iperf seems to start up the bidirectional TCP, and one direction finishes in a reasonable amount of time. But the other direction seems to just keep on going. After a while I ^C the client (twice - once doesn't seem to stop it). After the ^C, the server prints out the results for the other directions. I have run "iperf ---dualtest" with a time "-t" option (rather than "-n" number of bytes option) and it worked fine.
I also note the "write2 failed: Broken pipe". I get this error message most of the time, and it does not seem to have any effect. But it does concern me. Thanks for any help you can provide. Regards, Steve SERVER ------------- [ber...@h1 ~/TIP]$ iperf -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 85.3 KByte (default) ------------------------------------------------------------ [ 4] local 10.1.1.2 port 5001 connected with 10.1.3.2 port 52031 ------------------------------------------------------------ Client connecting to 10.1.3.2, TCP port 5001 TCP window size: 64.0 KByte (default) ------------------------------------------------------------ [ 6] local 10.1.1.2 port 52653 connected with 10.1.3.2 port 5001 [ ID] Interval Transfer Bandwidth [ 4] 0.0- 7.5 sec 1.00 MBytes 1.12 Mbits/sec write2 failed: Broken pipe [ ID] Interval Transfer Bandwidth [ 6] 0.0-19.6 sec 6.10 MBytes 2.61 Mbits/sec CLIENT ------------ [ber...@h2 ~]$ iperf -c h1 --dualtest --num 1m ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 85.3 KByte (default) ------------------------------------------------------------ ------------------------------------------------------------ Client connecting to h1, TCP port 5001 TCP window size: 64.0 KByte (default) ------------------------------------------------------------ [ 5] local 10.1.3.2 port 52031 connected with 10.1.1.2 port 5001 [ 4] local 10.1.3.2 port 5001 connected with 10.1.1.2 port 52653 [ ID] Interval Transfer Bandwidth [ 5] 0.0- 6.8 sec 1.00 MBytes 1.23 Mbits/sec ^C^C [ber...@h2 ~]$ iperf -v iperf version 2.0.4 (7 Apr 2008) pthreads -- Sapere aude ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Iperf-users mailing list Iperf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iperf-users