[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <61d984ae-bfdd-3552-ca87-8e099aae5427@huawei.com>
Date: Wed, 14 Jul 2021 14:13:42 +0800
From: Yunsheng Lin <linyunsheng@...wei.com>
To: Denis Kirjanov <kda@...ux-powerpc.org>
CC: <davem@...emloft.net>, <kuba@...nel.org>,
<alexander.duyck@...il.com>, <linux@...linux.org.uk>,
<mw@...ihalf.com>, <linuxarm@...neuler.org>,
<yisen.zhuang@...wei.com>, <salil.mehta@...wei.com>,
<thomas.petazzoni@...tlin.com>, <hawk@...nel.org>,
<ilias.apalodimas@...aro.org>, <ast@...nel.org>,
<daniel@...earbox.net>, <john.fastabend@...il.com>,
<akpm@...ux-foundation.org>, <peterz@...radead.org>,
<will@...nel.org>, <willy@...radead.org>, <vbabka@...e.cz>,
<fenghua.yu@...el.com>, <guro@...com>, <peterx@...hat.com>,
<feng.tang@...el.com>, <jgg@...pe.ca>, <mcroce@...rosoft.com>,
<hughd@...gle.com>, <jonathan.lemon@...il.com>, <alobakin@...me>,
<willemb@...gle.com>, <wenxu@...oud.cn>, <cong.wang@...edance.com>,
<haokexin@...il.com>, <nogikh@...gle.com>, <elver@...gle.com>,
<yhs@...com>, <kpsingh@...nel.org>, <andrii@...nel.org>,
<kafai@...com>, <songliubraving@...com>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <bpf@...r.kernel.org>
Subject: Re: [PATCH rfc v4 4/4] net: hns3: support skb's frag page recycling
based on page pool
On 2021/7/13 19:42, Denis Kirjanov wrote:
> On 7/13/21, Yunsheng Lin <linyunsheng@...wei.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"
>
>>
Powered by blists - more mailing lists