Re: [PATCH net-next 0/3] nfp: flower: speed up stats update loop

2018-10-10 Thread David Miller
From: Jakub Kicinski Date: Mon, 8 Oct 2018 18:57:33 -0700 > This set from Pieter improves performance of processing FW stats > update notifications. The FW seems to send those at relatively > high rate (roughly ten per second per flow), therefore if we want > to approach the million flows mark

Re: [PATCH net-next 0/3] nfp: flower: speed up stats update loop

2018-10-10 Thread Jakub Kicinski
On Wed, 10 Oct 2018 16:40:56 +0300, Or Gerlitz wrote: > On Tue, Oct 9, 2018 at 4:58 AM Jakub Kicinski > wrote: > > > Given that our statistic IDs are already array indices, and considering > > each statistic is only 24B in size, we decided to forego the use > > 8B packet + 8B bytes --> 16B --

Re: [PATCH net-next 0/3] nfp: flower: speed up stats update loop

2018-10-10 Thread Or Gerlitz
On Tue, Oct 9, 2018 at 4:58 AM Jakub Kicinski wrote: > Given that our statistic IDs are already array indices, and considering > each statistic is only 24B in size, we decided to forego the use 8B packet + 8B bytes --> 16B -- does your FW/HW provide last use? how do you express this lastuse

[PATCH net-next 0/3] nfp: flower: speed up stats update loop

2018-10-08 Thread Jakub Kicinski
Hi! This set from Pieter improves performance of processing FW stats update notifications. The FW seems to send those at relatively high rate (roughly ten per second per flow), therefore if we want to approach the million flows mark we have to be very careful about our data structures. We tried