netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] Batched netns improvements.
@ 2009-12-03 12:27 Eric W. Biederman
  2009-12-03 12:29 ` [PATCH 1/7] net: Add support for batching network namespace cleanups Eric W. Biederman
                   ` (8 more replies)
  0 siblings, 9 replies; 16+ messages in thread
From: Eric W. Biederman @ 2009-12-03 12:27 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, jamal, Daniel Lezcano


This series of patches takes my simple 4k network namespace exit test
from about 44s to 1.6s, with a minuscule increase in code side.

While batching has given me big improvements there are a few
changes in there that improve the performance of cleaning up
a single network namespace.

Eric

 include/net/fib_rules.h          |    3 +-
 include/net/inet_timewait_sock.h |    6 +-
 include/net/net_namespace.h      |    2 +
 include/net/netns/xfrm.h         |    1 +
 net/core/dev.c                   |   25 +++++++
 net/core/fib_rules.c             |   36 +++++++++-
 net/core/net_namespace.c         |  138 ++++++++++++++++----------------------
 net/decnet/dn_rules.c            |   22 +++---
 net/ipv4/fib_rules.c             |   12 +---
 net/ipv4/inet_timewait_sock.c    |   45 ++++++++-----
 net/ipv4/tcp_ipv4.c              |   11 ++-
 net/ipv6/fib6_rules.c            |   22 ++----
 net/ipv6/tcp_ipv6.c              |   11 ++-
 net/xfrm/xfrm_user.c             |   18 +++--
 14 files changed, 200 insertions(+), 152 deletions(-)

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

end of thread, other threads:[~2009-12-03 20:45 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-03 12:27 [PATCH 0/7] Batched netns improvements Eric W. Biederman
2009-12-03 12:29 ` [PATCH 1/7] net: Add support for batching network namespace cleanups Eric W. Biederman
2009-12-03 12:29 ` [PATCH 2/7] net: Move network device exit batching Eric W. Biederman
2009-12-03 12:29 ` [PATCH 3/7] net: Allow xfrm_user_net_exit to batch efficiently Eric W. Biederman
2009-12-03 12:29 ` [PATCH 4/7] netns: Add an explicit rcu_barrier to unregister_pernet_{device|subsys} Eric W. Biederman
2009-12-03 12:29 ` [PATCH 5/7] net: Allow fib_rule_unregister to batch Eric W. Biederman
2009-12-03 12:29 ` [PATCH 6/7] net: Use rcu lookups in inet_twsk_purge Eric W. Biederman
2009-12-03 13:17   ` Eric Dumazet
2009-12-03 12:29 ` [PATCH 7/7] net: Batch inet_twsk_purge Eric W. Biederman
2009-12-03 13:23   ` Eric Dumazet
2009-12-03 13:36     ` Eric W. Biederman
2009-12-03 20:24       ` David Miller
2009-12-03 20:45         ` Eric W. Biederman
2009-12-03 13:06 ` [PATCH 0/7] Batched netns improvements jamal
2009-12-03 13:23   ` Eric W. Biederman
2009-12-03 20:24 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).