-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On Fri, 20 Mar 2020 15:46:45 -0400 Jérôme Poulin <[email protected]> wrote:
> Hi everyone, > > I have a VM right now that is setup as my gaming machine with video > pass-through, it works perfectly except when there's I/O on the host. > > When there is I/O, the VM will have micro-freeze events where everything > locks up for milliseconds up to a second at a time at frequent intervals, > the host is on NVMe, CPUs are pinned with a dedicated core for emulator. > > Whatever I put, virtio, virtio-scsi, cache=none, cache=writeback, threads > or native, as soon as there is I/O, I get the same problem, to the point > where it causes disconnections on the virtual USB bus. > > VM is setup with hugepages, CPU pinning, I tried making qemu threads > realtime with no success (even blue screens). I tried with dedicated cores > (isolcpus), i440/q35, now I'm out of ideas. I do run a custom kernel to be > able to use pcie_acs_override=downstream,multifunction in GRUB because I > can't use passthrough otherwise. > > This problem has been following me from my old setup to my new setup > Old setup: > ASUS B150 PLUS USB3 > Core i7 6700K > 16 GB DDR3 > SATA raw LVM volume for Windows > > New setup > ASRock Z390 Taichi > Core i7 9700K > 48 GB DDR4 > NVMe raw LVM volume for Windows > > Any ideas would be appreciated. > Have you tried putting qemu in the realtime I/O-scheduling class via ionice? Regards, Lukas Straub -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEg/qxWKDZuPtyYo+kNasLKJxdslgFAl52YcgACgkQNasLKJxd slh9/A/+Iq50YyJSS0ofHf7rl2jiN7TyF3xkxaCvnDXP0QrcshSsU0T4T/Iin+37 Kfvp9uVTleqMMcovOHZ6W2D6L8CP7KB2kYICW4mztx4EHc0AgrhGSdFsRJGCfKro I5BYrtwLYEea4CySNVEP/uR0RhS5OcEQWhpx2c532dbcQ48lliL0vHMqjClmrlHd NhlhaYZ5Hx3F7HiKEZ86dfwR/NK7bwIR7XSXJcJ5jJD3RCI5OUc9cirG/emxLX7u hSoNQyi79yTVRiquNADuKstojQKYurgUKCgNIW7csHIAvwmcES2onkLZ89Bf3f9E ArRpV43BxddZCTUy8+v6eeFQCBQayBj6mlTTA/OP8EFu5AKP0cqJqFsUqdzsyFhm LQaLBiRwT3qc8JAQpYzb3tlqtbYlZmkjatlVQEDi6h64nYm13H0gVP4Dyby2XlO+ xoyHq1anPjdlj28YDPzIU9DB16zzeL7bkLiwXyIX/bVFkoWDCBABvBs5Bg5GdNS8 8R2SXWLjGt3gC+gDvtCjAfYZ/0j5437VAXBJzjnw3dwABKWsmQ0963gdwSCdcpiT fSuSCxLvUDz1UX/G11PoWwuLlNyHNoKij488GyN1iiTWAn9UJMxwyyyx+Lrvbdsl 7zUbkeLCadsSNSw9mq3Wbzyr/vDzqJvpBMzbko/FfAvwzUjmruY= =Uyx5 -----END PGP SIGNATURE-----
