netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Philosophical question:  Is a UDP multicast datagram for which there is no socket match a drop or an ignore?
@ 2014-09-30 23:09 Rick Jones
  2014-09-30 23:23 ` Eric Dumazet
  0 siblings, 1 reply; 5+ messages in thread
From: Rick Jones @ 2014-09-30 23:09 UTC (permalink / raw)
  To: netdev

I've been looking at some additional perf <mutter> -e skb_kfree_skb 
results, this time with a laptop connected to a corporate network with a 
large number of Windows systems sending out what they are wont to 
send...  The laptop is just sitting there no active netperfs or anything :)

I see profile hits for __udp4_lib_mcast_deliver() which has a 
kfree_skb() call which will happen if either there were no sockets 
found, or if an integral multiple of ARRAY_SIZE(stack) sockets are 
found.  I'm assuming the latter is exceedingly rare.

Anywho, the philosophical question - is such a situation a drop 
(indicating the existing kfree_skb()), or is it an ignore (indicating a 
consume_skb())?  Should there be a statistic incremented for either of 
those?

happy benchmarking,

rick jones

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

end of thread, other threads:[~2014-10-01  0:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-30 23:09 Philosophical question: Is a UDP multicast datagram for which there is no socket match a drop or an ignore? Rick Jones
2014-09-30 23:23 ` Eric Dumazet
2014-10-01  0:22   ` Rick Jones
2014-10-01  0:29     ` Eric Dumazet
2014-10-01  0:31       ` Rick Jones

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