May 8, 201610 yr Hi, i have some Frame drops on my Gaming-VM. I'm playing Diablo 3 at the Moment. On the "bare metal" Windows 10 everything works fine no lags or drops. On my VM's i have Frame Drops every few seconds from 130 fps to 20 fps. It really sucks . Core0, Core1, Core2, Core3 - unRAID System Core4, Core5, Core6, Core7 - VM1 Core8, Core9, Core10, Core11 - VM2 The Task Manager says CPU only 30-40% utilization. INTEL Core i7-5930K Corsair Dominator Platinum 32GB @ 2666Mhz Asus GTX 980 ti Strix Asus GTX 970 Strix ASUS Essence STX II Asus ROG Rampage V Extreme Every VM running on one SSD: Samsung SSD 850 EVO 500 GB Samsung SSD 840 EVO 500 GB XML VM One: <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> <name>One</name> <uuid>41bd54ff-9da1-4722-efa3-84b4be9d6ac1</uuid> <metadata> <vmtemplate name="Custom" icon="windows.png" os="windows"/> </metadata> <memory unit='KiB'>13107200</memory> <currentMemory unit='KiB'>13107200</currentMemory> <memoryBacking> <nosharepages/> <locked/> </memoryBacking> <vcpu placement='static'>4</vcpu> <cputune> <vcpupin vcpu='0' cpuset='8'/> <vcpupin vcpu='1' cpuset='9'/> <vcpupin vcpu='2' cpuset='10'/> <vcpupin vcpu='3' cpuset='11'/> </cputune> <os> <type arch='x86_64' machine='pc-i440fx-2.3'>hvm</type> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough'> <topology sockets='1' cores='4' threads='1'/> </cpu> <clock offset='localtime'> <timer name='rtc' tickpolicy='catchup'/> <timer name='pit' tickpolicy='delay'/> <timer name='hpet' present='no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/bin/qemu-system-x86_64</emulator> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/user/vidsks/One/vdisk1.img'/> <target dev='hdc' bus='virtio'/> <boot order='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/ISOs/de_windows_10_multiple_editions_version_1511_x64_dvd_7223737.iso.iso'/> <target dev='hda' bus='ide'/> <readonly/> <boot order='2'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/ISOs/virtio-win-0.1.117.iso'/> <target dev='hdb' bus='ide'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> <controller type='usb' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='pci' index='0' model='pci-root'/> <controller type='ide' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </controller> <interface type='bridge'> <mac address='52:54:00:cf:28:02'/> <source bridge='br0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </interface> <serial type='pty'> <target port='0'/> </serial> <console type='pty'> <target type='serial' port='0'/> </console> <channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/One.org.qemu.guest_agent.0'/> <target type='virtio' name='org.qemu.guest_agent.0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <hostdev mode='subsystem' type='usb' managed='yes'> <source> <vendor id='0x0b05'/> <product id='0x180a'/> </source> </hostdev> <hostdev mode='subsystem' type='usb' managed='yes'> <source> <vendor id='0x1038'/> <product id='0x1202'/> </source> </hostdev> <hostdev mode='subsystem' type='usb' managed='yes'> <source> <vendor id='0x1038'/> <product id='0x1384'/> </source> </hostdev> <memballoon model='virtio'> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </memballoon> </devices> <qemu:commandline> <qemu:arg value='-device'/> <qemu:arg value='ioh3420,bus=pci.0,addr=1c.0,multifunction=on,port=2,chassis=1,id=root.1'/> <qemu:arg value='-device'/> <qemu:arg value='vfio-pci,host=02:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on'/> <qemu:arg value='-device'/> <qemu:arg value='vfio-pci,host=02:00.1,bus=root.1,addr=00.1'/> </qemu:commandline> </domain> VM Two <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> <name>Two</name> <uuid>cbbbc1a6-de7d-0fcc-3508-d9061875e566</uuid> <metadata> <vmtemplate name="Custom" icon="windows.png" os="windows"/> </metadata> <memory unit='KiB'>13107200</memory> <currentMemory unit='KiB'>13107200</currentMemory> <memoryBacking> <nosharepages/> <locked/> </memoryBacking> <vcpu placement='static'>4</vcpu> <cputune> <vcpupin vcpu='0' cpuset='4'/> <vcpupin vcpu='1' cpuset='5'/> <vcpupin vcpu='2' cpuset='6'/> <vcpupin vcpu='3' cpuset='7'/> </cputune> <os> <type arch='x86_64' machine='pc-i440fx-2.3'>hvm</type> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough'> <topology sockets='1' cores='4' threads='1'/> </cpu> <clock offset='localtime'> <timer name='rtc' tickpolicy='catchup'/> <timer name='pit' tickpolicy='delay'/> <timer name='hpet' present='no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/bin/qemu-system-x86_64</emulator> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/user/vidsks/Two/vdisk1.img'/> <target dev='hdc' bus='virtio'/> <boot order='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/ISOs/de_windows_10_multiple_editions_version_1511_x64_dvd_7223737.iso.iso'/> <target dev='hda' bus='ide'/> <readonly/> <boot order='2'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/ISOs/virtio-win-0.1.117.iso'/> <target dev='hdb' bus='ide'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> <controller type='usb' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='pci' index='0' model='pci-root'/> <controller type='ide' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </controller> <interface type='bridge'> <mac address='52:54:00:e0:45:33'/> <source bridge='br0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </interface> <serial type='pty'> <target port='0'/> </serial> <console type='pty'> <target type='serial' port='0'/> </console> <channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/Two.org.qemu.guest_agent.0'/> <target type='virtio' name='org.qemu.guest_agent.0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <hostdev mode='subsystem' type='usb' managed='yes'> <source> <vendor id='0x046d'/> <product id='0xc22d'/> </source> </hostdev> <hostdev mode='subsystem' type='usb' managed='yes'> <source> <vendor id='0x1038'/> <product id='0x1369'/> </source> </hostdev> <hostdev mode='subsystem' type='usb' managed='yes'> <source> <vendor id='0x0c70'/> <product id='0xf001'/> </source> </hostdev> <hostdev mode='subsystem' type='usb' managed='yes'> <source> <vendor id='0x0c70'/> <product id='0xf0b6'/> </source> </hostdev> <memballoon model='virtio'> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </memballoon> </devices> <qemu:commandline> <qemu:arg value='-device'/> <qemu:arg value='ioh3420,bus=pci.0,addr=1c.0,multifunction=on,port=2,chassis=1,id=root.1'/> <qemu:arg value='-device'/> <qemu:arg value='vfio-pci,host=03:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on'/> <qemu:arg value='-device'/> <qemu:arg value='vfio-pci,host=00:1b.0,bus=root.1,addr=01.0'/> </qemu:commandline> </domain> Someone knows what could be wrong ? or is it some Network Lags / Paket loss. Someone have an Idea ? Thanks for watching!
May 8, 201610 yr Have you tried matching the cores in the VM so you have it as showed as in the dashboard page of unraid? Physical core with it's hyperthreaded core. Most likely the first pair is 0 and 6.
May 9, 201610 yr Author Thanks for answering! You mean i have to try Vm One: Core0, Core6, Core1, Core7 Vm Two: Core2, Core8, Core3, Core9 Rest for unRAID
May 9, 201610 yr That is what I mean. But I would leave core 0/6 for unraid. It seems to prefer core 0 for some reason.
May 9, 201610 yr Author Today i looked at Dashboard...Yes Core0/Core6 continue is right. I only had 10 Min. to test the game. First feeling is much smoother. But i'll test it tomorrow for a longer time. I think Diablo 3 has a bad code too so ill test another game! I will give you feedback. Thanks!
May 9, 201610 yr But I would leave core 0/6 for unraid. It seems to prefer core 0 for some reason. This is interesting to me as I also have a 5930k and notice issues with FPS in games and general stuttering sometimes on Youtube inside my Windows 10 VM. I currently have cores 0,1,2,3 assigned to my VM and all other cores assigned to either Dockers or unRAID. I will make the changes suggested and see if they work out.
May 12, 201610 yr So I made the changes and I notice that frame rates are worse in games than they were previously, not sure why using one physical core and its hyperthreaded partner cause these issues. going back to 4 physical cores for my VM.
May 12, 201610 yr Author Yesterday i played on my "Bare Metal" without unRAID. I disabled pci slot one and two, so the game is running on the gtx 980ti. No drops or lags with 144hz. The CPU UTILIZATION was only at 10% so i dont think the cpu is the bottleneck . This Evening i try the unraid again. Someone have some other infos to fix ?
May 12, 201610 yr See if this post won't help http://lime-technology.com/forum/index.php?topic=49051.0.
May 16, 201610 yr Author I had much time to test at weekend. The frame drops are still there. I tested many combinations with only one VM. To test the VM i gave time: First run : 2 Cores- 4 Threads - Rest for unRAID Second : 4 Cores - 8 Threads - Rest for unRAID Third run : 5 Core - 10 Thread - Rest for unRAID The CPU is always chilling at ~ 30% Each test i have massive frame drops. Frames jumping down from 130 to 25-40 fps. Thats not smooth. Than i tested bare metal again, the game is running with 144 fps and NEVER drops !! Someone have the same Problems or do i need another CPU ? Could unRAID 6.2 give a Performance boost ? Thanks!
May 21, 201610 yr Author Today i had some hours to test another game on VM. I tested the new need for speed. There are no frame drops or lags. I read in the patchnote that there ate hyper-v and some nvidia fixes for the next patch. Could this fix the problems ??
Archived
This topic is now archived and is closed to further replies.