realtime emulatorpin should use pcpus, not vcpus

Bug #1654345 reported by Chris Friesen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Chris Friesen

Bug Description

When specifying "hw:cpu_realtime_mask" in the flavor, LibvirtDriver._get_guest_numa_config() calls hardware.vcpus_realtime_topology() to calculate "vcpus_rt" and "vcpus_em". It then directly uses "vcpus_em" to set the "emulatorpin" cpuset.

The problem is that libvirt expects the "emulatorpin" cpuset to be specified as physical CPUs, not virtual CPUs.

This results in unexpected values being used for the emulator pinning.

The fix is to convert "vcpus_em" from vCPUs to pCPUs, and assign the pCPUs to the "emulatorpin" cpuset.

Chris Friesen (cbf123)
description: updated
Changed in nova:
assignee: nobody → Chris Friesen (cbf123)
Revision history for this message
Chris Friesen (cbf123) wrote :

Looks like this has already been dealt with on Master via bug 1614054, commit 6683bf9.

Changed in nova:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.