Skip to content

Commit 44c90a5

Browse files
committed
fix: set bandwidth to unlimited in default Iperf UDP runner
1 parent 47ec5d8 commit 44c90a5

File tree

1 file changed

+1
-1
lines changed
  • network/benchmarks/netperf/nptest

1 file changed

+1
-1
lines changed

network/benchmarks/netperf/nptest/tests.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,6 @@ func defaultIperfTCPRunner(w ClientWorkItem) string {
275275
}
276276

277277
func defaultIperfUDPRunner(w ClientWorkItem) string {
278-
output, _ := cmdExec(iperf3Path, []string{iperf3Path, "-c", w.Host, "-V", "-J", "--time", fmt.Sprintf("%f", w.Params.TestDuration.Seconds()), "-u"}, 15)
278+
output, _ := cmdExec(iperf3Path, []string{iperf3Path, "-c", w.Host, "-V", "-J", "--time", fmt.Sprintf("%f", w.Params.TestDuration.Seconds()), "-u", "-b", "0"}, 15)
279279
return output
280280
}

0 commit comments

Comments
 (0)