Re: SACK scoreboard

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Miller
Date: Tuesday, January 8, 2008 - 3:44 pm

From: John Heffner <jheffner@psc.edu>
Date: Tue, 08 Jan 2008 11:51:53 -0500


That defeats the impetus for the change.

We want to free up the data, say, 2 packets at a time as
ACKs come in.  The key goal is smooth liberation of
retransmit queue packets over time.

The big problem is that recovery from even a single packet loss in a
window makes us run kfree_skb() for a all the packets in a full
window's worth of data when recovery completes.

If we just move such packets to a seperate list, we still have to
iterate over all of them when the cumulative ACK arrives.

This problem, that retransmit queue liberation is not smooth, is the
biggest flaw in how SACK is specified.  I mean, consider Ilpo's
mentioned case of 500,000 packet windows.  The issue cannot be
ignored.  SACK is clearly broken.

You speak of a path in Linux where we can reneg on SACKs, but I doubt
it really ever runs because of how aggressive the queue collapser is.
Alexey even has a comment there:

	 * This must not ever occur. */

To be honest this code sits here because it was written before the
queue collapser was coded up.

Really, find me a box where the LINUX_MIB_OFOPRUNED or
LINUX_MIB_RECVPRUNED counters are anything other than zero.

So this is a non-issue and I did consider it before proposing that we
redefine SACK.
--
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)