[libvirt] [PATCH 0/5] Make virNetDevGetFeatures faster

Ján Tomko jtomko at redhat.com
Mon Jun 6 07:39:23 UTC 2016


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




More information about the libvir-list mailing list