On 2021/7/13 19:42, Denis Kirjanov wrote:
On 7/13/21, Yunsheng Lin linyunsheng@huawei.com wrote:
This patch adds skb's frag page recycling support based on the elevated refcnt support in page pool.
The performance improves above 10~20% with IOMMU disabled. The performance improves about 200% when IOMMU is enabled and iperf server shares the same cpu with irq/NAPI.
Could you share workload details?
The testcase is simple, using iperf TCP with only one thread. The the iperf server CPU and NAPI softirq CPU is pinned to the same CPU, the performance improves from 14Gbit to 33Gbit when SMMU is in strict mode, so the above state is not accurate, it should be "improves to about 200% when IOMMU is in strict mode"