netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] inet: add second hash table
@ 2012-05-30  7:36 Alexandru Copot
  2012-05-30  7:36 ` [RFC PATCH 1/4] inet: add counter to inet_bind_hashbucket Alexandru Copot
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Alexandru Copot @ 2012-05-30  7:36 UTC (permalink / raw)
  To: davem
  Cc: gerrit, kuznet, jmorris, yoshfuji, kaber, netdev,
	Alexandru Copot, Daniel Baluta, Lucian Grijincu

This patchset implements all the operations needed to use a second
(port,address) bind hash table for inet. It uses a similar approach
as the UDP implementation.

The performance improvements for port allocation are very good and
detailed in the last message.

This is based on a series of patches written by Lucian Grijincu at Ixia.

Signed-off-by: Alexandru Copot <alex.mihai.c@gmail.com>
Cc: Daniel Baluta <dbaluta@ixiacom.com>
Cc: Lucian Grijincu <lucian.grijincu@gmail.com>
---
Alexandru Copot (4):
      inet: add counter to inet_bind_hashbucket
      inet: add a second bind hash
      inet: add/remove inet buckets in the second bind hash
      inet: use second hash in inet_csk_get_port

 include/net/inet_hashtables.h    |  140 +++++++++++++++++++++++++++++++--
 include/net/inet_timewait_sock.h |    5 +-
 net/dccp/proto.c                 |   37 ++++++++-
 net/ipv4/inet_connection_sock.c  |   66 ++++++++--------
 net/ipv4/inet_hashtables.c       |  158 ++++++++++++++++++++++++++++++++++++--
 net/ipv4/inet_timewait_sock.c    |   16 ++--
 net/ipv4/tcp.c                   |   17 ++++
 net/ipv6/inet6_hashtables.c      |   95 +++++++++++++++++++++++
 8 files changed, 477 insertions(+), 57 deletions(-)

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

end of thread, other threads:[~2012-05-30 19:11 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-30  7:36 [RFC PATCH 0/4] inet: add second hash table Alexandru Copot
2012-05-30  7:36 ` [RFC PATCH 1/4] inet: add counter to inet_bind_hashbucket Alexandru Copot
2012-05-30  8:00   ` Eric Dumazet
2012-05-30  7:36 ` [RFC PATCH 2/4] inet: add a second bind hash Alexandru Copot
2012-05-30  7:36 ` [RFC PATCH 3/4] inet: add/remove inet buckets in the " Alexandru Copot
2012-05-30  7:36 ` [RFC PATCH 4/4] inet: use second hash in inet_csk_get_port Alexandru Copot
2012-05-30 16:42   ` Eric Dumazet
2012-05-30 17:20   ` Eric Dumazet
2012-05-30 19:11     ` Alexandru Copot
2012-05-30  7:57 ` [RFC PATCH 0/4] inet: add second hash table Eric Dumazet
2012-05-30 12:32   ` Daniel Baluta
2012-05-30 12:41     ` Eric Dumazet
2012-05-30 16:27       ` Ben Greear

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).