From: "Richard B. Johnson" <root@chaos.analogic.com>
To: Stephen Hemminger <shemminger@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Powers-of-two - 7 for recv() length??
Date: Wed, 31 Mar 2004 13:02:03 -0500 (EST) [thread overview]
Message-ID: <Pine.LNX.4.53.0403311257390.12123@chaos> (raw)
In-Reply-To: <20040331091646.4b1e0e70@dell_ss3.pdx.osdl.net>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 829 bytes --]
On Wed, 31 Mar 2004, Stephen Hemminger wrote:
> What is the socket send/receive buffering, and the underlying network.
> You need to look at the data flow with something like tcpdump and tcptrace.
> If you get flow controlled or lots of other reasons, TCP will validly
> send a small number of bytes (like 1) which will get things out of alignment.
>
Hmmm. I get lots of truncated IP packets. See attached. I've tried
to help by setting both RCV_BUF and SND_BUF to 1/2 megabytes. Nothing
seems to work except sending only 1436 bytes at a time. That makes
everything miserably slow. 1436 comes from (1500 - 64) 1500 being the
ethernet packet length, 64 being the IP header length.
Cheers,
Dick Johnson
Penguin : Linux version 2.4.24 on an i686 machine (797.90 BogoMips).
Note 96.31% of all statistics are fiction.
[-- Attachment #2: Type: APPLICATION/octet-stream, Size: 44404 bytes --]
next prev parent reply other threads:[~2004-03-31 18:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-31 16:36 Richard B. Johnson
2004-03-31 17:16 ` Stephen Hemminger
2004-03-31 18:02 ` Richard B. Johnson [this message]
2004-03-31 18:50 ` Stephen Hemminger
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=Pine.LNX.4.53.0403311257390.12123@chaos \
--to=root@chaos.analogic.com \
--cc=linux-kernel@vger.kernel.org \
--cc=shemminger@osdl.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
all inboxes | Powered by JetHome®