diff options
author | Billy O'Mahony <billy.o.mahony@intel.com> | 2016-04-15 15:56:37 +0100 |
---|---|---|
committer | Billy O'Mahony <billy.o.mahony@intel.com> | 2016-04-23 11:18:29 +0000 |
commit | 9eae927367cf09f8f2c2189da2cd40829624e46c (patch) | |
tree | 851de521af2cedfe62d932d61aa05c2e033a24e2 | |
parent | 466b743ad425323a9a1d5c9c9f82338f54d5a3f6 (diff) |
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 <billy.o.mahony@intel.com>
Reviewed-by: Ana Cunha <ana.cunha@ericsson.com>
Reviewed-by: Jorgen Karlsson <jorgen.w.karlsson@ericsson.com>
Reviewed-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
Reviewed-by: Daniel Smith <daniel.smith@ericsson.com>
Reviewed-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Reviewed-by: Mark D. Gray <mark.d.gray@intel.com>
(cherry picked from commit 11a452a34c345abb7d882b151dd99c536f477650)
-rwxr-xr-x | ci/yardstick-verify | 4 |
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 } |