All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH nft 0/5] relax cache requirements, speed up incremental updates
@ 2024-08-15 11:37 Pablo Neira Ayuso
  2024-08-15 11:37 ` [PATCH nft 1/5] cache: rule by index requires full cache Pablo Neira Ayuso
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Pablo Neira Ayuso @ 2024-08-15 11:37 UTC (permalink / raw)
  To: netfilter-devel; +Cc: nhofmeyr, eric, phil, fw

Hi,

The following patchset relaxes cache requirements, this is based on the
observation that objects are fetched to report errors and provide hints.

This is a new attempt to speed up incremental updates following a
different approach, after reverting:

  e791dbe109b6 ("cache: recycle existing cache with incremental updates")

which is fragile because cache consistency checking needs more, it should
be still possible to explore in the future, but this seems a more simple
approach at this stage.

This is passing tests/shell and tests/py.

Pablo Neira Ayuso (5):
  cache: rule by index requires full cache
  cache: populate chains on demand from error path
  cache: populate objecs on demand from error path
  cache: populate flowtable on demand from error path
  cache: do not fetch set inconditionally on delete

 include/cache.h |  1 -
 src/cache.c     | 23 ++++++-----------------
 src/cmd.c       | 23 +++++++++++++++++++++++
 3 files changed, 29 insertions(+), 18 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-08-19 15:54 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-15 11:37 [PATCH nft 0/5] relax cache requirements, speed up incremental updates Pablo Neira Ayuso
2024-08-15 11:37 ` [PATCH nft 1/5] cache: rule by index requires full cache Pablo Neira Ayuso
2024-08-15 11:37 ` [PATCH nft 2/5] cache: populate chains on demand from error path Pablo Neira Ayuso
2024-08-15 11:37 ` [PATCH nft 3/5] cache: populate objecs " Pablo Neira Ayuso
2024-08-15 11:37 ` [PATCH nft 4/5] cache: populate flowtable " Pablo Neira Ayuso
2024-08-15 11:37 ` [PATCH nft 5/5] cache: do not fetch set inconditionally on delete Pablo Neira Ayuso
2024-08-15 12:25 ` [PATCH nft 0/5] relax cache requirements, speed up incremental updates Phil Sutter
2024-08-15 12:46   ` Pablo Neira Ayuso
2024-08-15 13:10     ` Phil Sutter
2024-08-15 13:38       ` Pablo Neira Ayuso
2024-08-15 15:08 ` Eric Garver
2024-08-19 15:54   ` Pablo Neira Ayuso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.