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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Christoph Lameter
Date: Wednesday, August 26, 2009 - 9:29 am

On Tue, 25 Aug 2009, Sridhar Samudrala wrote:


This does not work. qdisc drops are still not reported. They are reported
for IP and UDP.

Test tool crashes on first TX overrun:

clameter@rd-strategy3-deb64:~$ ./mcast -n1 -r400000
Receiver: Listening to control channel 239.0.192.1
Receiver: Subscribing to 0 MC addresses 239.0.192-254.2-254 offset 0
origin 10.2.36.123
Sender: Sending 400000 msgs/ch/sec on 1 channels. Probe interval=0.001-1
sec.
sendto: No buffer space available
Socket Send error

netstat reports exactly one packet loss:


clameter@rd-strategy3-deb64:~$ netstat -su
IcmpMsg:
    InType3: 1
    OutType3: 1
Udp:
    298 packets received
    0 packets to unknown port received.
    0 packet receive errors
    7232136 packets sent
    SndbufErrors: 1

root@rd-strategy3-deb64:/home/clameter#tc -s qdisc show
qdisc pfifo_fast 0: dev eth0 root bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1
1 1 1 1
 Sent 6208 bytes 64 pkt (dropped 0, overlimits 0 requeues 0)
 rate 0bit 0pps backlog 0b 0p requeues 0

SNMP report one drop:

root@rd-strategy3-deb64:/home/clameter#cat /proc/net/snmp
Ip: Forwarding DefaultTTL InReceives InHdrErrors InAddrErrors
ForwDatagrams InUnknownProtos InDiscards InDelivers OutRequests
OutDiscards OutNoRoutes ReasmTimeout ReasmReqds ReasmOKs ReasmFails
FragOKs FragFails FragCreates
Ip: 2 64 1114 0 0 0 0 0 1114 7232754 1 0 0 0 0 0 0 0 0
Icmp: InMsgs InErrors InDestUnreachs InTimeExcds InParmProbs InSrcQuenchs
InRedirects InEchos InEchoReps InTimestamps InTimestampReps InAddrMasks
InAddrMaskReps OutMsgs OutErrors OutDestUnreachs OutTimeExcds OutParmProbs
OutSrcQuenchs OutRedirects OutEchos OutEchoReps OutTimestamps
OutTimestampReps OutAddrMasks OutAddrMaskReps
Icmp: 1 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0
IcmpMsg: InType3 OutType3
IcmpMsg: 1 1
Tcp: RtoAlgorithm RtoMin RtoMax MaxConn ActiveOpens PassiveOpens
AttemptFails EstabResets CurrEstab InSegs OutSegs RetransSegs InErrs
OutRsts
Tcp: 1 200 120000 -1 26 4 0 0 2 774 595 0 0 0
Udp: InDatagrams NoPorts InErrors OutDatagrams RcvbufErrors SndbufErrors
Udp: 308 0 0 7232146 0 1
UdpLite: InDatagrams NoPorts InErrors OutDatagrams RcvbufErrors
SndbufErrors
UdpLite: 0 0 0 0 0 0

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Tue Aug 25, 12:15 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Sridhar Samudrala, (Tue Aug 25, 3:35 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Wed Aug 26, 7:08 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Wed Aug 26, 8:27 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Wed Aug 26, 9:29 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Sridhar Samudrala, (Wed Aug 26, 10:50 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Wed Aug 26, 12:09 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Sridhar Samudrala, (Wed Aug 26, 3:11 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Thu Aug 27, 8:40 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Thu Aug 27, 1:23 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Fri Aug 28, 6:53 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Fri Aug 28, 9:15 am)
[PATCH net-next-2.6] ip: Report qdisc packet drops, Eric Dumazet, (Fri Aug 28, 10:26 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Fri Aug 28, 12:53 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Fri Aug 28, 1:00 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Fri Aug 28, 1:09 pm)
Re: [PATCH net-next-2.6] ip: Report qdisc packet drops, David Miller, (Fri Aug 28, 11:38 pm)
Re: [PATCH net-next-2.6] ip: Report qdisc packet drops, Eric Dumazet, (Mon Aug 31, 5:09 am)
Re: [PATCH net-next-2.6] ip: Report qdisc packet drops, David Miller, (Tue Sep 1, 6:41 pm)
Re: [PATCH net-next-2.6] ip: Report qdisc packet drops, Eric Dumazet, (Wed Sep 2, 7:43 am)
Re: [PATCH net-next-2.6] ip: Report qdisc packet drops, Eric Dumazet, (Wed Sep 2, 9:05 am)
Re: [PATCH net-next-2.6] ip: Report qdisc packet drops, Sridhar Samudrala, (Wed Sep 2, 9:11 am)
Re: [PATCH net-next-2.6] ip: Report qdisc packet drops, Eric Dumazet, (Wed Sep 2, 9:20 am)
Re: [PATCH net-next-2.6] ip: Report qdisc packet drops, Christoph Lameter, (Wed Sep 2, 11:22 am)
Re: [PATCH net-next-2.6] ip: Report qdisc packet drops, Christoph Lameter, (Wed Sep 2, 12:37 pm)
Re: [PATCH net-next-2.6] ip: Report qdisc packet drops, Eric Dumazet, (Wed Sep 2, 3:26 pm)
Re: [PATCH net-next-2.6] ip: Report qdisc packet drops, David Miller, (Wed Sep 2, 6:05 pm)
Re: [PATCH net-next-2.6] ip: Report qdisc packet drops, David Miller, (Wed Sep 2, 6:09 pm)
Re: [PATCH net-next-2.6] ip: Report qdisc packet drops, Eric Dumazet, (Thu Sep 3, 7:12 am)
Re: [PATCH net-next-2.6] ip: Report qdisc packet drops, Christoph Lameter, (Thu Sep 3, 10:57 am)
Re: [PATCH net-next-2.6] ip: Report qdisc packet drops, Christoph Lameter, (Thu Sep 3, 11:35 am)