diff options
author | Yang Yu <Gabriel.yuyang@huawei.com> | 2018-03-06 16:50:33 +0800 |
---|---|---|
committer | Yang Yu <Gabriel.yuyang@huawei.com> | 2018-03-15 11:17:55 +0800 |
commit | df9c531c55afe656f6ea31c4bcb79bd4119917dc (patch) | |
tree | bf41c556e313c6068726c232e584a5c21dfccadd /yardstick/benchmark/scenarios | |
parent | 8544a361f831f324eae33f8a48b94bf2a34f5ab0 (diff) |
support for Bottlenecks soak throughputs
JIRA: YARDSTICK-1049
Changes:
1. NetperfNode -> Netperf, it seems that yardstick-image has not
correctly complied Netperf since cpuutil is not available,
resulting that LOCAL_CPU_UTIL=-1 for the output. Will create
another JIRA ticket for this.
Change-Id: I26a85f4aafcc5d5e1eda3e04272ecf3b059238fc
Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
Diffstat (limited to 'yardstick/benchmark/scenarios')
-rwxr-xr-x | yardstick/benchmark/scenarios/networking/netperf.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/yardstick/benchmark/scenarios/networking/netperf.py b/yardstick/benchmark/scenarios/networking/netperf.py index a8d9010ed..33c02d409 100755 --- a/yardstick/benchmark/scenarios/networking/netperf.py +++ b/yardstick/benchmark/scenarios/networking/netperf.py @@ -104,7 +104,9 @@ class Netperf(base.Scenario): cmd_args = "-H %s -l %s -t %s" % (ipaddr, testlen, testname) # get test specific options - default_args = "-O 'THROUGHPUT,THROUGHPUT_UNITS,MEAN_LATENCY'" + output_opt = options.get( + "output_opt", "THROUGHPUT,THROUGHPUT_UNITS,MEAN_LATENCY") + default_args = "-O %s" % output_opt cmd_args += " -- %s" % default_args option_pair_list = [("send_msg_size", "-m"), ("recv_msg_size", "-M"), |