Skip to content

TRIE performance patches

Stephen Hemminger netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9fib_trie: put leaf nodes in a slab cachenet/ipv4/fib_trie.c+10 -30 replies
2/9fib_trie: style cleanupnet/ipv4/fib_trie.c+142 -950 replies
3/9fib_trie: compute size when needednet/ipv4/fib_trie.c+13 -80 replies
4/9fib_trie: use hash listnet/ipv4/fib_trie.c+21 -220 replies
5/9fib_trie: dump message multiple part flagnet/ipv4/fib_trie.c+1 -10 replies
6/9fib_trie: iterator recodenet/ipv4/fib_trie.c+52 -510 replies
7/9fib_trie: dump table in sorted ordernet/ipv4/fib_trie.c+40 -360 replies
8/9fib_trie: avoid extra search on deletenet/ipv4/fib_trie.c+12 -380 replies
9/9fib_trie: avoid rescan on dumpnet/ipv4/fib_trie.c+21 -130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [IPV4 0/9] TRIE performance patches

Time to handle a full BGP load (163K of routes).

Before: Load Dump Flush
hash 3.5 0.5 0.7
2.6.23.14 3.4 19.3 10.3
net-2.6.25 3.4 18.7 9.8

After:
kmem_cache 3.8 13.0 7.2
iter 3.9 12.3 6.9
unordered 3.1 11.9 4.9
find_node 3.1 0.3 1.2

Load: ip -batch iproute-table
Dump: ip route >/dev/null
Flush: ip route flush table main

Signature · 1 line
Stephen Hemminger <[email protected]>