Improve iptables-nft performance with large rulesets
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest8 patches 6 repliesIn review
- v311 patches 10 repliesSuperseded
- v224 patches 13 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 14 patches | 11 replies | Superseded |
Changes in v4 from the cover letter
* Rebase onto current master after pushing the accepted initial three patches.
* Avoid cache inconsistency in __nft_build_cache() if kernel ruleset changed since last call.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | nft-cache: Introduce cache levelsiptables/ iptables/ | +47 | 1 reply | |
| 2/8 | nft-cache: Fetch only chains in nft_chain_list_get()iptables/ iptables/ | +21 | 0 replies | |
| 3/8 | nft-cache: Cover for multiple fetcher invocationiptables/ | +18 | 0 replies | |
| 4/8 | nft-cache: Support partial cache per tableiptables/ | +57 | 0 replies | |
| 5/8 | nft-cache: Support partial rule cache per chainiptables/ iptables/ iptables/ +2 more | +79 | 0 replies | |
| 6/8 | nft: Reduce cache overhead of nft_chain_builtin_init()iptables/ | +5 | 0 replies | |
| 7/8 | nft: Support nft_is_table_compatible() per chainiptables/ iptables/ iptables/ | +29 | 0 replies | |
| 8/8 | nft: Optimize flushing all chains of a tableiptables/ iptables/ iptables/ | +39 | 0 replies |
Reviews trailers per patch
1 of 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Pablo Neira Ayuso |
|---|---|
| Series | A-b |
| 1/8 | A-b |
| 2/8 | |
| 3/8 | |
| 4/8 | |
| 5/8 | |
| 6/8 | |
| 7/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [iptables PATCH v4 0/8] Improve iptables-nft performance with large rulesets
Fourth try at caching optimizations implementation.
Changes since v3:
* Rebase onto current master after pushing the accepted initial three patches.
* Avoid cache inconsistency in __nft_build_cache() if kernel ruleset changed since last call.
Phil Sutter (8):
nft-cache: Introduce cache levels
nft-cache: Fetch only chains in nft_chain_list_get()
nft-cache: Cover for multiple fetcher invocation
nft-cache: Support partial cache per table
nft-cache: Support partial rule cache per chain
nft: Reduce cache overhead of nft_chain_builtin_init()
nft: Support nft_is_table_compatible() per chain
nft: Optimize flushing all chains of a table
iptables/nft-cache.c | 203 ++++++++++++++++++++++++++++++------- iptables/nft-cache.h | 9 +- iptables/nft.c | 108 +++++++++++++------- iptables/nft.h | 14 ++- iptables/xtables-restore.c | 4 +- iptables/xtables-save.c | 4 +- 6 files changed, 259 insertions(+), 83 deletions(-)
Signature · 1 line
2.23.0