From: Andi Kleen <ak@muc.de>
To: Zameer.Ahmed@gs.com ("Ahmed, Zameer")
Cc: linux-kernel@vger.kernel.org
Subject: Re: Turning off nagle algorithm in 2.2.x and 2.4.x kernels?
Date: 18 Dec 2001 05:27:49 +0100 [thread overview]
Message-ID: <m3bsgxup8a.fsf@averell.firstfloor.org> (raw)
In-Reply-To: <FBC7494738B7D411BD7F00902798761908BFF190@gsny49e.ny.fw.gs.com>
In-Reply-To: Zameer.Ahmed@gs.com's message of "Mon, 17 Dec 2001 21:06:14 +0000 (UTC)"
Zameer.Ahmed@gs.com ("Ahmed, Zameer") writes:
> Hi,
> Is there a way to turn off nagle compression in the kernel for 2.2.x
> and 2.4.x kernels? For the same custom app used under Solaris and Linux.
> Turning off nagle algorithm boosted perf on Solaris, I tried commenting out
>
> #bool 'IP: Disable NAGLE algorithm (normally enabled)' CONFIG_TCP_NAGLE_OF
>
> from the net/ipv4/Config.in 2.2.19 kernel and still the degradation in
> network performance for packts in midsize persists
> I tried the 2.4.16 kernel. This gave me very slight improvement, but not
> quite what is expected.
Read the tcp(7) manpage. Enabling the TCP_NODELAY socket option disables
nagle per socket. The Config option is a noop and hasn't done anything for
a long time.
-Andi
next prev parent reply other threads:[~2001-12-18 4:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-17 21:03 Turning off nagle algorithm in 2.2.x and 2.4.x kernels? Ahmed, Zameer
2001-12-17 22:12 ` Russell King
2001-12-18 4:27 ` Andi Kleen [this message]
2001-12-18 9:47 ` Peter Wächtler
2001-12-18 14:58 ` Alan Cox
-- strict thread matches above, loose matches on Subject: below --
2001-12-18 17:05 Ahmed, Zameer
2001-12-18 17:59 ` Oliver Xymoron
2001-12-18 19:10 ` Alan Cox
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=m3bsgxup8a.fsf@averell.firstfloor.org \
--to=ak@muc.de \
--cc=Zameer.Ahmed@gs.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