On Wed, Oct 17, 2018 at 01:41:49PM -0400, tedheadster wrote: > > What is the comparism? Is this on a non-aic7xxx kernel with and without > > the fix? > > Christoph, > I will try and do some strict before-and-after benchmarking of your > patch. It will take a few days because I am on travel. This is on an > aic7xxx (it does have that controller) kernel with and without the > fix.
But you said without the fix it doesn't work at all? Or is this the same box, just with the aic7xxx controller disabled? In general the patch should only have two effects: - set a small amount of memory aside for bounce buffering - switch the default dma_ops from dma_direct_ops to swiotlb_ops I can't really see how either could have such a huge effect, even with swiotlb having a couple more wired up ops for which we'd enable spectre mitigations. So a strict before and after would be very interesting, if it is really just this one change that causes such a huge drop we have hidden dragons somewhere.. _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu