autotest / tp-libvirt

Test Provider for Libvirt and related virtualization backends
Other
33 stars 168 forks source link

[Migration] perform VCPU pinning with Host CPU thread and with emulator pin #1639

Open balamuruhans opened 6 years ago

balamuruhans commented 6 years ago

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.

dzhengfy commented 6 years ago

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.

balamuruhans commented 6 years ago

@dzhengfy yeah, That's a good suggestion. we will work on the design by keeping this in mind.