iperf icon indicating copy to clipboard operation
iperf copied to clipboard

Different bandwidth limits for two transfer directions

Open Shawnxm opened this issue 5 years ago • 6 comments

Context

  • Version of iperf3: iperf 3.9+ (cJSON 1.7.13)

  • Hardware: Desktop

  • Operating system (and distribution, if any): Linux 16.04

Enhancement Request

  • Current behavior: iPerf3 currently supports concurrent bidirectional transfer (--bidir).

  • Desired behavior: Can we set different bandwidth limits for each direction?

  • Implementation notes: ./iperf3 -c [server ip] -p [server port] -u -b 10M --bidir will lead to 10Mbps limit for both directions. It would be great if some options like -bu (uplink, or send) -bd (downlink, receive) can be supported.

Shawnxm avatar Dec 14 '20 04:12 Shawnxm

This is a great feature to have on iperf3 👍

lealog avatar Dec 14 '20 09:12 lealog

This is a valid use case, although one could simulate this now by running two independent iperf3 tests between the hosts in question, one in each direction.

bmah888 avatar Dec 17 '20 18:12 bmah888

Submitted PR #1102 with a suggested enhancement - adding optional argument to --bidir that specifies the distinct server's bitrate.

davidBar-On avatar Jan 11 '21 15:01 davidBar-On

Apologies for cutting in, is this option already implemented in iperf3 3.11? I'm trying to set different uplink and downlink bit rate for bidirectional test but seems it doesn't work.

potpara avatar Mar 17 '22 20:03 potpara

Apologies for cutting in, is this option already implemented in iperf3 3.11? I'm trying to set different uplink and downlink bit rate for bidirectional test but seems it doesn't work.

No, not yet. If the pull request is still open, it hasn't been merged to the mainline. Releases are selected points on the mainline.

bmah888 avatar Mar 18 '22 15:03 bmah888

Thanks for quick reply.

potpara avatar Mar 20 '22 18:03 potpara