Skip to content

Commit 055d4a9

Browse files
committed
dpdk-vm: Remove isolcpus from grub command
This kernel-arg is no longer needed on RHEL 8,9 [0]. This is already taken cared of by the cpu-partitoning configuration that is already being exercised in this script. [0] https://access.redhat.com/articles/6126451 Signed-off-by: Ram Lavi <[email protected]> dpdk-vm: Change spec Hugepage configuration API Change to the more appropriate way of configuring the guest Hugepages memory. Signed-off-by: Ram Lavi <[email protected]>
1 parent ebf1063 commit 055d4a9

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

modules/virt-configuring-vm-dpdk.adoc

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@ spec:
5252
memory:
5353
hugepages:
5454
pageSize: 1Gi <7>
55-
resources:
56-
requests:
57-
memory: 8Gi
55+
guest: 8Gi
5856
networks:
5957
- name: default
6058
pod: {}
@@ -81,11 +79,11 @@ $ oc apply -f <file_name>.yaml
8179
----
8280

8381
. Configure the guest operating system. The following example shows the configuration steps for {op-system-base} 8 OS:
84-
.. Configure isolated VM CPUs and specify huge pages by using the GRUB bootloader command-line interface. In the following example, 8 1G huge pages are specified. The first two CPUs (0 and 1) are set aside for house keeping tasks and the rest are isolated for the DPDK application.
82+
.. Configure huge pages by using the GRUB bootloader command-line interface. In the following example, 8 1G huge pages are specified.
8583
+
8684
[source,terminal]
8785
----
88-
$ grubby --update-kernel=ALL --args="default_hugepagesz=1GB hugepagesz=1G hugepages=8 isolcpus=2-9"
86+
$ grubby --update-kernel=ALL --args="default_hugepagesz=1GB hugepagesz=1G hugepages=8"
8987
----
9088

9189
.. To achieve low-latency tuning by using the `cpu-partitioning` profile in the TuneD application, run the following commands:
@@ -99,6 +97,7 @@ $ dnf install -y tuned-profiles-cpu-partitioning
9997
----
10098
$ echo isolated_cores=2-9 > /etc/tuned/cpu-partitioning-variables.conf
10199
----
100+
The first two CPUs (0 and 1) are set aside for house keeping tasks and the rest are isolated for the DPDK application.
102101
+
103102
[source,terminal]
104103
----

0 commit comments

Comments
 (0)