Re: [RFC] net: add support for threaded NAPI polling

2020-07-26 Thread Felix Fietkau
On 2020-07-26 19:58, Eric Dumazet wrote: > > > On 7/26/20 10:19 AM, Felix Fietkau wrote: >> On 2020-07-26 18:49, Eric Dumazet wrote: >>> On 7/26/20 9:31 AM, Felix Fietkau wrote: For some drivers (especially 802.11 drivers), doing a lot of work in the NAPI poll function does not pe

Re: [RFC] net: add support for threaded NAPI polling

2020-07-26 Thread Eric Dumazet
On 7/26/20 10:19 AM, Felix Fietkau wrote: > On 2020-07-26 18:49, Eric Dumazet wrote: >> On 7/26/20 9:31 AM, Felix Fietkau wrote: >>> For some drivers (especially 802.11 drivers), doing a lot of work in the >>> NAPI >>> poll function does not perform well. Since NAPI poll is bound to the CPU it

Re: [RFC] net: add support for threaded NAPI polling

2020-07-26 Thread Felix Fietkau
On 2020-07-26 18:49, Eric Dumazet wrote: > On 7/26/20 9:31 AM, Felix Fietkau wrote: >> For some drivers (especially 802.11 drivers), doing a lot of work in the NAPI >> poll function does not perform well. Since NAPI poll is bound to the CPU it >> was scheduled from, we can easily end up with a few

Re: [RFC] net: add support for threaded NAPI polling

2020-07-26 Thread Eric Dumazet
On 7/26/20 9:31 AM, Felix Fietkau wrote: > For some drivers (especially 802.11 drivers), doing a lot of work in the NAPI > poll function does not perform well. Since NAPI poll is bound to the CPU it > was scheduled from, we can easily end up with a few very busy CPUs spending > most of their tim