mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Dan Maas" <dmaas@dcine.com>
To: <root@chaos.analogic.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: TCP/IP Speed
Date: Wed, 30 Jan 2002 13:18:53 -0500	[thread overview]
Message-ID: <00b501c1a9ba$93544830$1a01a8c0@allyourbase> (raw)
In-Reply-To: <fa.kdqjrkv.1d44lam@ifi.uio.no>

> When I ping two linux machines on a private link, I get 0.1 ms delay.
> When I send large TCP/IP stream data between them, I get almost
> 10 megabytes per second on a 100-base link. Wonderful.
> 
> However, if I send 64 bytes from one machine and send it back, simple
> TCP/IP strean connection, it takes 1 millisecond to get it back? There
> seems to be some artifical delay somewhere.  How do I turn this OFF?

Stupid question - did you turn Nagle off?

int one = 1;
setsockopt(fd, SOL_TCP, TCP_NDELAY, &one);

(I think; typing from memory...)

Regards,
Dan


       reply	other threads:[~2002-01-30 18:20 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fa.kdqjrkv.1d44lam@ifi.uio.no>
2002-01-30 18:18 ` Dan Maas [this message]
2002-01-30 18:34   ` Richard B. Johnson
2002-01-30 16:07 Richard B. Johnson
2002-01-30 16:14 ` Zwane Mwaikambo
2002-01-30 16:35   ` Richard B. Johnson
2002-01-30 16:31     ` Zwane Mwaikambo
2002-01-30 16:47       ` Richard B. Johnson
2002-01-30 16:45         ` Zwane Mwaikambo
2002-01-31 14:00         ` Terje Eggestad
2002-01-31 15:26           ` Richard B. Johnson
2002-01-31 16:06             ` Terje Eggestad
2002-01-30 18:07       ` Corey Minyard
2002-01-30 18:20         ` Tobias Ringstrom
2002-01-30 18:24         ` Gregory Maxwell
2002-01-30 16:36     ` Zwane Mwaikambo
2002-01-30 21:24 ` Rob Landley
2002-01-30 21:54   ` Richard B. Johnson
2002-01-31 13:33     ` Gregory Maxwell
2002-01-30 21:58   ` 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='00b501c1a9ba$93544830$1a01a8c0@allyourbase' \
    --to=dmaas@dcine.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=root@chaos.analogic.com \
    /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

all inboxes | Powered by JetHome®