summaryrefslogtreecommitdiffstats
path: root/nfvbenchvm/dib/elements/nfvbenchvm/finalise.d/51-add-cpu-isolation
diff options
context:
space:
mode:
authorYichen Wang <yicwang@cisco.com>2017-08-04 17:06:18 -0700
committerYichen Wang <yicwang@cisco.com>2017-08-04 17:07:25 -0700
commit0036098e46e16c9ae5b795b108a5b9566c02906b (patch)
tree005463f0fa4f7a37dead0fa0c0f35c212a551ae7 /nfvbenchvm/dib/elements/nfvbenchvm/finalise.d/51-add-cpu-isolation
parentba423e2c7f322871507835341d8265074d747781 (diff)
Add the scipts to build NFVbench VM
Change-Id: I9632333777260468d6f07cf0149c789626f20145 Signed-off-by: Yichen Wang <yicwang@cisco.com>
Diffstat (limited to 'nfvbenchvm/dib/elements/nfvbenchvm/finalise.d/51-add-cpu-isolation')
-rwxr-xr-xnfvbenchvm/dib/elements/nfvbenchvm/finalise.d/51-add-cpu-isolation4
1 files changed, 4 insertions, 0 deletions
diff --git a/nfvbenchvm/dib/elements/nfvbenchvm/finalise.d/51-add-cpu-isolation b/nfvbenchvm/dib/elements/nfvbenchvm/finalise.d/51-add-cpu-isolation
new file mode 100755
index 0000000..eab5817
--- /dev/null
+++ b/nfvbenchvm/dib/elements/nfvbenchvm/finalise.d/51-add-cpu-isolation
@@ -0,0 +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"