aboutsummaryrefslogtreecommitdiffstats
path: root/ci/yardstick-verify
diff options
context:
space:
mode:
Diffstat (limited to 'ci/yardstick-verify')
-rwxr-xr-xci/yardstick-verify4
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/yardstick-verify b/ci/yardstick-verify
index c7b1cefec..c83193574 100755
--- a/ci/yardstick-verify
+++ b/ci/yardstick-verify
@@ -144,6 +144,10 @@ create_nova_flavor()
echo "========== Create nova flavor =========="
# Create the nova flavor used by some sample test cases
nova flavor-create yardstick-flavor 100 512 3 1
+ # DPDK-enabled OVS requires guest memory to be backed by large pages
+ if [[ "$DEPLOY_SCENARIO" == *"-ovs-"* ]]; then
+ nova flavor-key yardstick-flavor set hw:mem_page_size=large
+ fi
fi
}