<div dir="ltr"><p style="margin:0px 0px 0.357143em;padding:0px;font-size:14px;line-height:1.5em;color:rgb(68,68,68);font-family:Helvetica,Arial,sans-serif">Well, I'll be damned. It was the kernel. I rolled over to linux-vfio-lts and all is well again. Talk about a huge performance regression.</p><p style="margin:0.357143em 0px 0px;padding:0px;font-size:14px;line-height:1.5em;color:rgb(68,68,68);font-family:Helvetica,Arial,sans-serif">Appreciate all the tips folks</p></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jan 19, 2016 at 6:41 PM Hristo Iliev <<a href="mailto:hristo@hiliev.eu">hristo@hiliev.eu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, 19 Jan 2016 16:20:15 +0000 Curlen M <<a href="mailto:curl2k1@gmail.com" target="_blank">curl2k1@gmail.com</a>> wrote:<br>
<br>
> Current install is Arch with kernel 4.3.3<br>
><br>
<br>
Hi,<br>
<br>
Try using the linux-vfio-lts kernel from AUR. It is based on 4.1.x and<br>
currently is the only kernel that works for me on my setup (same chipset, CPU,<br>
and amount of memory as yours). Kernel 4.2 and newer have buggy virtual MTRR<br>
implementation that results in VMs booting extremely slowly:<br>
<br>
<a href="https://bugzilla.kernel.org/show_bug.cgi?id=107561" rel="noreferrer" target="_blank">https://bugzilla.kernel.org/show_bug.cgi?id=107561</a><br>
<br>
Check if that is the case by reducing the memory of the VM to 2 GiB - it<br>
should then boot normally. Kernel 4.4 is supposed to bring the fix.<br>
<br>
Regards,<br>
Hristo<br>
<br>
> On Tue, Jan 19, 2016 at 11:11 AM Will Marler <<a href="mailto:will@wmarler.com" target="_blank">will@wmarler.com</a>> wrote:<br>
><br>
> > What's your host OS/kernel version/etc ?<br>
> ><br>
> > On Tue, Jan 19, 2016 at 8:59 AM, Curlen M <<a href="mailto:curl2k1@gmail.com" target="_blank">curl2k1@gmail.com</a>> wrote:<br>
> ><br>
> >> For the past month, I've been trying to get passthrough to work<br>
> >> smoothly.  Needless to say, I haven't been successful.  I've tried various<br>
> >> distros, and even rebuilt/upgraded my rig from Z97 to X99 (tbh, I've been<br>
> >> wanting to do that anyway  :-D) thinking things would go smoother.  No<br>
> >> dice.  Here's what I'm currently using:<br>
> >><br>
> >> ASRock X99 Professional (the Gigabyte and Asus I had before these were<br>
> >> worse)<br>
> >> i7 5820k<br>
> >> 32GB RAM<br>
> >> Lots-o-drives<br>
> >> 660Ti<br>
> >> 680<br>
> >> Fury X<br>
> >><br>
> >> The setup has both VT-x and VT-d enabled and is booting with the CSM<br>
> >> disabled.  All 3 GPUs are starting in UEFI GOP mode.<br>
> >><br>
> >><br>
> >> The initial plan was to use the 660Ti for the host and assign vfio to the<br>
> >> 680 for a SteamOS instance and the Fury for a W10 instance.  Haven't had<br>
> >> any issues assigning these.  So I'm good here.<br>
> >><br>
> >> I'm able to build the VMs using Virt-Manager and get the OS installed.<br>
> >> But as soon as I shutdown the VM and assign a video card to either VM and<br>
> >> start it up.  CPU utilization on the host shoots through the roof and the<br>
> >> OS slows to a crawl (noticed this by starting top on accident).  I'm<br>
> >> talking an hour or more to get to the windows 10 desktop.<br>
> >><br>
> >> I've tried many different configurations (including Seabios and Gerd's<br>
> >> OVMF).  Including removing the Fury from the system and attempting to use<br>
> >> the 680 in W10 and vice versa.  I've tried ditching Virt-Manager and<br>
> >> libvirtd and using Qemu start scripts.<br>
> >><br>
> >><br>
> >> I've since dropped the 660Ti out of the mix and have been attempting to<br>
> >> use the 680 as the host with the Fury for W10.  Same results.<br>
> >><br>
> >><br>
> >> Anyone have any tips?  Ideas?  Anything?<br>
> >><br>
> >> _______________________________________________<br>
> >> vfio-users mailing list<br>
> >> <a href="mailto:vfio-users@redhat.com" target="_blank">vfio-users@redhat.com</a><br>
> >> <a href="https://www.redhat.com/mailman/listinfo/vfio-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a><br>
> >><br>
> >><br>
> ><br>
<br>
</blockquote></div>