On Tue, May 08, 2018 at 09:38:28PM -0700, Christoph Hellwig wrote: > On Tue, May 08, 2018 at 10:00:22AM -0600, Keith Busch wrote: > > Devices with slow interrupt handlers are significantly harming performance > > when their interrupt vector is shared with a fast device. This patch > > creates a class code white list for devices with known fast interrupt > > handlers, and all other devices will share a single vector so they don't > > interfere with performance. > > > > At the moment, only the NVM Express class code is on the list, but more > > may be added if VMD users desire to use other low-latency devices in > > these domains. > > I think this is far too much of a hack. Just don't use VMD if your > care about performance. I'm not aware of an easier way you can direct-assign an entire PCIe domain to a virtual machine. :)