<div>Hello all!<br></div><div><br></div><div>I'm trying to get pci passthrough working to play games in windows 10, i have everything set up but my gaming performance is poor, maybe 30% of bare metal with lots of micro studdering. I'm wondering if there's any glaring problems in my setup. <br></div><div><br></div><div>amd fx 8320<br></div><div>gtx 770 (passthrough)<br></div><div>host gpu<br></div><div>Linux Arch 4.1.16-1-lts #1 SMP Sat Jan 23 07:11:05 CET 2016 x86_64 GNU/Linux<br></div><div>500gb raw file containing image 7200rpm disk <br></div><div>windows 10 <br></div><div><br></div><div><domain type='kvm'><br></div><div>  <name>generic-2</name><br></div><div>  <uuid>3554aa3f-432f-4eee-ab07-5cf698f18fcb</uuid><br></div><div>  <memory unit='KiB'>6168576</memory><br></div><div>  <currentMemory unit='KiB'>6168576</currentMemory><br></div><div>  <vcpu placement='static'>6</vcpu><br></div><div>  <cputune><br></div><div>    <vcpupin vcpu='0' cpuset='0'/><br></div><div>    <vcpupin vcpu='1' cpuset='1'/><br></div><div>    <vcpupin vcpu='2' cpuset='2'/><br></div><div>    <vcpupin vcpu='3' cpuset='3'/><br></div><div>    <vcpupin vcpu='4' cpuset='4'/><br></div><div>    <vcpupin vcpu='5' cpuset='5'/><br></div><div>  </cputune><br></div><div>  <os><br></div><div>    <type arch='x86_64' machine='pc-i440fx-2.4'>hvm</type><br></div><div>    <loader readonly='yes' type='pflash'>/usr/share/<a href="http://edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd">edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd</a></loader><br></div><div>    <nvram>/usr/share/<a href="http://edk2.git/ovmf-x64/OVMF_VARS-pure-efi.fd">edk2.git/ovmf-x64/OVMF_VARS-pure-efi.fd</a></nvram><br></div><div>    <boot dev='hd'/><br></div><div>    <bootmenu enable='yes'/><br></div><div>  </os><br></div><div>  <features><br></div><div>    <acpi/><br></div><div>    <apic/><br></div><div>    <hyperv><br></div><div>      <relaxed state='off'/><br></div><div>      <vapic state='off'/><br></div><div>      <spinlocks state='off'/><br></div><div>    </hyperv><br></div><div>    <kvm><br></div><div>      <hidden state='on'/><br></div><div>    </kvm><br></div><div>    <vmport state='off'/><br></div><div>  </features><br></div><div>  <cpu mode='host-model'><br></div><div>    <model fallback='allow'/><br></div><div>    <topology sockets='1' cores='3' threads='2'/><br></div><div>  </cpu><br></div><div>  <clock offset='localtime'><br></div><div>    <timer name='hypervclock' present='no'/><br></div><div>  </clock><br></div><div>  <on_poweroff>destroy</on_poweroff><br></div><div>  <on_reboot>restart</on_reboot><br></div><div>  <on_crash>restart</on_crash><br></div><div>  <pm><br></div><div>    <suspend-to-mem enabled='no'/><br></div><div>    <suspend-to-disk enabled='no'/><br></div><div>  </pm><br></div><div>  <devices><br></div><div>    <emulator>/usr/sbin/qemu-system-x86_64</emulator><br></div><div>    <disk type='file' device='cdrom'><br></div><div>      <driver name='qemu' type='raw'/><br></div><div>      <target dev='hdb' bus='ide'/><br></div><div>      <readonly/><br></div><div>      <address type='drive' controller='0' bus='0' target='0' unit='1'/><br></div><div>    </disk><br></div><div>    <disk type='file' device='disk'><br></div><div>      <driver name='qemu' type='raw'/><br></div><div>      <source file='/mnt/gaymen/windows_image'/><br></div><div>      <target dev='sda' bus='sata'/><br></div><div>      <address type='drive' controller='0' bus='0' target='0' unit='0'/><br></div><div>    </disk><br></div><div>    <controller type='usb' index='0' model='ich9-ehci1'><br></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x7'/><br></div><div>    </controller><br></div><div>    <controller type='usb' index='0' model='ich9-uhci1'><br></div><div>      <master startport='0'/><br></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0' multifunction='on'/><br></div><div>    </controller><br></div><div>    <controller type='usb' index='0' model='ich9-uhci2'><br></div><div>      <master startport='2'/><br></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x1'/><br></div><div>    </controller><br></div><div>    <controller type='usb' index='0' model='ich9-uhci3'><br></div><div>      <master startport='4'/><br></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x2'/><br></div><div>    </controller><br></div><div>    <controller type='pci' index='0' model='pci-root'/><br></div><div>    <controller type='ide' index='0'><br></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/><br></div><div>    </controller><br></div><div>    <controller type='virtio-serial' index='0'><br></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/><br></div><div>    </controller><br></div><div>    <controller type='sata' index='0'><br></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/><br></div><div>    </controller><br></div><div>    <interface type='network'><br></div><div>      <mac address='52:54:00:f0:13:cb'/><br></div><div>      <source network='default'/><br></div><div>      <model type='rtl8139'/><br></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/><br></div><div>    </interface><br></div><div>    <console type='pty'><br></div><div>      <target type='virtio' port='0'/><br></div><div>    </console><br></div><div>    <sound model='ich6'><br></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/><br></div><div>    </sound><br></div><div>    <hostdev mode='subsystem' type='pci' managed='yes'><br></div><div>      <source><br></div><div>        <address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/><br></div><div>      </source><br></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/><br></div><div>    </hostdev><br></div><div>    <hostdev mode='subsystem' type='pci' managed='yes'><br></div><div>      <source><br></div><div>        <address domain='0x0000' bus='0x04' slot='0x00' function='0x1'/><br></div><div>      </source><br></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/><br></div><div>    </hostdev><br></div><div>    <hostdev mode='subsystem' type='usb' managed='yes'><br></div><div>      <source><br></div><div>        <vendor id='0x045e'/><br></div><div>        <product id='0x028e'/><br></div><div>      </source><br></div><div>    </hostdev><br></div><div>    <memballoon model='virtio'><br></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/><br></div><div>    </memballoon><br></div><div>  </devices><br></div><div></domain><br></div><div><br></div><div>The only thing i can think of is hugepages which i've had issues with, but i doubt it would accound for such a steep drop of performance. Any ideas would be apreciated! <br></div>