summaryrefslogtreecommitdiffstats
path: root/nfvbenchvm/dib
diff options
context:
space:
mode:
authorYichen Wang <yicwang@cisco.com>2019-09-10 14:06:19 -0700
committerYichen Wang <yicwang@cisco.com>2019-09-10 16:54:46 -0700
commit98aac3b7ed5060d2e498d4ab545482a525339120 (patch)
tree517a4a7d47fc3bfe50004420ba94b5d2c2ab9a84 /nfvbenchvm/dib
parent50a01aacb26028cf23e7ee2583c368adff3a4b2e (diff)
[NFVBENCH-151] Allocate hugepages on two NUMAs in nfvbenchvm3.6.1
Change-Id: I001db6d15453bf3af8ad109d1497bc68e7c104a7 Signed-off-by: Yichen Wang <yicwang@cisco.com>
Diffstat (limited to 'nfvbenchvm/dib')
-rwxr-xr-xnfvbenchvm/dib/build-image.sh2
-rwxr-xr-xnfvbenchvm/dib/elements/nfvbenchvm/finalise.d/51-add-cpu-isolation2
2 files changed, 2 insertions, 2 deletions
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"