Skip to content

Commit

Permalink
Add fq-rate parameter. #394
Browse files Browse the repository at this point in the history
  • Loading branch information
mfeit-internet2 committed Mar 1, 2024
1 parent ab99909 commit e88825f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pscheduler-tool-iperf2/iperf2/can-run
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ supported_options = ["schema",
"source", "source-node",
"dest", "dest-node",
"ip-version", "duration", "interval", "link-rtt",
"parallel", "window-size", "bandwidth",
"parallel", "window-size", "bandwidth", "fq-rate",
"buffer-length", "local-address", "congestion",
"udp", "single-ended", "single-ended-port", "loopback"
]
Expand Down
4 changes: 4 additions & 0 deletions pscheduler-tool-iperf2/iperf2/run
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@ def run_client():
iperf2_args.append('-b')
iperf2_args.append(test_spec['bandwidth'])

if 'fq-rate' in test_spec and test_spec['fq-rate'] is not None:
iperf2_args.append('--fq-rate')
iperf2_args.append(test_spec['fq-rate'])

if 'buffer-length' in test_spec and test_spec['buffer-length'] != None:
iperf2_args.append('-l')
iperf2_args.append(test_spec['buffer-length'])
Expand Down

0 comments on commit e88825f

Please sign in to comment.