On Mon, Sep 24, 2012 at 11:48:44AM +0400, Andrey Korolyov wrote:
Hi,
There is a quite annoying thing, don`t sure if I can call it a bug.
How to reproduce:
- start a bunch of VMs,
- stop libvirt,
- start libvirt and immediately issue any call, say, 'virsh version',
- delay until call completion may be fitted nearly as quadratic
function from number of running VMs, qemu-kvm in my case (see link
below). After this delay passed, any calls executed without slowdown,
so problem is only a 'dead gap' after restarting service.
http://xdel.ru/downloads/libvirt.png
When the daemon is restarted it needs to reconnect to all the guests
and that operation takes time. I'm not sure why it's not linear, but I
think i experienced that a couple of years ago, so that doesn't sounds
a recent regression. If you can look at what is going on, that would be
useful
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit
http://xmlsoft.org/
daniel(a)veillard.com | Rpmfind RPM search engine
http://rpmfind.net/
http://veillard.com/ | virtualization library
http://libvirt.org/