Re: Feedback on TCP: Make TCP_RTO_MAX a variable

From: Noboru OBATA
Date: Mon Jun 16 2008 - 10:49:59 EST


> Last year, Obata Noboru sent a patch to permit adjustment of
> TCP_RTO_MAX, which I have found useful. Refer to
> http://marc.info/?l=linux-netdev&m=118422471428855 for details.
>
> A customer reported that their internet-connected POS terminals were
> regularly "freezing" for extended periods, sometimes for as long as a
> few minutes. My analysis, such as it was, suggested that those
> occasions were caused by floods of packets directed towards the internet
> link at one end or the other (i.e. POS terminal or central server),
> leading to severe packet loss and maximum packet retransmit times during
> which no session data could be transmitted. I believe those floods were
> caused by anonymous third parties scanning the internet, and attempting
> to break through my client's routers. I also believe that to be an
> unavoidable social quality of the internet; I have to live with it.

I found your feedback interesting, David.

The wireless people gave me an similar feedback when I first
post the patch. They said my patch helps TCP connections
recover from the bursty loss much faster than the normal TCP
behavior. They found my patch useful because a packet loss on
wireless is not necessarily caused by link congestion, but
largely by temporary radio noize or handover between base
stations.

Your situtation seems to me that your connection itself does not
contribute the congestion, but other bursty incoming traffic
does. So exponential back-off does not help the packet loss
substantially.

My motivation of the patch is different, however. I wanted TCP
to retransmit the packet shortly after the failover of
underlying network.

I found it interesting that in all the cases where my patch
helps people, the TCP connection in question is not really a
part of congestion and has nothing to do with the packet loss
the connetion is experiencing.

Regards,

--
Noboru OBATA (noboru.obata.ar@xxxxxxxxxxx)

--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html