netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/2] udp: Fix multicast performance issues.
@ 2014-07-16  3:28 David Held
  2014-07-16  3:28 ` [PATCH net-next v3 1/2] udp: Simplify __udp*_lib_mcast_deliver David Held
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: David Held @ 2014-07-16  3:28 UTC (permalink / raw)
  To: netdev; +Cc: davem, eric.dumazet, willemb

Fix performance issues with listening to many different multicast
sockets on different addresses with the same port. Instead of always
using hash1, fall back to hash2 lookup when hash1 lookup is long.
Patch 1 is a general cleanup and simplification which also makes the
main implementation in Patch 2 simpler.

Eric's recent change 63c6f81cdde5 avoided this being an issue in early
demux. This makes it work for regular delivery as well.

v1->v2
 - updated hash collision detection

v2->v3
 - avoid flushing under lock unnecessarily at ARRAY_SIZE boundary

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

end of thread, other threads:[~2014-07-17  6:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-16  3:28 [PATCH net-next v3 0/2] udp: Fix multicast performance issues David Held
2014-07-16  3:28 ` [PATCH net-next v3 1/2] udp: Simplify __udp*_lib_mcast_deliver David Held
2014-07-16  7:07   ` Eric Dumazet
2014-07-16  3:28 ` [PATCH net-next v3 2/2] udp: Use hash2 for long hash1 chains in __udp*_lib_mcast_deliver David Held
2014-07-16  7:13   ` Eric Dumazet
2014-07-17  6:30 ` [PATCH net-next v3 0/2] udp: Fix multicast performance issues 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).