Re: Iperf for Wireless
On Tue, Sep 16, 2003 at 05:34:48PM +0100, david.2.gould --at-- bt.com wrote:
> I am currently developing a wireless solution that involves throughput at
> different points in range.
>
> I have tried using iperf, but with some trouble. When I go out of range,
> iperf often reports throughput in UDP mode as succeeding, yet this is quite
> impossible! Further the results in TCP mode are somewhat more odd.
Where are you reading the results? Since UDP is stateless the transmitter
only knows how much data it sent, it has no way to determine how much was
received. Therefore if you are reading the results at the sending side it
will look like no loss. Iperf can communicate with the receiver and find
out how much data the sender received, but this requires that there be
reachability between the sender and the receiver.
TCP on the other hand provides reliability and thus will keep trying to
resend data until it receives an acknowledgement from the receiver that the
data has been received.
Jon
--
Jon Dugan | Senior Network Engineer, NCSA Network Research
jdugan --at-- ncsa.uiuc.edu | 269 CAB, 605 E Springfield, Champaign, IL 61820
217-244-7715 | http://www.ncsa.uiuc.edu/~jdugan/