qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] About making QEMU to LIBs!


From: Paolo Bonzini
Subject: Re: [Qemu-devel] About making QEMU to LIBs!
Date: Wed, 27 Mar 2019 13:33:06 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1

On 27/03/19 10:41, Stefano Garzarella wrote:
> I found that libgnutls, libspice-server and libnuma initialization takes
> most of the time. I disabled these libraries (--disable-numa --disable-gnutls
> --disable-spice) to understand the maximum speed up and I gained 10 ms
> during the boot:
>     - qemu_init_end: 50.92 ms
>     - qemu_init_end: 40.17 ms (without numa, gnutls and spice)

libnuma could probably be removed completely, in favor of invoking the
syscalls manually.

A while ago I talked to the SPICE guys, asking how hard it would be to
separate the server from the relatively small part that is useful in QXL
emulation (removing everything related to network transparency), but the
answer was "very". :(

However, we could conceivably switch to lazily dlopening the SPICE libs.

Paolo

> I would start to modularize spice, the library is used in the spice
> drivers (spice-display, spice-chardev, spice-input, etc.) but also in
> the QXL emulation.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]