Re: [PATCH v2] iommu/iova: Optimize alloc_iova with rbtree_augmented

From: wangjie (L)
Date: Wed Sep 21 2022 - 06:54:17 EST


Tested-by: Jie Wang <wangjie125@xxxxxxxxxx>

On 2022/9/21 11:55, Peng Zhang wrote:
This patch seems to solve the performance issues i have. Currently my
nic's rx performance is unstable in large-capacity scenarios. I
applied this patch to 5.19 rc4 and tested 8 times rx performance in
these scenes. Here are test results, "before" row is the result of
5.19 rc4. "after" row means 5.19 rc4 with this patch, the unit is Mbits/s

1 2 3 4 5 6 7 8
before 55430 76701 84194 77560 88292 90106
87770 77273
after 92770 92767 92792 92764 92742 92696
92781 92756

Obviously, after using this patch, the performance is stable.

Thank you for your test. Can you add a "Tested-by" token?
I plan to update the commit message in the next version.
.