[libvirt] [PATCH] qemu: move setting emulatorpin ahead of monitor showing up

Martin Kletzander mkletzan at redhat.com
Tue Oct 21 10:26:30 UTC 2014


On Thu, Oct 16, 2014 at 10:18:48PM +0800, Wang Rui wrote:
>From: Zhou yimin <zhouyimin at huawei.com>
>
>If VM is configured with many devices(including passthrough devices)
>and large memory, libvirtd will take seconds(in the worst case) to
>wait for monitor. In this period the qemu process may run on any
>PCPU though I intend to pin emulator to the specified PCPU in xml
>configuration.
>
>Actually qemu process takes high cpu usage during vm startup.
>So this is not the strict CPU isolation in this case.
>

This makes sense and it's also the only TID we can pin before
accessing the monitor.  I worried about this patch breaking other
pinnings, but whatever I tried it just works.

ACK and I'll push it shortly.

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20141021/233d6d48/attachment-0001.sig>


More information about the libvir-list mailing list