aboutsummaryrefslogtreecommitdiffstats
path: root/samples/ping_bottlenecks.yaml
diff options
context:
space:
mode:
authorYang (Gabriel) Yu <Gabriel.yuyang@huawei.com>2018-07-18 11:33:07 +0800
committerYu Yang (Gabriel) <Gabriel.yuyang@huawei.com>2018-07-19 02:46:10 +0000
commit60b2c02f3968d84df339b491d659b6549bfc3771 (patch)
tree61609d2b22376276cf0289dc57284c022f95e57e /samples/ping_bottlenecks.yaml
parentf6fa0d7422f0669d049dbf07a51eb39b1dc25830 (diff)
add support of dpdk for bottlenecks_ping
This patch is supposed to be coordinated with https://gerrit.opnfv.org/gerrit/59901 to support dpdk scenario for Bottlenecks JIRA: YARDSTICK-1332 Change-Id: I4ae3d05523d0624d689702cb8eb23be364830de1 Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
Diffstat (limited to 'samples/ping_bottlenecks.yaml')
-rw-r--r--samples/ping_bottlenecks.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/samples/ping_bottlenecks.yaml b/samples/ping_bottlenecks.yaml
index 625d4501a..096d70e67 100644
--- a/samples/ping_bottlenecks.yaml
+++ b/samples/ping_bottlenecks.yaml
@@ -19,6 +19,7 @@ run_in_parallel: true
{% set cpu_num = cpu_num or 1 %}
{% set ram_num = ram_num or 512 %}
{% set disk_num = disk_num or 7 %}
+{% set dpdk_enabled = dpdk_enabled or False %}
scenarios:
{% for num in range(stack_num) %}
@@ -43,6 +44,10 @@ contexts:
vcpus: {{cpu_num}}
ram: {{ram_num}}
disk: {{disk_num}}
+ {% if dpdk_enabled %}
+ extra_specs:
+ hw:mem_page_size: "large"
+ {% endif %}
user: ubuntu
placement_groups: