tp-libvirt
tp-libvirt copied to clipboard
[Migration] perform VCPU pinning with Host CPU thread and with emulator pin
Currently we have Numa, Numa pin with host numa, Hugepage, Hugepage pin with Numa are enabled for VM migration, so planning to add scenarios verifying migration by pinning guest VCPU with Host VCPU and migrate, pin Qemu emulator pin to a Host VCPU.
One suggestion is that when you decide which host cpu should be pined, it is better to firstly compare the two hosts and find a suitable one. Otherwise, hardcode a cpu number will fail the case in most time because of the unsatisfied cpu.
@dzhengfy yeah, That's a good suggestion. we will work on the design by keeping this in mind.