aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/disk-image-builder/nested/image-patches/07-isolate-cpu
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2016-12-07 13:19:59 +0100
committerPeter Mikus <pmikus@cisco.com>2016-12-12 13:29:40 +0000
commit0e627645f1423b2c429a0d5873b6c90f24e0ed24 (patch)
treef0283b3a66a7bcac8148dc255f3b53e055a71ba1 /resources/tools/disk-image-builder/nested/image-patches/07-isolate-cpu
parent97792bf731c00968581d98fcbea67e69ce9c6abd (diff)
Fix: Nested VM performance optimizations
- Fix he issue with packet loss by workaround - Fix the isolcpu patch Change-Id: Ia9945963a63fceef5ce00d9cbcd0228c81783a47 Signed-off-by: pmikus <pmikus@cisco.com>
Diffstat (limited to 'resources/tools/disk-image-builder/nested/image-patches/07-isolate-cpu')
-rwxr-xr-x[-rw-r--r--]resources/tools/disk-image-builder/nested/image-patches/07-isolate-cpu8
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/tools/disk-image-builder/nested/image-patches/07-isolate-cpu b/resources/tools/disk-image-builder/nested/image-patches/07-isolate-cpu
index 72d94160be..401966deac 100644..100755
--- a/resources/tools/disk-image-builder/nested/image-patches/07-isolate-cpu
+++ b/resources/tools/disk-image-builder/nested/image-patches/07-isolate-cpu
@@ -1,8 +1,8 @@
#!/bin/sh
patch boot/grub/menu.lst <<"_EOF"
-15c17
-< kernel /boot/bzImage rw root=/dev/sda1 console=ttyS0,115200n8
+17c17
+< kernel /boot/bzImage rw root=/dev/sda1 ipv6.disable=1 console=ttyS0,115200n8
---
-> kernel /boot/bzImage rw root=/dev/sda1 console=ttyS0,115200n8 isolcpus=1-7 nohz_full=1-7 rcu_nocbs=1-7
-_EOF \ No newline at end of file
+> kernel /boot/bzImage rw root=/dev/sda1 ipv6.disable=1 console=ttyS0,115200n8 isolcpus=1,2,3,4 nohz_full=1,2,3,4 rcu_nocbs=1,2,3,4 intel_pstate=disable
+_EOF