On 10/04/2012 05:55 AM, Konrad Rzeszutek Wilk wrote: > On Wed, Oct 03, 2012 at 05:38:41PM -0700, Alexander Duyck wrote: >> While working on 10Gb/s routing performance I found a significant amount of >> time was being spent in the swiotlb DMA handler. Further digging found that a >> significant amount of this was due to the fact that virtual to physical >> address translation and calling the function that did it. It accounted for >> nearly 60% of the total overhead. >> >> This patch set works to resolve that by changing the io_tlb_start address and >> io_tlb_overflow_buffer address from virtual addresses to physical addresses. >> By doing this, devices that are not making use of bounce buffers can >> significantly reduce their overhead. In addition I followed through with the > .. but are still using SWIOTLB for their DMA operations, right? > That is correct. I tested with the bounce buffers in use as well, but didn't really see any difference since almost all of the overhead was due to the locking required in obtaining and releasing the bounce buffers in map/unmap calls. Thanks, Alex _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel