hyperthreading bug in NUMATopologyFilter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
New
|
Undecided
|
Unassigned |
Bug Description
I recently ran into an issue where I was trying to boot an instance with 8 vCPUs, with hw:cpu_
In virt.hardware.
(Pdb) threads_no
1
(Pdb) sibling_set
[CoercedSet([63]), CoercedSet([49]), CoercedSet([48]), CoercedSet([50]), CoercedSet([59, 15]), CoercedSet([18, 62])]
(Pdb) instance_
CoercedSet([0, 1, 2, 3, 4, 5, 6, 7])
As we can see, we are looking for 8 vCPUs, and there are 8 pCPUs available. However, when we call _get_pinning() it doesn't give us a mapping:
> /usr/lib/
-> pinning = _get_pinning(
(Pdb) n
> /usr/lib/
-> instance_
(Pdb) n
> /usr/lib/
-> if pinning:
(Pdb) pinning
This is a bug, if we haven't specified anything regarding hyperthreading then we should be able to run with a mix of siblings and non-siblings.
There is a proposed patch for this issue at https:/ /review. openstack. org/#/c/ 342709
Not clear why it hasn't been linked automatically.