'CPU Affinity' Setting on NUMA Systems

(Doc ID 2335663.1)

Last updated on DECEMBER 12, 2017

Applies to:

Oracle VM - Version 3.4.2 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 = ''

Changes

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms