netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-2.6 0/2] [TCP]: Fix bidirectional brokeness
@ 2007-07-30 17:16 Ilpo Järvinen
  2007-07-30 17:18 ` [PATCH net-2.6 1/2] [TCP]: Fix ratehalving with bidirectional flows Ilpo Järvinen
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Ilpo Järvinen @ 2007-07-30 17:16 UTC (permalink / raw)
  To: David Miller; +Cc: Netdev

Hi Dave,

While testing frto with bidirection TCP a while (months) ago, I 
encountered time-seq graphs which made absolutely no sense as if 
recoveries only completed after RTO. As a result, I noticed that 
rate-halving has problem when a flow is bidirection but testing the
patch has been on my todo list for ages.  ...Finally, here it is...
...Please think the first one a bit because there might be some
corner cases with reno.

While testing it I came across with an additional issue that can
occur with bidirectional traffic. And, even better, the second fix
seems to also solves a third issue which affects both unidirectional
and bidirectional flows, though it's a marginal case (cumulative
ACK that causes a larger number of new SACKed skbs). I've never
seen that third one to occur but it's there if you get enough ACK
losses, subsequent ACKs (if one gets them) do solve it so that's
not a very bad issue to begin with...

I've verified these from time-seq graphs on top of tcp-2.6, which
had some additional (mostly cleanup and the rebase I promised you
earlier) though I added the tp->fackets_out > tp->reordering check
afterwards as it seems necessary to avoid going to lost marker too
often (wouldn't have had any effect in my test case anyway).

...Please consider to net-2.6 and to stable too.

These will generate you some hassle when you rebase tcp-2.6. Btw, you 
forgot to push tcp-2.6 out last time though I could assume it's
state... :-) In case you're going to now push it out, could you please
drop "[TCP]: Remove num_acked>0 checks from cong.ctrl mods pkts_acked"
from it as it seems to be out of place in tcp-2.6, I can resubmit it
to net-2.6.24 when you open it (unless you want to put it to net-2.6 
directly as it's rather trivial one).


-- 
 i.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2007-07-31 15:59 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-30 17:16 [PATCH net-2.6 0/2] [TCP]: Fix bidirectional brokeness Ilpo Järvinen
2007-07-30 17:18 ` [PATCH net-2.6 1/2] [TCP]: Fix ratehalving with bidirectional flows Ilpo Järvinen
2007-07-31  2:49   ` David Miller
2007-07-31  4:59     ` Ilpo Järvinen
2007-07-31  5:21       ` David Miller
2007-07-31  9:51         ` Stephen Hemminger
2007-07-31  9:58           ` David Miller
2007-07-31 13:37             ` Stephen Hemminger
2007-07-31 15:59               ` Ilpo Järvinen
2007-07-30 17:19 ` [PATCH net-2.6 2/2] [TCP]: Bidir flow must not disregard SACK blocks for lost marking Ilpo Järvinen
2007-07-31  2:53   ` David Miller
2007-07-31  5:33     ` Ilpo Järvinen
2007-07-31  2:54 ` [PATCH net-2.6 0/2] [TCP]: Fix bidirectional brokeness David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).