Article 5M8MV PCI Passthrough Windows 10. Random stuttering.

PCI Passthrough Windows 10. Random stuttering.

by
jmgibson1981
from LinuxQuestions.org on (#5M8MV)
I've switched between Windows / Linux with a Windows 10 vm with the GPU passed through.

The issue. The vm totally lags and stutters out when I have Handbrake and Makemkv going on the host. Otherwise it runs bare metal near as I can tell. I know they add load. But when the machine is running Windows on the bare metal it doesn't cause an issue when the same programs are running at the same time as my games or whatever. In this case with the vm I don't even have a game running and it runs terrible. Stuttery mouse movement in the vm just mousing in Windows.

I followed this guide.

https://mathiashueber.com/pci-passth...rtual-machine/

I created this script based on the guides suggestions. I just wrapped it to check if the vm is running or not. I have it automated at 5 minute intervals via cron.

Code:#!/bin/sh
# tadaen sylvermane | jason gibson
# test for cpu performance in kvm pass through vm
# source - https://mathiashueber.com/performance-tweaks-gaming-on-virtual-machines/

# changes cpu scaling governor depending on vm active or no

# in Xubuntu 20.04 the default is powersave on my system

if pgrep qemu-system-x86 ; then
for file in \
/sys/devices/system/cpu/cpu*/cpufreq/scaling_governor ; do
grep -q powersave "$file" && echo "performance" > "$file"
done
else
for file in \
/sys/devices/system/cpu/cpu*/cpufreq/scaling_governor ; do
grep -q performance "$file" && echo "powersave" > "$file"
done
fi

# end script #My physical hardware is dated but I also don't run very demanding stuff (by today's standards). I dislike most of the newer games. Mostly in the World of Warcraft, Skyrim, Minecraft among a few others is where I spend my time.

CPU - i5 3470
RAM - 16gb DDR3 Corsair
SSD1 - 120gb Crucial I think
SSD2 - 250gb Crucial
PSU - 650w Seasonic

I have my Logitech unifying dongle plugged directly into my kvm switch. It only has the usb outputs going to the tower. One to the host and other to the passed through usb 3.0 pcix card. The display is a 32" 1080p tv. I Have hdmi from the host to the first hdmi port. Hdmi 2 is direct from the passed through video card.

*EDIT* I did consider storage activity however 2 things remove that. One, they are SSDs. Should be able to handle it. Two, both makemkv and handbrake are doing there business direct to the server over the network. Other than the actual programs themselves all data is on the server.latest?d=yIl2AUoC8zA latest?i=pEQMM338suo:IXc8gHfOLck:F7zBnMy latest?i=pEQMM338suo:IXc8gHfOLck:V_sGLiP latest?d=qj6IDK7rITs latest?i=pEQMM338suo:IXc8gHfOLck:gIN9vFwpEQMM338suo
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments