QEMU/KVM with VFIO passthrough kinda slow

This page summarizes the projects mentioned and recommended in the original post on /r/VFIO

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • zephyr

    Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.

  • You're probably right, I'm forgetting that LG uses dma-buf thus not networking. For some reason I recall that LG used networking before dma-buf, but I will have to google that because that left me pondering if I'm confusing it with SPICE+QXL. Your QEMU launch parameters doesn't really follows any modern practices. You're using old 440FX Chipset instead of Q35. You may try to remove the entire -usb thing and use VirtIO Keyboard and Mouse devices with evdev. Remove -net user and just use a single Virtio NIC, -net user should create its own e1000 default card in addition to the VirtIO one, so you must likely have two at the moment. The standard parameters for the -rtc is base=localtime,driftfix=slew, don't recall anyone using clock=host and there are certain bug reports that involves timming issues (Not sure which one is the default): https://github.com/zephyrproject-rtos/zephyr/issues/14173 Also, why are you using BIOS instead of UEFI? If you had W10 installed that way already you're unlikely to want to reinstall, of course.

  • vfio

    A script for easy pci and usb passthrough along with disks, iso's and other useful flags for quick tinkering with less of a headache. I use it for VM gaming and other PCI/LiveCD/PXE/VM/RawImage testing given the script's accessibility.

  • You may wish to try my vfio script which handles all of that automatically. Could be worth a try.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts