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: Tuesday, August 25, 2009 - 9:11 am

On Tue, 25 Aug 2009, Eric Dumazet wrote:


tx_drops happen if the application sends too fast.

TX drop tracking is important due to the braindamaged throttling logic
during send. If SO_SNDBUF is less than what happens to fit in the TX ring then the
application will be throttled and no packet loss happens. If SO_SNDBUF is
set high then the TX ring will overflow and packets are dropped.

We need some way to diagnose TX drops per socket as long as we have
that mind boggling issue. TX drops means that one should reduce the size
of the sendbuffer in order to get better throttling which reduces packet
loss.


I read this just yesterday. IP_RECVERR means that the application wants to
see details on each loss. We just want some counters that give us accurate
statistics to gauge where packet loss is occurring. Applications are
usually not interested in tracking the fate of each packet.

--
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:
UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Mon Aug 17, 1:01 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Mon Aug 17, 1:46 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Sridhar Samudrala, (Mon Aug 17, 2:50 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Mon Aug 17, 3:13 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Sridhar Samudrala, (Mon Aug 17, 3:43 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Mon Aug 17, 3:52 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Mon Aug 17, 3:57 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Sridhar Samudrala, (Mon Aug 17, 5:12 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Mon Aug 17, 5:25 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Mon Aug 24, 10:40 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Sridhar Samudrala, (Mon Aug 24, 3:36 pm)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Tue Aug 25, 6:45 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Tue Aug 25, 6:46 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Tue Aug 25, 6:48 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Tue Aug 25, 7:00 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Tue Aug 25, 8:35 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Tue Aug 25, 9:11 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Tue Aug 25, 9:36 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Tue Aug 25, 10:01 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Tue Aug 25, 10:44 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Christoph Lameter, (Tue Aug 25, 10:53 am)
Re: UDP multicast packet loss not reported if TX ring overrun?, Sridhar Samudrala, (Tue Aug 25, 11:38 am)