Iperf 2.0.2 unreliability on WinXP
Greetings,
I have two laptops running Windows XP connected back-to-back with a
crossover cable. To test this basic setup I'm running an Iperf UDP
server on one laptop and a UDP client on the other sending a 100MB
stream. With Iperf 2.0.2 this test produces one of two results.
Either:
1. The test runs mostly as expected but with a handful of dropped
packets. This probably shouldn't happen as the laptops are connected
across a gig interface.
Or, 2. The server thread freezes after only a handful of packets are
received. Sometimes it doesn't even receive a single packet before
hanging. When I hit CTRL+C on the server I see the message "recvfrom
failed: Interrupted system call" and a report line for the test that
sometimes shows the results of the few packets received and sometimes
shows garbage values for the throughput and packets received numbers.
There does not appear to be reason or rhyme as to when or why the server
thread decides to hang.
I compiled Iperf 2.0.2 from source on Windows XP using Cygwin. Iperf
1.7.0 doesn't have problem #2 but it drops more packets than 2.0.2 and
also refuses to send more than an 82MB UDP stream. This makes 1.7.0
unacceptable.
Any ideas? I don't even know where to begin debugging this.
Thanks,
Andy McConnell