Re: Very poor TCP/SACK performance

Savochkin Andrey Vladimirovich (saw@msu.ru)
Tue, 8 Sep 1998 16:45:24 +0400


On Tue, Sep 08, 1998 at 05:34:41AM -0700, David S. Miller wrote:
> From: alan@lxorguk.ukuu.org.uk (Alan Cox)
> Date: Tue, 8 Sep 1998 14:27:35 +0100 (BST)
>
> No. With a 32K window and set for a 64K limit 2.1.x should be fine
> by default. Looking at the 2.1.x code Im a bit confused it seems to
> be offering window == free space or am I missing something ?
>
> It should be offering something like:
>
> (buf_limit - alloced_so_far) / 2
>
> if it is not, thats a bug.

Window shrinking is an important point here.
If we have say 4K of available space we offer 2K window.
Then we receive 2 packets of 512 bytes eating 1.5K each.
We aren't allowed to shrink the window so we have to offer 1K window
when we have only 1K free space. And so on.

Andrey

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/faq.html