From 9eae927367cf09f8f2c2189da2cd40829624e46c Mon Sep 17 00:00:00 2001 From: Billy O'Mahony Date: Fri, 15 Apr 2016 15:56:37 +0100 Subject: yardstick-verify: Mod yardstick-flavor for ovs scenarios VMs used with DPDK-enabled OVS must have their memory backed by large pages. Change-Id: Id685554183a76e8a6024d58920a9a9e187b90e24 Signed-off-by: Billy O'Mahony Reviewed-by: Ana Cunha Reviewed-by: Jorgen Karlsson Reviewed-by: Jonas Bjurel Reviewed-by: Daniel Smith Reviewed-by: Fatih Degirmenci Reviewed-by: Mark D. Gray (cherry picked from commit 11a452a34c345abb7d882b151dd99c536f477650) --- ci/yardstick-verify | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ci') 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 } -- cgit 1.2.3-korg