diff options
author | Peter Mikus <pmikus@cisco.com> | 2016-11-21 08:33:33 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2016-11-21 08:35:50 +0000 |
commit | 272b02a7e3faf6ee9c677942ca67a2d600673c29 (patch) | |
tree | b6572971886edda6004fc7fb3bcbd8163fa5f545 /resources/tools/disk-image-builder/nested/image-patches/07-isolate-cpu | |
parent | 3e62e29b594f36e80f397a02bc4eaa88ff71ab0d (diff) |
Add performance optimization to Nested VM
- Add isolcpu to grub
- Add SMP affinity pinning into testpmd startup script
Change-Id: I027635f9c27f565e2be10656663463a1b7274afc
Signed-off-by: pmikus <pmikus@cisco.com>
Diffstat (limited to 'resources/tools/disk-image-builder/nested/image-patches/07-isolate-cpu')
-rw-r--r-- | resources/tools/disk-image-builder/nested/image-patches/07-isolate-cpu | 8 |
1 files changed, 8 insertions, 0 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 new file mode 100644 index 0000000000..72d94160be --- /dev/null +++ b/resources/tools/disk-image-builder/nested/image-patches/07-isolate-cpu @@ -0,0 +1,8 @@ +#!/bin/sh + +patch boot/grub/menu.lst <<"_EOF" +15c17 +< kernel /boot/bzImage rw root=/dev/sda1 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 |