From: Rob Landley <landley@trommello.org>
To: root@chaos.analogic.com, Linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: TCP/IP Speed
Date: Wed, 30 Jan 2002 16:24:55 -0500 [thread overview]
Message-ID: <20020130212344.ZLSQ25963.femail43.sdc1.sfba.home.com@there> (raw)
In-Reply-To: <Pine.LNX.3.95.1020130110350.15189A-100000@chaos.analogic.com>
In-Reply-To: <Pine.LNX.3.95.1020130110350.15189A-100000@chaos.analogic.com>
On Wednesday 30 January 2002 11:07 am, Richard B. Johnson wrote:
> 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?
This is just a guess, but it sounds to me like a scheduling issue. When
you're sending data from one network stack to another, how often the
receiving program scoops data out of the incoming file descriptor isn't too
much of a limiting factor, as long as you've got enough buffer space in the
receiving network stack that the sender doesn't have to pause.
But to bounce the data back, the program at the far end doing the receive and
resend has be woken up and handed a time slice with which to receive,
process, and return the packet.
Have you tried ingo's O(1) scheduler? :)
> Cheers,
> Dick Johnson
Rob
next prev parent reply other threads:[~2002-01-30 21:24 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2002-01-30 21:54 ` Richard B. Johnson
2002-01-31 13:33 ` Gregory Maxwell
2002-01-30 21:58 ` David S. Miller
[not found] <fa.kdqjrkv.1d44lam@ifi.uio.no>
2002-01-30 18:18 ` Dan Maas
2002-01-30 18:34 ` Richard B. Johnson
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=20020130212344.ZLSQ25963.femail43.sdc1.sfba.home.com@there \
--to=landley@trommello.org \
--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®