If memory serves me right, Sandro Bureca wrote:

> could you please explain the meaning of the optional argument *-w*
> when iperf3 is used to measure bandwidth with *udp *packets.
> 
> I assumed it was used for *TCP-window* parameters but I found on some
> iperf3 help that it is used for dimensioning the *buffer*. It is not
> very clear to me.

It helps a little if you read the code (see src/iperf_tcp.c), but
basically what's happening is that the option sets the sender and
receiver socket buffer sizes.  These have the side effect of setting the
TCP window size.

For UDP, there's no window size of course.  But it's still useful to set
the socket buffer size.  This can be helpful for avoiding UDP packet losses.

I admit that the option is a bit misnamed.

Bruce.


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
_______________________________________________
Iperf-users mailing list
Iperf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iperf-users

Reply via email to