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