public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mark Mielke <mark@mark.mielke.cc>
To: Fiona Sou-Yee Wong <wongfs@cs.ucdavis.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: disabling nagle
Date: Tue, 4 Feb 2003 14:52:04 -0500	[thread overview]
Message-ID: <20030204195204.GA1626@mark.mielke.cc> (raw)
In-Reply-To: <Pine.LNX.4.44.0302041138070.2629-100000@pc6.cs.ucdavis.edu>

On Tue, Feb 04, 2003 at 11:39:16AM -0800, Fiona Sou-Yee Wong wrote:
> I have kernel version 2.4.18 and I was looking for a patch to have the 
> option to disable NAGLE's algorithm.
> Is there a patch available for kernels 2.4 and greater and if not, what 
> other options do I have?

Don't patch the kernel for something like this.

Use setsockopt(TCP_NODELAY) on the TCP/IP socket file descriptors of
your choice.

Read "man tcp".

mark

-- 
mark@mielke.cc/markm@ncf.ca/markm@nortelnetworks.com __________________________
.  .  _  ._  . .   .__    .  . ._. .__ .   . . .__  | Neighbourhood Coder
|\/| |_| |_| |/    |_     |\/|  |  |_  |   |/  |_   | 
|  | | | | \ | \   |__ .  |  | .|. |__ |__ | \ |__  | Ottawa, Ontario, Canada

  One ring to rule them all, one ring to find them, one ring to bring them all
                       and in the darkness bind them...

                           http://mark.mielke.cc/


  reply	other threads:[~2003-02-04 19:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-04 19:39 disabling nagle Fiona Sou-Yee Wong
2003-02-04 19:52 ` Mark Mielke [this message]
2003-02-04 20:10 ` Richard B. Johnson
  -- strict thread matches above, loose matches on Subject: below --
2003-02-05  0:01 Dave Slicer
2003-02-05  6:47 ` Denis Vlasenko
2003-02-05 17:18   ` Mika Liljeberg
2003-02-06  6:35     ` Denis Vlasenko
2003-02-05 21:58 ` Olaf Titz

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=20030204195204.GA1626@mark.mielke.cc \
    --to=mark@mark.mielke.cc \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wongfs@cs.ucdavis.edu \
    /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