Re: SACK scoreboard

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: John Heffner
Date: Tuesday, January 8, 2008 - 9:51 am

David Miller wrote:


Linux has a code path where this can happen under memory over-commit, in 
tcp_prune_queue().  Also, I think one of the motivations for making SACK 
strictly advisory is there was some concern about buggy SACK 
implementations.  Keeping data in your retransmit queue allows you to 
fall back to timeout and go-back-n if things completely fall apart.  For 
better or worse, we have to deal with the spec the way it is.

Even if you made this assumption of "hard" SACKs, you still have to 
worry about large ACKs if SACK is disabled, though I guess you could say 
people running with large windows without SACK deserve what they get. :)


I haven't thought about this too hard, but can we approximate this by 
moving scaked data into a sacked queue, then if something bad happens 
merge this back into the retransmit queue?  The code will have to deal 
with non-contiguous data in the retransmit queue; I'm not sure offhand 
if that violates any assumptions.  You still have a single expensive ACK 
at the end of recovery, though I wonder how much this really hurts.  If 
you want to ameliorate this, you could save this sacked queue to be 
batch processed later, in application context for instance.

   -John


--
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:
[PATCH] tcp-illinois: incorrect beta usage, Stephen Hemminger, (Wed Nov 28, 4:47 pm)
Re: [PATCH] tcp-illinois: incorrect beta usage, Lachlan Andrew, (Wed Nov 28, 5:25 pm)
Re: [PATCH] tcp-illinois: incorrect beta usage, Stephen Hemminger, (Wed Nov 28, 5:43 pm)
RE: [PATCH] tcp-illinois: incorrect beta usage, Shao Liu, (Wed Nov 28, 10:26 pm)
Re: [PATCH] tcp-illinois: incorrect beta usage, Herbert Xu, (Thu Nov 29, 7:12 am)
[RFC] TCP illinois max rtt aging, Stephen Hemminger, (Mon Dec 3, 3:52 pm)
Re: [RFC] TCP illinois max rtt aging, Lachlan Andrew, (Mon Dec 3, 4:06 pm)
RE: [RFC] TCP illinois max rtt aging, Shao Liu, (Mon Dec 3, 4:59 pm)
Re: [RFC] TCP illinois max rtt aging, Stephen Hemminger, (Mon Dec 3, 5:32 pm)
Re: [RFC] TCP illinois max rtt aging, Lachlan Andrew, (Mon Dec 3, 6:23 pm)
Re: [RFC] TCP illinois max rtt aging, Ilpo Järvinen, (Tue Dec 4, 1:37 am)
Re: [RFC] TCP illinois max rtt aging, Lachlan Andrew, (Thu Dec 6, 8:27 pm)
Re: [RFC] TCP illinois max rtt aging, Ilpo Järvinen, (Fri Dec 7, 4:05 am)
Re: [RFC] TCP illinois max rtt aging, David Miller, (Fri Dec 7, 5:41 am)
Re: [RFC] TCP illinois max rtt aging, Ilpo Järvinen, (Fri Dec 7, 6:05 am)
Re: [RFC] TCP illinois max rtt aging, Ilpo Järvinen, (Fri Dec 7, 11:27 am)
Re: [RFC] TCP illinois max rtt aging, David Miller, (Fri Dec 7, 6:32 pm)
Re: [RFC PATCH net-2.6.25 uncompilable] [TCP]: Avoid break ..., Stephen Hemminger, (Wed Dec 12, 5:00 pm)
Re: SACK scoreboard, David Miller, (Tue Jan 8, 12:36 am)
Re: SACK scoreboard, Ilpo Järvinen, (Tue Jan 8, 5:12 am)
Re: SACK scoreboard, John Heffner, (Tue Jan 8, 9:51 am)
Re: SACK scoreboard, David Miller, (Tue Jan 8, 3:44 pm)
Re: SACK scoreboard, Lachlan Andrew, (Tue Jan 8, 6:34 pm)
Re: SACK scoreboard, Andi Kleen, (Tue Jan 8, 7:25 pm)
Re: SACK scoreboard, John Heffner, (Tue Jan 8, 9:27 pm)
Re: SACK scoreboard, David Miller, (Tue Jan 8, 11:35 pm)
Re: SACK scoreboard, David Miller, (Tue Jan 8, 11:39 pm)
Re: SACK scoreboard, David Miller, (Tue Jan 8, 11:41 pm)
Re: SACK scoreboard, Andi Kleen, (Wed Jan 9, 12:03 am)
Re: SACK scoreboard, David Miller, (Wed Jan 9, 12:16 am)
Re: SACK scoreboard, David Miller, (Wed Jan 9, 12:58 am)
Re: SACK scoreboard, Evgeniy Polyakov, (Wed Jan 9, 2:47 am)
Re: SACK scoreboard, Ilpo Järvinen, (Wed Jan 9, 5:55 am)
Re: SACK scoreboard, Andi Kleen, (Wed Jan 9, 7:02 am)
Re: SACK scoreboard, John Heffner, (Wed Jan 9, 7:56 am)
Re: SACK scoreboard, SANGTAE HA, (Wed Jan 9, 11:14 am)
Re: SACK scoreboard, John Heffner, (Wed Jan 9, 11:23 am)