Skip to content

Netfilter/iptables performance improvements

Stephen Hemminger lkml netdev netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 29 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4iptables: lock free countersinclude/linux/netfilter/x_tables.h net/ipv4/netfilter/arp_tables.c net/ipv4/netfilter/ip_tables.c +2 more+283 -10226 replies
2/4Add mod_timer_noactinclude/linux/timer.h kernel/relay.c kernel/timer.c+42 -823 replies
3/4Use mod_timer_noact to remove nf_conntrack_locknet/netfilter/nf_conntrack_core.c+4 -57 replies
4/4netfilter: Get rid of central rwlock in tcp conntrackinginclude/linux/netfilter/nf_conntrack_tcp.h include/net/netfilter/nf_conntrack_helper.h include/net/netfilter/nf_conntrack_l4proto.h +4 more+25 -2825 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchEric DumazetPaul E. McKenney
1/4A-b R-b R-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFT 0/4] Netfilter/iptables performance improvements

Bring together the three performance improvements suggested.
1) RCU for ip_tables entries
2) mod_timer_noact for conntrack timer
3) eliminate tcp_lock

I took the patches for 2 & 3 and made them build and basically work.

This patch set is against Patrick's netfilter next tree since it is where it should end up.

	git.kernel.org:/pub/scm/linux/kernel/git/kaber/nf-next-2.6.git