netdev
[Top] [All Lists]

Re: [PATCH] fix tcp_default_win_scale.

To: Stephen Hemminger <shemminger@xxxxxxxx>
Subject: Re: [PATCH] fix tcp_default_win_scale.
From: Jamie Lokier <jamie@xxxxxxxxxxxxx>
Date: Wed, 7 Jul 2004 20:31:25 +0100
Cc: "David S. Miller" <davem@xxxxxxxxxx>, bert hubert <ahu@xxxxxxx>, netdev@xxxxxxxxxxx, linux-net@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
In-reply-to: <20040707110653.7c49bef1@xxxxxxxxxxxxxxxxxxxxx>
References: <20040701133738.301b9e46@xxxxxxxxxxxxxxxxxxxxx> <20040701140406.62dfbc2a.davem@xxxxxxxxxx> <20040702013225.GA24707@xxxxxxxxxxxxxxxx> <20040706093503.GA8147@xxxxxxxxxxxxxxx> <20040706114741.1bf98bbe@xxxxxxxxxxxxxxxxxxxxx> <20040706194034.GA11021@xxxxxxxxxxxxxxxxxx> <20040706131235.10b5afa8.davem@xxxxxxxxxx> <20040706224453.GA6694@xxxxxxxxxxxxxxx> <20040706154907.422a6b73.davem@xxxxxxxxxx> <20040707110653.7c49bef1@xxxxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.1i
Stephen Hemminger wrote:
> But: isn't it better to have just one sysctl parameter set
> (tcp_rmem) and set the window scale as needed rather than increasing
> the already bewildering array of dials and knobs?  I can't see why
> it would be advantageous to set a window scale of 7 if the largest
> possible window ever offered is limited to a smaller value?

That's a fair question.

It seems to me the only effects of a larger scale than necessary
are (a) the buffer size can be increased after the connection is
established, and (b) coarser granularity which can only degrade
performance over low mss links.

So why do we set a larger window scale than necessary?
Is it to support (a)?

-- Jamie


<Prev in Thread] Current Thread [Next in Thread>