lkml.org 
[lkml]   [2019]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Patch v3 0/3] iommu: reduce spinlock contention on fast path
From
Date
On 06/12/2019 21:38, Cong Wang wrote:
> This patchset contains three small optimizations for the global spinlock
> contention in IOVA cache. Our memcache perf test shows this reduced its
> p999 latency down by 45% on AMD when IOMMU is enabled.
>
> Cong Wang (3):
> iommu: avoid unnecessary magazine allocations
> iommu: optimize iova_magazine_free_pfns()
> iommu: avoid taking iova_rbtree_lock twice
> ---
> drivers/iommu/iova.c | 75 ++++++++++++++++++++++++++------------------
> 1 file changed, 45 insertions(+), 30 deletions(-)
>

I retested, and got a ~1.1% gain in throughput for my storage test -
results here if interested https://pastebin.com/dSQxYpN8

Thanks,
John

\
 
 \ /
  Last update: 2019-12-10 15:53    [W:0.043 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site