BRiT Posted March 6, 2016 Share Posted March 6, 2016 Once you get above 9 cores, the sorting gets funky (OCD) unless you tell it to do it numerically. cat /sys/devices/system/cpu/*/topology/thread_siblings_list | sort -nu 0,16 1,17 2,18 3,19 4,20 5,21 6,22 7,23 8,24 9,25 10,26 11,27 12,28 13,29 14,30 15,31 Quote Link to comment
METDeath Posted March 6, 2016 Share Posted March 6, 2016 Once you get above 9 cores, the sorting gets funky (OCD) unless you tell it to do it numerically. cat /sys/devices/system/cpu/*/topology/thread_siblings_list | sort -nu 0,16 1,17 2,18 3,19 4,20 5,21 6,22 7,23 8,24 9,25 10,26 11,27 12,28 13,29 14,30 15,31 So that lists physical cores with their hyperthreads? Quote Link to comment
BRiT Posted March 6, 2016 Share Posted March 6, 2016 Once you get above 9 cores, the sorting gets funky (OCD) unless you tell it to do it numerically. cat /sys/devices/system/cpu/*/topology/thread_siblings_list | sort -nu 0,16 1,17 2,18 3,19 4,20 5,21 6,22 7,23 8,24 9,25 10,26 11,27 12,28 13,29 14,30 15,31 So that lists physical cores with their hyperthreads? Yes. Although I dont know which number is physical and which is hyperthreaded, but that is how they are paired. Quote Link to comment
htpcguru Posted March 7, 2016 Share Posted March 7, 2016 Hi All, Thanks to the info on this thread, I think I have solved a problem I've been seeing on my 2 Windows 10 VMs. CPU = Intel E5-2658V3 12-core 24-thread VM1 = HTPC with AMD HD7770 GPU VM2 = Workstation with Nvidia GTX760 Before <vcpupin vcpu='0' cpuset='0'/> <vcpupin vcpu='1' cpuset='1'/> ... VM1 gets 8-core assigned, plays 1080p bluray with SVP (Frame-Interpolator) fluidly VM2 gets 24-core assigned, stutters like crazy with VM1 is working After VM1 gets 6-core assigned: <vcpu placement='static'>6</vcpu> <cputune> <vcpupin vcpu='0' cpuset='9'/> <vcpupin vcpu='1' cpuset='10'/> <vcpupin vcpu='2' cpuset='11'/> <vcpupin vcpu='3' cpuset='21'/> <vcpupin vcpu='4' cpuset='22'/> <vcpupin vcpu='5' cpuset='23'/> </cputune> VM2 gets 18-core assigned: <vcpu placement='static'>18</vcpu> <cputune> <vcpupin vcpu='0' cpuset='0'/> <vcpupin vcpu='1' cpuset='1'/> <vcpupin vcpu='2' cpuset='2'/> <vcpupin vcpu='3' cpuset='3'/> <vcpupin vcpu='4' cpuset='4'/> <vcpupin vcpu='5' cpuset='5'/> <vcpupin vcpu='6' cpuset='6'/> <vcpupin vcpu='7' cpuset='7'/> <vcpupin vcpu='8' cpuset='8'/> <vcpupin vcpu='9' cpuset='12'/> <vcpupin vcpu='10' cpuset='13'/> <vcpupin vcpu='11' cpuset='14'/> <vcpupin vcpu='12' cpuset='15'/> <vcpupin vcpu='13' cpuset='16'/> <vcpupin vcpu='14' cpuset='17'/> <vcpupin vcpu='15' cpuset='18'/> <vcpupin vcpu='16' cpuset='19'/> <vcpupin vcpu='17' cpuset='20'/> </cputune> The mapping of vcpupin to cpuset, so that no "cpuset" overlaps between the 2 VMs seems to have done the trick for me. I did a 1hr quick test on both VM's running CPU/GPU intensive stuff (CAD rendering on VM2 @100% CPU utilization and 1080p Bluray on VM1+SVP with 80% CPU Utilization), they hold up pretty well, and UnRaid dashboard shows around 94% CPU utilization. Quote Link to comment
saarg Posted March 7, 2016 Share Posted March 7, 2016 I would give unraid a spare core to work with also. It can't run without resources. Quote Link to comment
mauler57 Posted March 11, 2016 Share Posted March 11, 2016 Hi Brit i tried your settings and i was getting very low performance what cpu's are you using? Quote Link to comment
mikeyosm Posted March 11, 2016 Share Posted March 11, 2016 6.2 beta is out. Hopefully this will fix some of the issues with stutter etc. Quote Link to comment
BRiT Posted March 11, 2016 Share Posted March 11, 2016 Hi Brit i tried your settings and i was getting very low performance what cpu's are you using? You need to determine your own settings, unless you have exactly the same setup as I do. I'm using 2 of the the $65 8-core 16-thread Xeon E5-2670s Quote Link to comment
mikeyosm Posted March 11, 2016 Share Posted March 11, 2016 Hi Brit i tried your settings and i was getting very low performance what cpu's are you using? You need to determine your own settings, unless you have exactly the same setup as I do. I'm using 2 of the the $65 8-core 16-thread Xeon E5-2670s Brit, do you mind performing a test for me involving the dolphin emulator? On my e5 2660v3 with the emulator running a rom in in the background, if I lose focus of the emulator window and move the mouse around the desktop, the sound in the emulator starts to stutter quit badly. I'm convinced it's to do with cpu but want to be sure. This sound/performance issue is not repeatable on a bare metal install. Cheers. Quote Link to comment
methanoid Posted March 12, 2016 Share Posted March 12, 2016 I thought I had a solution Background: I used to run i7-4790K (4+4 cores) with GTX970 passed through to 2+2 cores. No problems. "Upgraded" to Xeon E5-2670 (8+8 cores) and HD5450 & R7-260X. Stuttering appeared. Tried: Different core combinations. No changes Tried: Different GPUs (passing HD5450, R7-260x). No good Tried: Swapped out Nvidia GTX650ti. Noticeable INITIAL improvements.. Got 3 mins into a YouTube music video without stutters... But it is back.... I'm gonna try HT off Quote Link to comment
methanoid Posted March 12, 2016 Share Posted March 12, 2016 And HT off and no stutters of any sort.... So far I can play a YT vid (HD) and open many tabs in Chrome and not a dropped beat.... Still I'd like to be able to use HT.. I seem to recall its worth about 5-10% performance boost Quote Link to comment
Syneon Posted March 12, 2016 Share Posted March 12, 2016 Very strange.. I've been reading threads all over the place on my symptoms and this one was by far the most informative. Seems like there is a scarcity of information. I recently built my unraid server to take advantage of the NAS + VM functionality for gaming. Got a 6 core E5 1650 xeon, 980 ti, and 32gb ddr4 ram and I boot up the VM and total crap performance. Stuttering, audio feedback, mouse jumping, choppy gaming, etc.. I've tried a few things in here, but not the disabling of HT. I guess I will try that tonight. It's really a shame we have to give up one of the big perks of the intel processor, but if disabling that part makes it functional I guess it is worth it. Will definitely have to keep a close eye on developments to find if a better fix is discovered. Quote Link to comment
mikeyosm Posted March 12, 2016 Share Posted March 12, 2016 It might help people if you mention the unraid version when posting problems. Has anyone seen an improvement with 6.2 beta in terms of choppiness etc? Quote Link to comment
Syneon Posted March 14, 2016 Share Posted March 14, 2016 Disabled Hyper Threading and all performance and sound issues are gone in the gaming VM. So weird Quote Link to comment
mikeyosm Posted March 14, 2016 Share Posted March 14, 2016 Disabled Hyper Threading and all performance and sound issues are gone in the gaming VM. So weird How many cores are you allocating to your VM? I found that anything more than 4 cores lead to stutter and generally poor desktop and gaming performance regardless of HT enabled or not. I'm stable as long as I don't use more than 4 cores per VM Quote Link to comment
spylex Posted March 14, 2016 Share Posted March 14, 2016 Passing a USB controller from my motherboard to the VM caused all kinds of stuttering and audio problems. Removing this fixed it. Still not great SSD or GPU performance even when passthrough SSD... Quote Link to comment
erasmusfenris Posted March 19, 2016 Share Posted March 19, 2016 So I just disabled hyper-v and pinned cores 1-3 to vm win10 #1 and 4-6 to the other. Fixed audio issues... Certainly looks like CPU pinning and possibly frequency setting on the cores is the issue. I'm on unraid 6.2 beta 19. I would love to see LT fix this issue. I really like what they have done in 6.2 ( I can use my gaming mouse and NVME shows up!) but this has got to be keeping some people from effectively using Unraid to game on. Quote Link to comment
mikeyosm Posted March 19, 2016 Share Posted March 19, 2016 So I just disabled hyper-v and pinned cores 1-3 to vm win10 #1 and 4-6 to the other. Fixed audio issues... Certainly looks like CPU pinning and possibly frequency setting on the cores is the issue. I'm on unraid 6.2 beta 19. I would love to see LT fix this issue. I really like what they have done in 6.2 ( I can use my gaming mouse and NVME shows up!) but this has got to be keeping some people from effectively using Unraid to game on. Not stopping me as long as I don't exceed 4 cores on a VM, even with HT enabled. I will be trying 6.2 soon. I am curious though whether some issues people are having with poor cpu and GPU performance is linked to Xeon processors. Quote Link to comment
erasmusfenris Posted March 20, 2016 Share Posted March 20, 2016 No i'm running an I7 5930k and having these issues. Keep in mind I am trying to run two win 10 gaming vm's both at the same time. It works now without HT enabled but the 4 core limit does not work when both are running at the same time. This is certainly a cpu pinning issue not confined to Xeon procs, lets put that to bed. Quote Link to comment
spylex Posted March 21, 2016 Share Posted March 21, 2016 I bought one of these: http://www.amazon.co.uk/Syba-PCI-Express-Controller-Standard/dp/B00CHYOQIE/ref=sr_1_1?ie=UTF8&qid=1458548016&sr=8-1&keywords=syba+usb+3+sata Will test and see if dedicated controller makes difference in my system as opposed to the other chaps here. Quote Link to comment
billington.mark Posted March 21, 2016 Share Posted March 21, 2016 I bought one of these: http://www.amazon.co.uk/Syba-PCI-Express-Controller-Standard/dp/B00CHYOQIE/ref=sr_1_1?ie=UTF8&qid=1458548016&sr=8-1&keywords=syba+usb+3+sata Will test and see if dedicated controller makes difference in my system as opposed to the other chaps here. Very interested to hear your results... also if you can boot from an SSD attached to this too... Quote Link to comment
spylex Posted March 21, 2016 Share Posted March 21, 2016 Yes i am yet to figure that part out, it's not liking my wireless keyboard and mouse so i need to nick a wired one from work and test tonight. Not sure how to boot into my attached USB stick from SeaBIOS... Quote Link to comment
mikeyosm Posted March 21, 2016 Share Posted March 21, 2016 So an update on my issue since trying 6.2b 19 I am pleased to say that the hyper-v enlightenment has resolved my crappy 2d/desktop performance issue with my 980ti. Very happy with the performance overall thus far. Quote Link to comment
methanoid Posted March 21, 2016 Share Posted March 21, 2016 So what works? 6.2 no hyperv passthru? With or without hyper threading?? Quote Link to comment
mikeyosm Posted March 21, 2016 Share Posted March 21, 2016 HT enabled, hyper-v enabled 4 cores assigned so far. No ISOLCPU or pinning required. I will be trying 8 cores later to see if performance scales as expected. EDIT: 8 cores assigned, no performance issues cpu or gpu. Fantastic! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.