Skip to content

Commit 779e98e

Browse files
authored
Merge pull request #69713 from orelmisan/dpdk-cluster-config
[virt] DPDK cluster config: Enable AlignCPUs
2 parents da2200c + a184a6b commit 779e98e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

modules/virt-configuring-cluster-dpdk.adoc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,20 @@ $ oc patch hyperconverged kubevirt-hyperconverged -n {CNVNamespace} \
100100
Editing the `HyperConverged` CR changes a global setting that affects all VMs that are created after the change is applied.
101101
====
102102

103+
. If your DPDK-enabled compute nodes use Simultaneous multithreading (SMT), enable the `AlignCPUs` enabler by editing the `HyperConverged` CR:
104+
+
105+
[source,terminal,subs="attributes+"]
106+
----
107+
$ oc patch hyperconverged kubevirt-hyperconverged -n {CNVNamespace} \
108+
--type='json' -p='[{"op": "replace", "path": "/spec/featureGates/alignCPUs", "value": true}]'
109+
----
110+
+
111+
[NOTE]
112+
====
113+
Enabling `AlignCPUs` allows {VirtProductName} to request up to two additional dedicated CPUs to bring the total CPU count to an even parity when using
114+
emulator thread isolation.
115+
====
116+
103117
. Create an `SriovNetworkNodePolicy` object with the `spec.deviceType` field set to `vfio-pci`:
104118
+
105119
.Example `SriovNetworkNodePolicy` manifest

0 commit comments

Comments
 (0)