netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/n]: 2 is better than 1 - tcp recombining; both with SACK and rexmits
@ 2008-11-24 14:21 Ilpo Järvinen
  2008-11-24 14:21 ` [PATCH 01/10] tcp: collapse more than two on retransmission Ilpo Järvinen
  0 siblings, 1 reply; 28+ messages in thread
From: Ilpo Järvinen @ 2008-11-24 14:21 UTC (permalink / raw)
  To: David Miller; +Cc: netdev

Skb recombining is finally there for SACK, after fixing some accesses
to already freed memory and accounting issues and plenty of state/data
corrupters and some corner-cases which I didn't found by hitting them,
it seems to finally make enough sense and run flawlessly. But still
please read the skb part of the shifting with more care than usual
since I'm on a territory which is pretty unknown to me though I learned
a lot while figuring things out. E.g., do I set checksum fields correctly,
are pre-condition checks missing something important, etc.

The current approach already is enough to get most of the benefits from
recombining. There's still room for some improvements but they can be
built on top of this machinery once we're sure that it indeed works.
E.g, not all sack patterns are handled as good as they could be, full
shift special case optimizations, dsack/sack for already sacked skbs
w/o fragmenting, ... Just to mention some.

NOTE: Like I said before, there is a pending problem with tcpdump
getting EFAULT for some reason if cloned skbs get handled.

Also the rexmissions combining is included (comments to your concerns
in the original thread). ...and some minor code reorganization.
NOTE: there's one obvious MIBs patch for debug only purpose for those
interested enough.


--
 i.



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

end of thread, other threads:[~2008-11-25 21:45 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-24 14:21 [PATCH 0/n]: 2 is better than 1 - tcp recombining; both with SACK and rexmits Ilpo Järvinen
2008-11-24 14:21 ` [PATCH 01/10] tcp: collapse more than two on retransmission Ilpo Järvinen
2008-11-24 14:21   ` [PATCH 02/10] tcp: move tcp_simple_retransmit to tcp_input Ilpo Järvinen
2008-11-24 14:22     ` [PATCH 03/10] tcp: more aggressive skipping Ilpo Järvinen
2008-11-24 14:22       ` [PATCH 04/10] tcp: Make SACK code to split only at mss boundaries Ilpo Järvinen
2008-11-24 14:22         ` [PATCH 05/10] tcp: make tcp_sacktag_one able to handle partial skb too Ilpo Järvinen
2008-11-24 14:22           ` [PATCH 06/10] tcp: Try to restore large SKBs while SACK processing Ilpo Järvinen
2008-11-24 14:22             ` [PATCH 07/10] tcp: Make shifting not clear the hints Ilpo Järvinen
2008-11-24 14:22               ` [PATCH 08/10] tcp: add some mibs to track collapsing Ilpo Järvinen
2008-11-24 14:22                 ` [PATCH 09/10] tcp: more accurate fallback counters (DEBUGONLY) Ilpo Järvinen
2008-11-24 14:22                   ` [PATCH 10/10] tcp: handle shift/merge of cloned skbs too Ilpo Järvinen
2008-11-25  5:32                     ` David Miller
2008-11-25  5:27                   ` [PATCH 09/10] tcp: more accurate fallback counters (DEBUGONLY) David Miller
2008-11-25  5:27                 ` [PATCH 08/10] tcp: add some mibs to track collapsing David Miller
2008-11-25  5:27               ` [PATCH 07/10] tcp: Make shifting not clear the hints David Miller
2008-11-25  5:20             ` [PATCH 06/10] tcp: Try to restore large SKBs while SACK processing David Miller
2008-11-25  5:15           ` [PATCH 05/10] tcp: make tcp_sacktag_one able to handle partial skb too David Miller
2008-11-25 13:44             ` Ilpo Järvinen
2008-11-25  5:13         ` [PATCH 04/10] tcp: Make SACK code to split only at mss boundaries David Miller
2008-11-25  5:12       ` [PATCH 03/10] tcp: more aggressive skipping David Miller
2008-11-24 14:50     ` [PATCH 02/10] tcp: move tcp_simple_retransmit to tcp_input Ilpo Järvinen
2008-11-24 16:36     ` Andi Kleen
2008-11-24 16:58       ` Ilpo Järvinen
2008-11-24 19:07         ` Andi Kleen
2008-11-25  5:10     ` David Miller
2008-11-25 14:02       ` Ilpo Järvinen
2008-11-25 21:45         ` David Miller
2008-11-25  5:05   ` [PATCH 01/10] tcp: collapse more than two on retransmission 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).