Messages in this thread | | | From | Eric Dumazet <> | Date | Fri, 17 Sep 2021 10:15:08 -0700 | Subject | Re: [Linuxarm] Re: [PATCH net-next v2 3/3] skbuff: keep track of pp page when __skb_frag_ref() is called |
| |
On Wed, Sep 15, 2021 at 7:05 PM Yunsheng Lin <linyunsheng@huawei.com> wrote:
> As memtioned before, Tx recycling is based on page_pool instance per socket. > it shares the page_pool instance with rx. > > Anyway, based on feedback from edumazet and dsahern, I am still trying to > see if the page pool is meaningful for tx. >
It is not for generic linux TCP stack, but perhaps for benchmarks.
Unless you dedicate one TX/RX pair per TCP socket ?
Most high performance TCP flows are using zerocopy, I am really not sure why we would need to 'optimize' the path that is wasting cpu cycles doing user->kernel copies anyway, at the cost of insane complexity.
| |