Netdev List
 help / color / mirror / Atom feed
* [PATCH 0/10]: Improve SA insert/delete performance
@ 2006-08-15 11:37 David Miller
  2006-08-15 12:15 ` jamal
  0 siblings, 1 reply; 3+ messages in thread
From: David Miller @ 2006-08-15 11:37 UTC (permalink / raw)
  To: netdev; +Cc: hadi


[ Jamal, you saw the first 5 patches already, the rest is new
  stuff. ]

These patches against the net-2.6 GIT tree try to address some
serious IPSEC SA insert/delete performance problems noticed
by Jamal.

1) Use dynamic hash table sizing for the xfrm_state lookup
   tables.

2) Do not walk all policies and flush bundles on xfrm_state
   changes, instead:
   a) On delete, just allow pending references to deleted
      xfrm_state objects to be handled by policy GC and
      xfrm_dst_check() which runs on every use of a cached
      xfrm dst route
   b) On insert, find xfrm_state objects that might alias with
      the one we are about to insert.  For all such aliases,
      update their generation cound which will force
      xfrm_bundle_ok() (and thus xfrm_dst_check) to consider
      the route stale, forcing a relookup.

Patches forthcoming.

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

end of thread, other threads:[~2006-08-15 21:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-15 11:37 [PATCH 0/10]: Improve SA insert/delete performance David Miller
2006-08-15 12:15 ` jamal
2006-08-15 21:40   ` jamal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox