[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210317233630.GA2480@salvia>
Date: Thu, 18 Mar 2021 00:36:30 +0100
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Oz Shlomo <ozsh@...dia.com>
Cc: netdev@...r.kernel.org, netfilter-devel@...r.kernel.org,
Saeed Mahameed <saeedm@...dia.com>,
Paul Blakey <paulb@...dia.com>
Subject: Re: [PATCH nf-next] netfilter: flowtable: separate replace, destroy
and stats to different workqueues
On Wed, Mar 03, 2021 at 02:59:53PM +0200, Oz Shlomo wrote:
> Currently the flow table offload replace, destroy and stats work items are
> executed on a single workqueue. As such, DESTROY and STATS commands may
> be backloged after a burst of REPLACE work items. This scenario can bloat
> up memory and may cause active connections to age.
>
> Instatiate add, del and stats workqueues to avoid backlogs of non-dependent
> actions. Provide sysfs control over the workqueue attributes, allowing
> userspace applications to control the workqueue cpumask.
I'm going to apply this to nf-next, it should be possible to revisit
this problem incrementally.
Applied, thanks for your patience.
Powered by blists - more mailing lists