[PATCH 0/5] Make virNetDevGetFeatures faster

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

 



Reuse the socket across ioctl calls.

On my machine with one hardware network interface and three "software" ones,
this speeds the udev node_device driver startup 11x (from ~220 ms to ~20 ms)

Ján Tomko (5):
  Move struct elem out of virNetDevGetFeatures
  Split out virNetDevGetEthtoolFeatures
  Split out virNetDevGetEthtoolGFeatures
  Return bool in virNetDevFeatureAvailable
  Reuse the socket in virNetDevGetFeatures

 src/util/virnetdev.c | 212 +++++++++++++++++++++++++++++----------------------
 1 file changed, 120 insertions(+), 92 deletions(-)

-- 
2.7.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]