[PATCH nft 0/5] relax cache requirements, speed up incremental updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux