<div dir="ltr"><div><div>Hi guys,<br><br></div>It seems the biggest limiting factor of my GPU Passthrough setup is the disk. Does anyone have any tips to optimize it? Also, which is faster, having the disk with if=virtio, or having the disk with if=none and a virtio SCSI controller. The raw image is 250GB on a 500GB ext4 hard drive, which is encrypted with dm-crypt. Below is my current script. <br><br>Thanks,<br></div>Sarnex<br><br><br>#!/bin/sh<br>export QEMU_AUDIO_DRV=pa<br>qemu-system-x86_64 -enable-kvm \<br>-m 5120 \<br>-cpu host \<br>-smp 8,sockets=1,cores=8,threads=1 \<br>-device vfio-pci,host=01:00.0,x-vga=on,multifunction=on \<br>-device vfio-pci,host=01:00.1 \<br>-vga none \<br>-drive file=/media/500GB/win10.img,id=disk,if=virtio,cache=none,format=raw \<br>-device vfio-pci,host=00:12.0 \<br>-device vfio-pci,host=00:12.2 \<br>-device vfio-pci,host=00:16.0 \<br>-device vfio-pci,host=00:16.2 \<br>-soundhw ac97 \<br>-rtc base=localtime \<br>-netdev user,id=net0 \<br>-device virtio-net-pci,netdev=net0 \<br>-device virtio-scsi-pci,id=scsi <br></div>