netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andy Furniss <lists@andyfurniss.entadsl.com>
To: netdev@vger.kernel.org
Subject: Controlling TCP window size
Date: Tue, 16 May 2006 12:06:57 +0100	[thread overview]
Message-ID: <4469B251.3050901@andyfurniss.entadsl.com> (raw)


I've been doing some testing of my new wan connection and noticed that 
when I specify a window with ip route it still changes after a while.

Using 2.6.16.11 and latest iproute2.

ip ro del default
ip ro add default via 192.168.0.1 window 28000
ip ro ls
192.168.0.0/24 dev eth0  proto kernel  scope link  src 192.168.0.3
default via 192.168.0.1 dev eth0  window 28000

timestamps and window scaling are off using reno.

Downloading a 5 meg file I advertise the correct window - the whole 
multiple of my mss below 28000 = 27322.

After about 1300 lines of the dump the window creeps back up to 32767.

001959 IP 81.31.115.186.80 > 192.168.0.3.42305: . 1051979:1053417(1438) 
ack 123 win 57520
000011 IP 192.168.0.3.42305 > 81.31.115.186.80: . ack 1053417 win 27322
002030 IP 81.31.115.186.80 > 192.168.0.3.42305: . 1053417:1054855(1438) 
ack 123 win 57520
001962 IP 81.31.115.186.80 > 192.168.0.3.42305: . 1054855:1056293(1438) 
ack 123 win 57520
000011 IP 192.168.0.3.42305 > 81.31.115.186.80: . ack 1056293 win 27322
003020 IP 81.31.115.186.80 > 192.168.0.3.42305: . 1056293:1057731(1438) 
ack 123 win 57520
001968 IP 81.31.115.186.80 > 192.168.0.3.42305: . 1057731:1059169(1438) 
ack 123 win 57520
000012 IP 192.168.0.3.42305 > 81.31.115.186.80: . ack 1059169 win 30198
002024 IP 81.31.115.186.80 > 192.168.0.3.42305: . 1059169:1060607(1438) 
ack 123 win 57520
000012 IP 192.168.0.3.42305 > 81.31.115.186.80: . ack 1060607 win 32767
001980 IP 81.31.115.186.80 > 192.168.0.3.42305: . 1060607:1062045(1438) 
ack 123 win 57520
000011 IP 192.168.0.3.42305 > 81.31.115.186.80: . ack 1062045 win 32767

Andy.


             reply	other threads:[~2006-05-16 11:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-16 11:06 Andy Furniss [this message]
2006-05-16 18:28 ` Controlling TCP window size John Heffner
2006-05-16 18:36   ` Andy Furniss
2006-05-16 18:48     ` John Heffner
2006-05-16 23:01   ` David S. Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4469B251.3050901@andyfurniss.entadsl.com \
    --to=lists@andyfurniss.entadsl.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).