FULL AI ANALYSIS

KVM guests drop incoming packets under sustained throughput when SR‑IOV VFs are bound with VFIO

Generated Oct 18, 2026, 9:45:27 AM

Analysis summary

When VFs are passed through with VFIO, guests rely on hardware queues and interrupts. High sustained RX can exhaust NIC driver software queues or cause interrupt handling bottlenecks on the host CPU/core handling the PF/VF traffic. Interrupt moderation, coalescing, or misaligned IRQ affinity can lead to bursts where host cannot keep up, causing packet drops that do not show up as link-down. VFIO adds overhead for interrupt routing and may interact poorly with driver queue handling on certain NIC firmwares, explaining why rebinding restores flow temporarily.

Possible causes

Host-side interrupt/IRQ handling bottleneck leading to RX queue overflow before VF DMA completed

85%

NIC driver or firmware bug when VFs are used with VFIO under high pps/throughput

65%

NUMA misconfiguration: VF queues bound to CPU far from memory region, causing latency under load

55%

Insufficient guest-side driver tuning (ring sizes, NAPI parameters) interacting with host limits

30%

Suggested fixes

1

Diagnostic step 1

Pin VF interrupts and the host irqbalance so VF/PF interrupts and guest vCPU handling occur on CPUs local to the NIC's NUMA node; use 'smp_affinity' or irqaffinity tools.

2

Diagnostic step 2

Increase RX ring sizes and netdev_max_backlog on host and guests; tune interrupt coalescing to lower pps spikes.

3

Diagnostic step 3

Test with vendor-recommended firmware/drivers; if already latest, try a vendor recommended older firmware to check for regression and capture NIC driver debug stats.

4

Diagnostic step 4

If feasible, try virtio-net with vhost-net for high throughput use instead of VFIO passthrough to compare behaviour.

5

Diagnostic step 5

Collect perf traces, ethtool -S counters and iommu/irq mappings and escalate to NIC vendor if driver/firmware bug suspected.