My Oracle Support Banner

'CPU Affinity' Setting for VMs on NUMA Systems (Doc ID 2335663.1)

Last updated on AUGUST 16, 2018

Applies to:

Oracle VM - Version 3.2.9 and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64

Symptoms

VM's  CPU affinity is  always set to 0-7 without any cpu-pin setting in VM's vm.cfg  and also do not set vcpu by tool ovm_vmcontrol .

 #  xm vcpu-list 1
Name ID VCPU CPU State Time(s) CPU Affinity
0004fb00000600007470c656dcf9f94e 6 0 6 -b- 2.1 0-7
0004fb00000600007470c656dcf9f94e 6 1 7 -b- 0.4 0-7
0004fb00000600007470c656dcf9f94e 6 2 1 -b- 0.2 0-7
0004fb00000600007470c656dcf9f94e 6 3 4 -b- 0.3 0-7


# cat vm.cfg|grep cpu
cpu_weight = 27500
cpu_cap = 0
maxvcpus = 4
vcpus = 4
OVM_cpu_compat_group = ''

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.