atsz / iperf

Automatically exported from code.google.com/p/iperf
0 stars 0 forks source link

don't use blocking sends/recv's #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Explaination of new feature

make sure all test related i/o uses select

Justification of new feature

cleaner, less error prone

Original issue reported on code.google.com by jdugan.e...@gmail.com on 11 Dec 2009 at 12:43

GoogleCodeExporter commented 9 years ago

Original comment by bltier...@es.net on 12 Mar 2013 at 10:46

GoogleCodeExporter commented 9 years ago
I figured out where to add the setnonblocking() call - in 
iperf_client_api/iperf_create_streams().  Results: it works sometimes, more 
often it keeps going way past the time limit.  But in the runs where it 
terminates on time, performance is not improved over the blocking case.

No big surprise, but we had to check.

I'm going to back out this (one line) change and proceed to the next idea.  We 
should probably change the Milestone on this issue to some future release, or 
just mark it WontFix.

Original comment by jef.posk...@gmail.com on 13 Mar 2013 at 5:44

GoogleCodeExporter commented 9 years ago

Original comment by bltier...@es.net on 13 Mar 2013 at 10:22