Re: [PATCH] iommu/amd - Optimize PPR log handling

2018-05-29 Thread Joerg Roedel
On Tue, May 29, 2018 at 12:28:54PM -0500, Gary R Hook wrote: > No, no numbers. We're still working out how best to test this, and > suggestions/strategies are welcome. Maybe run a simple kernel on the CPU that does a memcpy on a larger portion of mmapped (but yet unmapped) process address space

Re: [PATCH] iommu/amd - Optimize PPR log handling

2018-05-29 Thread Gary R Hook
On 05/29/2018 09:54 AM, Joerg Roedel wrote: Hey Gary, On Fri, May 18, 2018 at 04:51:56PM -0500, Gary R Hook wrote: Improve the performance of the PPR log polling function (i.e. the task of emptying the log) by minimizing MMIO operations and more efficiently processing groups of log entries.

Re: [PATCH] iommu/amd - Optimize PPR log handling

2018-05-29 Thread Joerg Roedel
Hey Gary, On Fri, May 18, 2018 at 04:51:56PM -0500, Gary R Hook wrote: > Improve the performance of the PPR log polling function (i.e. the > task of emptying the log) by minimizing MMIO operations and more > efficiently processing groups of log entries. Cache the head > pointer, as there's never