Thread (56 messages) 56 messages, 8 authors, 2023-12-04

Re: [PATCH net-next 2/5] virtio_net: Add page_pool support to improve performance

From: Zhu Yanjun <hidden>
Date: 2023-11-29 15:29:22
Also in: lkml, virtualization

在 2023/11/29 23:22, Zhu Yanjun 写道:
在 2023/11/29 22:59, Michael S. Tsirkin 写道:
quoted
On Wed, Nov 29, 2023 at 10:50:57PM +0800, Zhu Yanjun wrote:
quoted
在 2023/5/26 13:46, Liang Chen 写道:
what made you respond to a patch from May, now?
I want to apply page_pool to our virtio_net. This virtio_net works on 
our device.

I want to verify whether page_pool on virtio_net with our device can 
improve the performance or not.

And I found that ethtool is wrong.

I use virtio_net on our device. I found that page member variable in 
rq is not used in recv path.

When virtio_net is modprobe, I checked page member variable in rq with 
kprobe or crash tool.  page member variable in rq is always NULL.

But sg in recv path is used.

So how to use page member variable in rq? If page member variable in 
rq is always NULL, can we remove it?

BTW, I use ping and iperf tool to make tests with virtio_net. In the 
tests, page member variable in rq is always NULL.

And I replaced page member variable in rq with page_pool, but the 
statistics of page_pool are always 0.

It is interesting that page_pool member variable in rq is not used in 
ping and iperf tests.

I am not sure what tests can make page member variable not NULL. ^_^

Best Regards,

Zhu Yanjun

It is interesting.

Zhu Yanjun
quoted
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help