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 --- nfvbenchvm/dib/build-image.sh | 2 +- nfvbenchvm/dib/elements/nfvbenchvm/finalise.d/51-add-cpu-isolation | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'nfvbenchvm') 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