[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1314265254.2387.31.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC>
Date: Thu, 25 Aug 2011 11:40:54 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Ilpo Järvinen <ilpo.jarvinen@...sinki.fi>
Cc: netdev <netdev@...r.kernel.org>, Jerry Chu <hkchu@...gle.com>,
Damian Lukowski <damian@....rwth-aachen.de>
Subject: Re: [BUG] tcp : how many times a frame can possibly be
retransmitted ?
Le jeudi 25 août 2011 à 11:56 +0300, Ilpo Järvinen a écrit :
> So you think that this is not true: ?
>
> /* NOTE: clamping at TCP_RTO_MIN is not required, current algo
> * guarantees that rto is higher.
> */
>
> ...it would still be smaller than 1sec though, but certainly not going to
> cause flooding either. Default tcp_rto_min should be 200ms so it's
> 5pkts+5ICMP sent, received and processed per second. Which doesn't sound
> that bad CPU load?!?
>
Unless you have 100.000 active sessions maybe ?
Some years ago, I helped people running servers with more than 1.000.000
long living active sessions, and a temporary network disruption was
already very critical at that time, with old kernels (At that time, IP
route cache could blow away and consume too much ram or cpu time, things
are now under control)
I guess they would not try a new kernel :(
> It is unclear to me how tp->rttvar could become smaller than
> tcp_rto_min().
I believe this part is fine Ilpo.
As long as we handle few tcp sessions, its fine to send 5 messages per
session per second.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists