TestServerNumaPCI may give false positives
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
intel-nfv-ci-tests |
Fix Released
|
Medium
|
Waldemar Znoinski |
Bug Description
NUMA and PCI Topology in host VM:
tempest@
Machine (16GB)
NUMANode L#0 (P#0 7985MB) + Socket L#0
L2 L#0 (4096KB) + Core L#0
L1d L#0 (32KB) + L1i L#0 (32KB) + PU L#0 (P#0)
L1d L#1 (32KB) + L1i L#1 (32KB) + PU L#1 (P#1)
L2 L#1 (4096KB) + Core L#1
L1d L#2 (32KB) + L1i L#2 (32KB) + PU L#2 (P#2)
L1d L#3 (32KB) + L1i L#3 (32KB) + PU L#3 (P#3)
NUMANode L#1 (P#1 8063MB) + Socket L#1
L2 L#2 (4096KB) + Core L#2
L1d L#4 (32KB) + L1i L#4 (32KB) + PU L#4 (P#4)
L1d L#5 (32KB) + L1i L#5 (32KB) + PU L#5 (P#5)
L2 L#3 (4096KB) + Core L#3
L1d L#6 (32KB) + L1i L#6 (32KB) + PU L#6 (P#6)
L1d L#7 (32KB) + L1i L#7 (32KB) + PU L#7 (P#7)
HostBridge L#0
PCI 8086:7010
PCI 1013:00b8
PCI 1af4:1000
PCI 1af4:1001
TestServerNumaPCI schedules a guest VM + pci device in passthru mode. It compares whether the same socket is used for both CPUs, memory of spawned guest VM and I/O device that's passed thru. Given only one PCI HostBridge when VMs CPU and memory is on NUMA node 0 the test will succeed. This may give false positives if the VMs is always scheduled to NUMA node 0.
worked on at: https:/ /review. openstack. org/#/q/ topic:bug/ 1573282 /review. openstack. org/#/c/ 309210/
change proposed: https:/