Re: Turning off polling

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

 



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

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux