summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJing Lu <lvjing5@huawei.com>2018-07-19 03:26:15 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-07-19 03:26:15 +0000
commit3eb7c80aa614456b05e08651a55f7450e6864c79 (patch)
tree68120d9a2cc6253a90e3f332cefeb7bdc42dd09d
parenta3d1c85482159201492284d1c893cebda91003b3 (diff)
parent60b2c02f3968d84df339b491d659b6549bfc3771 (diff)
Merge "add support of dpdk for bottlenecks_ping"
-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: