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

2020-08-04 Thread Eric Dumazet
On 8/2/20 7:27 AM, Sebastian Gottschall wrote: > > Am 31.07.2020 um 18:36 schrieb Eric Dumazet: >> >> On 7/30/20 10:21 AM, Sebastian Gottschall wrote: >>> Am 30.07.2020 um 18:08 schrieb Eric Dumazet: On 7/30/20 7:30 AM, Sebastian Gottschall wrote: > Am 29.07.2020 um 19:44 schrieb Eric

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

2020-08-02 Thread Sebastian Gottschall
Am 31.07.2020 um 18:36 schrieb Eric Dumazet: On 7/30/20 10:21 AM, Sebastian Gottschall wrote: Am 30.07.2020 um 18:08 schrieb Eric Dumazet: On 7/30/20 7:30 AM, Sebastian Gottschall wrote: Am 29.07.2020 um 19:44 schrieb Eric Dumazet: On 7/29/20 9:50 AM, Felix Fietkau wrote: For some drivers

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

2020-07-31 Thread Eric Dumazet
On 7/30/20 10:21 AM, Sebastian Gottschall wrote: > > Am 30.07.2020 um 18:08 schrieb Eric Dumazet: >> >> On 7/30/20 7:30 AM, Sebastian Gottschall wrote: >>> Am 29.07.2020 um 19:44 schrieb Eric Dumazet: On 7/29/20 9:50 AM, Felix Fietkau wrote: > For some drivers (especially 802.11 driver

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

2020-07-30 Thread Sebastian Gottschall
Am 30.07.2020 um 18:08 schrieb Eric Dumazet: On 7/30/20 7:30 AM, Sebastian Gottschall wrote: Am 29.07.2020 um 19:44 schrieb Eric Dumazet: On 7/29/20 9:50 AM, Felix Fietkau wrote: For some drivers (especially 802.11 drivers), doing a lot of work in the NAPI poll function does not perform wel

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

2020-07-30 Thread Sebastian Gottschall
Am 30.07.2020 um 17:42 schrieb David Laight: From: Sebastian Gottschall Sent: 30 July 2020 15:30 ... Quite frankly, I do believe this STATE_THREADED status should be a generic NAPI attribute that can be changed dynamically, at admin request, instead of having to change/recompile a driver.

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

2020-07-30 Thread Eric Dumazet
On 7/30/20 7:30 AM, Sebastian Gottschall wrote: > > Am 29.07.2020 um 19:44 schrieb Eric Dumazet: >> >> On 7/29/20 9:50 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 boun

RE: [PATCH] net: add support for threaded NAPI polling

2020-07-30 Thread David Laight
From: Sebastian Gottschall > Sent: 30 July 2020 15:30 ... > > Quite frankly, I do believe this STATE_THREADED status should be a generic > > NAPI attribute > > that can be changed dynamically, at admin request, instead of having to > > change/recompile > > a driver. > thats not that easy. wifi d

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

2020-07-30 Thread Sebastian Gottschall
Am 29.07.2020 um 19:44 schrieb Eric Dumazet: On 7/29/20 9:50 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 v

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

2020-07-29 Thread Eric Dumazet
On 7/29/20 9:50 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