diff options
author | Ayush Ranjan <ayushranjan@google.com> | 2021-03-02 12:41:06 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-03-02 12:43:35 -0800 |
commit | a317174673562996a98f5a735771955d6651e233 (patch) | |
tree | 8ea51f429d1dab72a067e15b8b266d5ec9c8922e /test/benchmarks/tcp/tcp_benchmark.sh | |
parent | 6bc27946a6cb159ecbe049acff888d0041d4a432 (diff) |
[rack] Support running tcp_benchmarks with RACK.
PiperOrigin-RevId: 360491700
Diffstat (limited to 'test/benchmarks/tcp/tcp_benchmark.sh')
-rwxr-xr-x | test/benchmarks/tcp/tcp_benchmark.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/benchmarks/tcp/tcp_benchmark.sh b/test/benchmarks/tcp/tcp_benchmark.sh index ef04b4ace..6a4f33b96 100755 --- a/test/benchmarks/tcp/tcp_benchmark.sh +++ b/test/benchmarks/tcp/tcp_benchmark.sh @@ -91,6 +91,9 @@ while [ $# -gt 0 ]; do --sack) netstack_opts="${netstack_opts} -sack" ;; + --rack) + netstack_opts="${netstack_opts} -rack" + ;; --cubic) netstack_opts="${netstack_opts} -cubic" ;; @@ -150,8 +153,9 @@ while [ $# -gt 0 ]; do echo " --client use netstack as the client" echo " --ideal reset all network emulation" echo " --server use netstack as the server" - echo " --mtu set the mtu (bytes)" + echo " --mtu set the mtu (bytes)" echo " --sack enable SACK support" + echo " --rack enable RACK support" echo " --moderate-recv-buf enable TCP receive buffer auto-tuning" echo " --cubic enable CUBIC congestion control for Netstack" echo " --duration set the test duration (s)" |