On Tue, Nov 12, 2013 at 11:13:53AM -0600, Timothy Ehlers
wrote:> Is it possible to turn off polling, we have 50~60 kvm instances per machine
> and have found that when libvirtd is running each KVM pid has 20%
> additional cpu usage.
>
> I turned on debug logging for 10 minutes and it seems to be 99% of this:
> virEventPollDispatchHandle
>
> But i cannot find a way to disable it.
That isn't polling (as in busy waiting), rather it is the libvirt event
loop running using the poll() syscall (which sleeps waiting for events
to arrive). If that is showing up in logs it is a sign that libvirtd is
likely doing work for some client app.
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 :|