Skip to content

Commit 9f45926

Browse files
committed
CNV-63574: Add details about the spec.domain.cpu.numa attribute and UI badge
rh-pre-commit.version: 2.3.2 rh-pre-commit.check-secrets: ENABLED
1 parent f00fa1a commit 9f45926

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * virt/managing_vms/advanced_vm_management/virt-NUMA-topology.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="virt-numa-check-config_{context}"]
7+
= Checking if a VM has vNUMA enabled
8+
9+
[role="_abstract"]
10+
VM administrators might need to confirm whether non-uniform memory access (NUMA) is configured for a VM, to verify the VM's resource allocation setup for high-performance, latency-sensitive workloads that rely on memory locality.
11+
12+
You can verify whether an already deployed VM is configured for vNUMA by checking the `spec.domain.cpu.numa` attribute. This is displayed as a *vNUMA* badge in the {product-title} web console.
13+
14+
.Prerequisites
15+
16+
* You have access to an {product-title} cluster with {VirtProductName} installed.
17+
* Optional. If you want to use the CLI step, you must have installed the {oc-first}. Otherwise, you only need access to the {product-title} web console.
18+
19+
.Procedure
20+
21+
* Optional. Check that the `spec.domain.cpu.numa` attribute is configured by using the {oc-first}. Run the following command:
22+
+
23+
[source,terminal]
24+
----
25+
$ oc get vm <vm_name> -n <namespace> -o jsonpath='{.spec.template.spec.domain.cpu.numa}'
26+
----
27+
+
28+
If any output other than an empty string is returned, vNUMA is enabled for the VM.
29+
30+
* Optional. Check if the VM has a *vNUMA* badge in the {product-tile} web console. Go to *VirtualMachines* -> *VirtualMachine details*, and check either the *Overview* or the *Configuration* tabs.

virt/managing_vms/advanced_vm_management/virt-NUMA-topology.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ VM owners can enable NUMA with `ComputeExclusive` (CX) instance types, which are
1919

2020
For information about creating VMs using a CX instance type, see xref:../../../virt/creating_vm/virt-creating-vms-from-instance-types.adoc#virt-creating-vms-from-instance-types[Creating virtual machines from instance types].
2121

22+
include::modules/virt-numa-check-config.adoc[leveloffset=+1]
23+
2224
[id="virt-NUMA-topology-disabling-hotplugs"]
2325
== Disabling the hot plug capability for VMs
2426

0 commit comments

Comments
 (0)