Thread (73 messages) 73 messages, 8 authors, 2009-09-03

Re: UDP multicast packet loss not reported if TX ring overrun?

From: Eric Dumazet <hidden>
Date: 2009-08-25 15:59:10

Christoph Lameter a écrit :
On Tue, 25 Aug 2009, Eric Dumazet wrote:
quoted
Christoph Lameter a ?crit :
quoted
On Tue, 25 Aug 2009, Eric Dumazet wrote:
quoted
Please hold on, I would like to fully understand what's happening,
and test the patch :)
Ok. It would be good if the drops would also be somehow noted by the UDP
subsystem (one should see something with netstat -su) and may be even the
socket. I see a drops column in /proc/net/udp. rx_drops, tx_drops?
This /proc/net/udp column is for rx_drops currently and was recently added...
So lets rename it to rx_drops and then add tx_drops?
It wont be very nice, because it'll add yet another 32bits counter in each socket
structure, for a unlikely use. While rx_drops can happen if application is slow.

Also, tx_drops might be done later and not noticed.

Please read this old (and usefull) thread, with Alexey words...

http://oss.sgi.com/archives/netdev/2002-10/msg00612.html

http://oss.sgi.com/archives/netdev/2002-10/msg00617.html


So I bet your best choice is to set IP_RECVERR, as mentioned in 2002 by Jamal and Alexey :)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help