 Many serious game streamers use a second PC actually so they got one for gaming and then another one Dedicated to encoding and interacting with their audience so we were brainstorming and talking about some cool projects that we've done in the past with unraid and virtualization technology and well, let's just say the old light bulb went off What if we could build using an Intel high core count core i9 processor a two-in-one solution? splitting a single tower with a single motherboard effectively in half to perform both of those duties virtually of course Would we end up with a viable day-to-day streaming solution? Well, thanks to Intel sponsorship of this investigation we are about to find out Okay, so let's start with this why would anyone want to run a Virtualized two-in-one setup as opposed to just having two separate machines. I mean bare metals more efficient, right? Let's take a look at a few reasons why it might actually be a cool idea first and most importantly for many is cost Unless you already have a second computer to dedicate to encoding you would still have to buy GPU RAM and storage for two But you could save the considerable expense of many other components in addition Your total power consumption and heat output will be a touch lower than running separate PCs Meaning your energy bill will be lower, too The second reason to go virtual is space While it's not a concern for some if you're streaming from a college dorm or a small apartment This means one less tower taking up space in your gaming area not every virtualized two-in-one has to be this big reason number three versatility since the gaming and streaming setups are Virtualized not only are any potential software issues confined to each VM But they can also be much more quickly and easily backed up or cloned once you're set up So in the future you can easily hit the reset button in case anything should go wrong also Thanks to the magic of unraid your gaming slash streaming machine can act as a file and media server for the rest of your household So the plan then is to use a portion of our CPU to encode our video stream using x264 x264 with high quality settings that way we can avoid the potential for scheduler conflicts without Manually assigning CPU affinities and task manager like we would if we were doing both tasks on one OS Well, okay Linus this all sounds great, but there's got to be disadvantages right well There is the fact that when using virtualization some devices can't be easily allocated to a VM our onboard audio For example shares an IOMM you group with the chipset and essentially cannot be used same story with USB ports each grouping of ports has to be on a dedicated controller in order to pass it through so that you can hot plug your devices something that we pretty much take for granted these days and Finally while it's possible to run unraid without its own video card It's a royal pain so we grabbed a dedicated sound card for our gaming VM an extra USB controller We're using one of the onboard ones for the other VM and an el cheapo third graphics card for unraid so We are ready to oh wait So during our testing we found that gaming performance was actually best when we assigned four cores and eight threads to our gaming VM and in some Configurations we actually found tests that performed better in a virtualized environment Compared to an equivalent configuration running on bare metal What so this is the kind of thing that we encounter sometimes when we're running on the bleeding edge We spoke with unraids developers about the issue and they're putting together some information to share with the red hat and KVM hypervisor folks so that hopefully we'll see a resolution by the time games demand more cores for optimal performance but for the time being our classic four core eight thread setup manages a negligible performance hit compared to bare metal and Our streaming VM can suck up those extra cores anyway so that it could be used for heavier video editing and Faster encoding for those edited videos that can later be uploaded to YouTube or other video on demand sites All right, then so let's show off the rest of the setup We're using the utterly unique level one text display port 1.2 KVM from Wendell and his team This gives us support for high refresh rate monitors like a SUSES 240 Hertz ROG Swift PG 258 Q and Easy switching between our VMs saving us from using two keyboards and mice though It should be noted that having an extra one on hand is pretty useful in some cases We're using Corsair's massive obsidian 900 D tower thanks to its ample cooling capacity and we're powering all three of our GPUs the 1080 Ti for gaming the 1050 Ti for streaming and that basic one for unraid off of an AX 1200i power supply and we've thrown in a monstrous unraid array of seven 12 terabyte Seagate Iron Wolf Pro drives for 60 Terabytes of protected storage that's visible to both VMs not to mention as I said before Anyone else on the network who needs it allowing us to record our streams Basically indefinitely so we can make them epic frag vids after we're done streaming Finally for our capture card. Oh another surprise no capture card so we actually originally had planned to use one that 4k one from Elgato, but This ended up being way cooler so our gaming VM is actually Transmitting its video and audio feed to the encoder VM using the low-impact OBS NDI plugin which runs with very little quality loss over our Virtualized 10 gigabit network connection between our VMs then from there We've set the streaming machines output settings to twitch's ultimate 1080p 60fps quality setting and Would you look at that after a few command line tweaks? We could not only encode on the fly, but do so at x264 slow preset which is six notches up from the default potato quality ultra fast and to validate our original Hypothesis is there some benefit from separating them in VMs we pushed our 11 Hyper threaded cores to their limit in the streaming VM to the point where we forced our Encoded video to start dropping frames Then we went back to the gaming VM to see if those resources were Effectively being isolated and it was still running games like nobody's business So what have we learned then on this journey well for one a virtualized dual head system with all of its shortcomings Has some advantages Operating our two virtual machines was about as transparent as running two completely independent systems Whether via KVM switch or with two full sets of peripherals This is a use case for many core systems that we've been excited about for years now and one that has many applications beyond game streaming that is just going to get better in time and Second is that with superior codecs such as x265 on the horizon that are better optimized not only for image quality But for better thread and memory utilization that happens to mesh great with core i9s new cache design You'll be able to push the quality even higher with a setup like this all we need to do Then is wait for twitch and mainstream broadcasting software to support it in the meantime though We've still built one of the coolest x264 streaming setups out there So thanks to everyone for their help with this and especially Intel for sponsoring this sick experiment And also you guys for watching it so if you guys dislike this video you can hit that button But if you liked it hit like get subscribed maybe consider checking out where to buy the stuff We featured at the link in the video description Maybe a shiny new core i9 also linked down there is our merch storage has cool shirts like this one and our community forum Which you should totally join