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: Stefano Garzarella
Subject: Re: [Qemu-devel] About making QEMU to LIBs!
Date: Wed, 27 Mar 2019 15:26:27 +0100
User-agent: NeoMutt/20180716

On Wed, Mar 27, 2019 at 01:33:06PM +0100, Paolo Bonzini wrote:
> 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.

Yes, actually we only use mbind() in hostmem.c (if I checked well)
I'll propose a patch!

> 
> 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.

Thanks for your suggestions!

Stefano



reply via email to

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