netdev
[Top] [All Lists]

Re: TCP advertized window

To: anand@xxxxxxxxxxxxxxxxx (SVR Anand)
Subject: Re: TCP advertized window
From: kuznet@xxxxxxxxxxxxx
Date: Sat, 20 Jul 2002 05:26:10 +0400 (MSD)
Cc: netdev@xxxxxxxxxxx
In-reply-to: <200207190658.MAA21653@xxxxxxxxxxxxxxxxx> from "SVR Anand" at Jul 19, 2 11:15:00 am
Sender: owner-netdev@xxxxxxxxxxx
Hello!

> Can you let me know what is the mechanism used in computing the advertised 
> window ?

It is initialized to 3*mss (actually, 2...4*mss, look into include/net/tcp.h
tcp_select_initial_window() for details). Then each arriving segment
it is increased by 2*mss until it reaches maximal value (if the segment
does not have pathological ratio real_bits/overhead, see tcp_grow_window()).

Maximum depends only on rcvbuf and mss.

If pathological overflow of rcvbuf still happens,
window may be reset back to initial value.

Alexey


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