From: Mika Liljeberg <Mika.Liljeberg@welho.com>
To: Hayden Myers <hayden@spinbox.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.2 to 2.4... serious TCP send slowdowns
Date: 23 Jul 2002 00:43:49 +0300 [thread overview]
Message-ID: <1027374229.11240.17.camel@cs180154> (raw)
In-Reply-To: <Pine.LNX.4.10.10207221646120.4476-100000@compaq.skyline.net>
On Tue, 2002-07-23 at 00:13, Hayden Myers wrote:
> I dumped the other side and it does confirm that the advertised window is
> increasing. This is may not be the problem. So if I understand
> correctly 2.4 has window scaling while 2.2 didn't and that's why the
> window advertisement is larger initially in the 2.2 than the 2.4.
The TCP window scaling option is something else. You are correct,
however, that 2.4 manages receiver side buffers differently and
therefore advertises differently. This is designed to save buffer memory
in a HTTP server and should actually be good for your application.
> I
> still have a theory as to why this smaller window size and/or scaling
is
> slowing us down.
>
> >
> > The 6432 you're seeing is the server telling the client how much the
> > client is allowed send. Only, the client isn't sending anything. You
> > need to look at what the client is advertising to the server.
> The client's advertisement seems to increase as the packets keep rolling
> in.
Correct.
> I just noticed a large number of delayed acks in /proc/net/netstat. Do
> you think it's possible that a lot of clients have delayed ack and are
> holding up our connections?
Again, don't think so. Unless Alexey has changed something recently,
Linux quickacks every full sized segment immediately during the
slowstart phase. This means that, in the beginning, the congestion
window is growing as fast as the specs allow.
If in doubt, you can set the TCP_NODELAY option. Just make sure your app
is sending full sized segments if you do this, otherwise it will just
degrade performance.
Anyway, try posting some hard data. Maybe somebody on these lists can
figure it out.
MikaL
next parent reply other threads:[~2002-07-22 21:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.10.10207221646120.4476-100000@compaq.skyline.net>
2002-07-22 21:43 ` Mika Liljeberg [this message]
[not found] <Pine.LNX.4.10.10207221603340.4476-100000@compaq.skyline.net>
2002-07-22 20:32 ` 2.2 to 2.4... serious TCP send slowdowns Mika Liljeberg
2002-07-19 20:09 Nivedita Singhvi
-- strict thread matches above, loose matches on Subject: below --
2002-07-18 23:30 2.2 to 2.4 migration Hayden Myers
2002-07-19 17:04 ` 2.2 to 2.4... serious TCP send slowdowns Hayden Myers
2002-07-20 20:53 ` Alan Cox
2002-07-22 18:47 ` Hayden Myers
2002-07-22 19:51 ` Mika Liljeberg
2002-07-23 7:24 ` Buddy Lumpkin
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=1027374229.11240.17.camel@cs180154 \
--to=mika.liljeberg@welho.com \
--cc=hayden@spinbox.com \
--cc=linux-kernel@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