From 98aac3b7ed5060d2e498d4ab545482a525339120 Mon Sep 17 00:00:00 2001 From: Yichen Wang Date: Tue, 10 Sep 2019 14:06:19 -0700 Subject: [NFVBENCH-151] Allocate hugepages on two NUMAs in nfvbenchvm Change-Id: I001db6d15453bf3af8ad109d1497bc68e7c104a7 Signed-off-by: Yichen Wang --- docker/Dockerfile | 2 +- nfvbenchvm/dib/build-image.sh | 2 +- nfvbenchvm/dib/elements/nfvbenchvm/finalise.d/51-add-cpu-isolation | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 78b8484..6d69465 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -2,7 +2,7 @@ FROM ubuntu:16.04 ENV TREX_VER "v2.61" -ENV VM_IMAGE_VER "0.9" +ENV VM_IMAGE_VER "0.10" # Note: do not clone with --depth 1 as it will cause pbr to fail extracting the nfvbench version # from the git tag diff --git a/nfvbenchvm/dib/build-image.sh b/nfvbenchvm/dib/build-image.sh index 588e454..fce298c 100755 --- a/nfvbenchvm/dib/build-image.sh +++ b/nfvbenchvm/dib/build-image.sh @@ -30,7 +30,7 @@ set -e gs_url=artifacts.opnfv.org/nfvbench/images # image version number -__version__=0.9 +__version__=0.10 image_name=nfvbenchvm_centos-$__version__ # if image exists skip building diff --git a/nfvbenchvm/dib/elements/nfvbenchvm/finalise.d/51-add-cpu-isolation b/nfvbenchvm/dib/elements/nfvbenchvm/finalise.d/51-add-cpu-isolation index eab5817..f81485d 100755 --- a/nfvbenchvm/dib/elements/nfvbenchvm/finalise.d/51-add-cpu-isolation +++ b/nfvbenchvm/dib/elements/nfvbenchvm/finalise.d/51-add-cpu-isolation @@ -1,4 +1,4 @@ #!/bin/bash grubby --update-kernel=ALL --args="isolcpus=1 rcu_nocbs=1 nohz=on nohz_full=1 nmi_watchdog=0" -grubby --update-kernel=ALL --args="default_hugepagesz=1G hugepagesz=1G hugepages=1" +grubby --update-kernel=ALL --args="default_hugepagesz=1G hugepagesz=1G hugepages=2" -- cgit 1.2.3-korg