-
Performance Improvements in VMs by adjusting CPU pinning and assignment
That looks correct but I am not sure if you just had a typo in your post for <emulatorpin cpuset='0-12,1-3'/> it should look like <emulatorpin cpuset='0-12,1-13'/> For the isolcpus=2,3,4,5, 6,7, 14,15,16,17,18,19 you are only telling UNRAID to ignore those CPU but it still has access to 8,9,10,11,20,21,22,23 and that's ok just an FYI
-
Performance Improvements in VMs by adjusting CPU pinning and assignment
Sorry if I confuse you but here it goes - Because you have a lot of threads but at a slower speed @ 2.2 GHz and not 100% sure what you are wanting to do with your VM or will want more than 1 VM I may try setting it up like so, see screenshot Red outline give to UNRAID - might want to give more to UNRAID if you are going to use Dockers. Yellow = VM1 and would give it 6 physical cores to access just because of the 2.2 GHz range may want to give it more Green = VM2, same idea as VM1 Orange = all to VM 1 because you have the threads to do so if you want just one VM and because of the 2.2 GHz range might find it helpful You still have the rest of your threads to use as back up during testing if you need to give more to UNRAID, want to create more VM's, or need to give more to a VM to find the right balance for what you want to do. I would look at isolcpus= and adding the emulatorpin cpuset= to the VM templet
-
***GUIDE*** Passthrough Entire PCI USB Controller
Here is a screenshot of your motherboard layout for the PCI\PCI-E - not that its much help, I just like screenshots
-
Performance Improvements in VMs by adjusting CPU pinning and assignment
Can you post what hardware you are using please. Looking at how many vCPU's you have I am guessing it is a quad core with HT and just my recommendation I would use a minimum of a 6 core with HT but at 3.0 GHz or faster. Fewer but faster cores or slower but many cores You will want to try and give UNRAID CPU 0 and 4, and hide all other cores from UNRAID for VM assignment using the isolcpus=1,2,3,5,6,7 You could try different ways to assign your vCPU to your VM's 1. Give gaming VM CPU 1,5,2,6 and the work VM CPU 3,7 2. Give gaming VM CPU 1,2,3 and work VM CPU 5,6,7 Might want to edit the VM templets and add emulatorpin cpuset='0-4'
-
***GUIDE*** Passthrough Entire PCI USB Controller
I just did some more testing on my system and the results I got are the following when modifying the BIOS PCI-E downstream between Gen 1,2, and 3 for the USB 3.0 card(s) I own. Gen 1 works flawlessly so far when passing the USB cards to the VM's however I believe I loose about half my speed of USB 3.0 but I am still getting in theory 250Mbs and still meets my needs currently. Gen 2 works ok, when I reboot the VM's they fail to come back online most of the time and I have to force stop them and back on and every once in awhile I have to reboot the UNRAID server to get the VM running again. Gen 3 hates the USB 3.0 cards I have and the UNRAID system, and the system becomes so unstable I have to force kill the UNRAID server. I think the cards I have support Gen 2 and by default my BIOS PCI-E are set to auto configuration but manually changing them to use Gen 1 just for the USB 3.0 cards seemed to hit the sweet spot
-
***GUIDE*** Passthrough Entire PCI USB Controller
Try using this plugin for UNRAID, it was really nice to use from time to time to passthrough USB flash drive or external drive to the running VM when I was having issues passing through a USB controller to a VM for true plug n play http://lime-technology.com/forum/index.php?topic=47240.0
-
***GUIDE*** Passthrough Entire PCI USB Controller
I have two VAI chipset PCI-e USB 3.0 controllers that do something similar to what you are experiencing. I have been holding off on buying a new USB PCI-e card however I believe I have solved my issue and it may work for you. Inside my BOIS I have set the PCI express slots that the USB cards are in from auto to GEN 1 and I can pass-through both of my cards to each gaming VM and it works like a dream... so far. No more freeze up, lockups, or get stuck on VM reboots causing me to reboot the UNRAID server and the UNRAID server has been running for 3 days now. I am still in testing mode but I think I found a fix for my issue and hope it will help others.
-
Passthrough an entire SSD directly to a windows VM?
It's been a good day so here you go This is what my pass-through command looks like /dev/disk/by-id/ata-Crucial_CT525MX300SSD1_163313AAD0A9 Also edit your VM templet and make sure your Primary vDisk bus is set to SATA this will let the Windows install see the physical drive. Screenshot included
-
Performance Improvements in VMs by adjusting CPU pinning and assignment
looking at the number of threads you have you should have no problems giving both threads per core to a VM. I do mine they way I do because of the limitations of how many threads I have and it work well for my environment. T C T cpu 8 / 20 cpu 9 / 21 cpu 10 / 22 I believe the fx8350 is an AMD CPU and I don't believe AMD has HT however you still my benefit from pinning the first core to UNRAID and isolating the other cores for the VM for better performance.
-
Performance Improvements in VMs by adjusting CPU pinning and assignment
It really looks like this - There are only 6 core's each core has two threads and each core can handle the request from both of its threads with very minimal impact. Both gaming VM's can be on playing game simultaneously and both work very well however I am using a XEON E5 1650 v3 CPU @ 3.5GHz so might have something to do with the type of CPU being used.
-
Performance Improvements in VMs by adjusting CPU pinning and assignment
I have my CPU pinned via the screenshot Green = UNRAID and two virtual 2012R2 servers on the cache drive no pass-through Yellow = Gaming VM1 Orange = Gaming VM2 This gives both of my gaming VM's 4 physical CPU and I don't currently have any issues playing games but say Star Citizen however it is still in alpha. I also use VM1 as my primary work computer and works great at that as well but normally my work stuff is not CPU heavy. I gave UNRAID the first two CPU's and its pair and over utilizing them for the two 2012 R2 servers and have not had any issues yet.
-
VM SSD passthrough error
This is what my pass-through command looks like /dev/disk/by-id/ata-Crucial_CT525MX300SSD1_163313AAD0A9 Also edit your VM templet and make sure your Primary vDisk bus is set to SATA
-
***GUIDE*** Passthrough Entire PCI USB Controller
I found this plug-in (Libvirt Hotplug USB) last night and so far it has been working great however I have not used it very much. It allows you to hot plug most USB device to a running VM if you don't have USB controller pass-through working. I am still having some issues with passing a USB controller to VM(s) for true plug n play and the plug-in allows me to access devices like external hard drives and flash drives without having to power down the VM. Thanks to the person who created this plug-in. http://lime-technology.com/forum/index.php?topic=47240.0
-
***GUIDE*** Passthrough Entire PCI USB Controller
I am having something very similar happening with my PCIe USB card(s) when passing them to my VM(s) and I have a post about it one or two up from yours. I am running Windows 10 and if I reboot the VM, the VM will lock up but not my physical host. My workaround for this is the following until I can figure the problem and may work for you. 1. From the Windows environment, instead of rebooting the normal way try this, open your web browser and navigate to the UNRAID Web management page. 2. Once at the UNRAID web management page navigate to the VMs tab, click the running VM you want to restart, and select restart. Restarting the VM with PCIe USB card pass-through, through the UNRAID web management has been the only way I have gotten the VM to actually reboot and come back online without locking up. Let me know if that helped. Also I did notice that when I shut down the VM through the normal Windows shutdown that the VM will shut down just fine, then I can start the VM back up as another option I use from time to time.
-
***GUIDE*** Passthrough Entire PCI USB Controller
I was looking for a little direction with USB pass-through to the virtual machine. I bought two of these USB PCI-E cards https://www.amazon.com/Anker%C2%AE-Uspeed-Express-20-pin-Connector/dp/B007SJGGAE/ref=sr_1_1?ie=UTF8&qid=1477500141&sr=8-1&keywords=anker+usb+pcie What I am experiencing is the following issues when the USB PCI-E card(s) are being pass to the VM(s) 1. When I pass-through one of the USB controllers to VM1, VM1 boots up and everything seems to work great. When I go to reboot VM1 from inside the VM (Windows) , 9 out of 10 times you get VM1 failing to reboot. It just gives you a black screen and then I have to use the web connection from my phone to the UNRAID server and use virtual machine manager to force shutdown the VM then boot it up again. 1a. Shutting down VM1 then using the UNRAID virtual machine manager to boot it up works just fine. I am not experincing where I have to reboot the physical UNRAID server. 1b. When I use the UNRAID virtual machine manager to reboot VM1, it will actuall reboot and come back up no problems. Just when you reboot it from Windows is when it fails to come back online. 2. When I pass-through both USB controllers, one to VM1 and the other to VM2 I still experiencing the same issues as above but also the following. When both VM's are running and I reboot or shutdown VM1, VM2 will lockup and I have to force shut it down then bring it back online and visa versa. I have noticed that both devices have the same ID 04:00.0 USB controller [0c03]: VIA Technologies, Inc. VL805 USB 3.0 Host Controller [1106:3483] 06:00.0 USB controller [0c03]: VIA Technologies, Inc. VL805 USB 3.0 Host Controller [1106:3483] IOMMU Groups /sys/kernel/iommu_groups/30/devices/0000:04:00.0 /sys/kernel/iommu_groups/32/devices/0000:06:00.0 I have also tried the following ways to pass-through the USB controllers and they all pass-through using each method but all expirince the same issues as I mentioned above. 1. Hostdev 2. Qume 3. Stubbing I am using WIndows 10 with machine type Q35-25 and OVMF BIOS and I have tried switching the machine type to i440fx-2.5 but does not help any. I cant recall if I tried the seaBIOS FYI. Thanks kindly for any help
Darkun1
Members
-
Joined
-
Last visited