Thread (26 messages) 26 messages, 9 authors, 2023-09-22

Re: [RFC PATCH net-next 0/2] net: Use SMP threads for backlog NAPI.

From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: 2023-08-18 14:58:30
Also in: lkml

On 2023-08-18 09:43:08 [-0500], Yan Zhai wrote:
quoted
Looking at the cloudflare ppl here in the thread, I doubt they use
backlog but have proper NAPI so they might not need this.
Cloudflare does have backlog usage. On some veths we have to turn GRO
Oh. Okay.
off to cope with multi-layer encapsulation, and there is also no XDP
attached on these interfaces, thus the backlog is used. There are also
other usage of backlog, tuntap, loopback and bpf-redirect ingress.
Frankly speaking, making a NAPI instance "threaded" itself is not a
concern. We have threaded NAPI running on some veth for quite a while,
and it performs pretty well. The concern, if any, would be the
maturity of new code. I am happy to help derisk with some lab tests
and dogfooding if generic agreement is reached to proceed with this
idea.
If you have threaded NAPI for veth then you wouldn't be affected by this
code. However, if you _are_ affected by this and you use veth it would
be helpful to figure out if you have problems as of net-next and if this
helps or makes it worse.

As of now Jakub isn't eager to have it and my testing/ convincing is
quite limited. If nobody else yells that something like that would be
helpful I would simply go and convince PeterZ/tglx to apply 2/2 of this
series.
Yan
Sebastian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help