Add the scipts to build NFVbench VM
[nfvbench.git] / nfvbenchvm / dib / elements / nfvbenchvm / finalise.d / 51-add-cpu-isolation
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 (executable)
index 0000000..eab5817
--- /dev/null
@@ -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"