<div dir="ltr">I've been noticing lately that a particularly CPU intensive game has been keeping my CPU usage at >95%, and the game's been unplayable as a result. With an i7-4820k clocked at 4.7GHz, I should be getting much better performance. I've tried using some of the performance enhancements from the Arch forum thread, including enabling hyper-v enlightenments, but that caused my graphics driver to exit with error 43.<div><br></div><div>Here's my launch script:</div><div><br></div><div><div>#!/bin/bash</div><div><br></div><div>export QEMU_AUDIO_DRV=pa</div><div>export QEMU_PA_SERVER=localhost</div><div>export PULSE_SERVER=localhost</div><div><br></div><div>vfio-bind 0000:06:00.0</div><div><br></div><div>synergys --daemon --config /etc/synergy.conf</div><div><br></div><div>for i in {4..7}; do</div><div>    echo performance > /sys/devices/system/cpu/cpu${i}/cpufreq/scaling_governor</div><div>done</div><div><br></div><div>echo 5120 > /proc/sys/vm/nr_hugepages</div><div><br></div><div>taskset -ac 4-7 qemu-system-x86_64 \</div><div>-enable-kvm \</div><div>-m 10240 \</div><div>-cpu host,kvm=off \</div><div>-smp sockets=1,cores=4,threads=1 \</div><div>-mem-path /mnt/hugepages \</div><div>-vga none \</div><div>-nographic \</div><div>-soundhw hda \</div><div>-name Windows10-VM \</div><div>-drive if=pflash,format=raw,readonly,file=/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd \</div><div>-drive if=pflash,format=raw,file=/usr/share/edk2.git/ovmf-x64/OVMF_VARS-pure-efi.fd \</div><div>-device vfio-pci,host=03:00.0 \</div><div>-device vfio-pci,host=03:00.1 \</div><div>-device virtio-scsi-pci,id=scsi \</div><div>-drive file=/home/garrett/VMs/Windows10/windows.img,id=disk,format=raw,if=none -device scsi-hd,drive=disk \</div><div>-drive file=/home/garrett/VMs/Windows10/windows.iso,id=isocd,if=none -device scsi-cd,drive=isocd \</div><div>-drive file=/home/garrett/VMs/Windows10/virtio-win.iso,id=virtiocd,if=none -device ide-cd,bus=ide.1,drive=virtiocd \</div><div>-drive file=/mnt/storage/win-storage.img,id=storage,format=raw,if=none -device scsi-hd,drive=storage \</div><div>-device vfio-pci,host=06:00.0 \</div><div>-usb -usbdevice host:0d8c:0014</div><div><br></div><div>pkill synergys</div><div><br></div><div>for i in {4..7}; do</div><div>    echo ondemand > /sys/devices/system/cpu/cpu${i}/cpufreq/scaling_governor</div><div>done</div></div><div><br></div><div>Is there anything more I can do? Am I doing anything wrong?</div><div><br></div><div>Thanks</div><div><br></div></div>