You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/virt-configuring-vm-dpdk.adoc
+8-11Lines changed: 8 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,12 +31,10 @@ spec:
31
31
cpu-quota.crio.io: disable <2>
32
32
irq-load-balancing.crio.io: disable <3>
33
33
spec:
34
-
nodeSelector:
35
-
node-role.kubernetes.io/worker-dpdk: "" <4>
36
34
domain:
37
35
cpu:
38
-
sockets: 1 <5>
39
-
cores: 5 <6>
36
+
sockets: 1 <4>
37
+
cores: 5 <5>
40
38
threads: 2
41
39
dedicatedCpuPlacement: true
42
40
isolateEmulatorThread: true
@@ -51,24 +49,23 @@ spec:
51
49
rng: {}
52
50
memory:
53
51
hugepages:
54
-
pageSize: 1Gi <7>
52
+
pageSize: 1Gi <6>
55
53
guest: 8Gi
56
54
networks:
57
55
- name: default
58
56
pod: {}
59
57
- multus:
60
-
networkName: dpdk-net <8>
58
+
networkName: dpdk-net <7>
61
59
name: nic-east
62
60
# ...
63
61
----
64
62
<1> This annotation specifies that load balancing is disabled for CPUs that are used by the container.
65
63
<2> This annotation specifies that the CPU quota is disabled for CPUs that are used by the container.
66
64
<3> This annotation specifies that Interrupt Request (IRQ) load balancing is disabled for CPUs that are used by the container.
67
-
<4> The label that is used in the `MachineConfigPool` and `PerformanceProfile` manifests that were created when configuring the cluster for DPDK workloads.
68
-
<5> The number of sockets inside the VM. This field must be set to `1` for the CPUs to be scheduled from the same Non-Uniform Memory Access (NUMA) node.
69
-
<6> The number of cores inside the VM. This must be a value greater than or equal to `1`. In this example, the VM is scheduled with 5 hyper-threads or 10 CPUs.
70
-
<7> The size of the huge pages. The possible values for x86-64 architecture are 1Gi and 2Mi. In this example, the request is for 8 huge pages of size 1Gi.
71
-
<8> The name of the SR-IOV `NetworkAttachmentDefinition` object.
65
+
<4> The number of sockets inside the VM. This field must be set to `1` for the CPUs to be scheduled from the same Non-Uniform Memory Access (NUMA) node.
66
+
<5> The number of cores inside the VM. This must be a value greater than or equal to `1`. In this example, the VM is scheduled with 5 hyper-threads or 10 CPUs.
67
+
<6> The size of the huge pages. The possible values for x86-64 architecture are 1Gi and 2Mi. In this example, the request is for 8 huge pages of size 1Gi.
68
+
<7> The name of the SR-IOV `NetworkAttachmentDefinition` object.
0 commit comments