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

[libvirt] Horrible performance of virDomainGetInfo()



While investigating the RPC problems I've noticed that we have had a
huge performance regression for virDomainGetInfo() due to the change
which makes virDomainEndJob() save the XML status file every time it
is called.

Previous to this change, 2000 calls to virDomainGetInfo() took ~2.5 seconds

After this change, 2000 calls to virDomainGetInfo() take 2 *minutes* 45 secs

I don't have an answer right now and it shouldnt block the release, but we
have todo something to avoid this overhead.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


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