Skip to content

Commit b3dcbde

Browse files
authored
Merge pull request #66246 from RamLavi/update_vmi_docs
[virt] DPDK vm: Update vm docs
2 parents 45c5f2f + 055d4a9 commit b3dcbde

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)