Article View: news.software.nntp
Article #26236Re: Found out why diablo's dnewslink had non-optimal performance
From: Matt Dillon
Date: Sat, 14 Feb 1998 00:00
Date: Sat, 14 Feb 1998 00:00
36 lines
2304 bytes
2304 bytes
:In article <6c598n$q6o$1@scanner.worldgate.com>,
:Marc Slemko <marcs@znep.com> wrote:
:>In <6c4t4e$o8j$1@flea.best.net> dillon@best.net (Matt Dillon) writes:
:..
:>Erm... this isn't exactly true in the typical situation. Any stack
:>that only allows one unacked packet isn't going to work for many
:>useful things.
no, no... one unacked SHORT packet.... it's part of the congestion
control that most tcp stacks have. It gets turned off if I set
TCP_NODELAY, but TCP_NODELAY is a very dangerous option to set and
may result in the remote end setting it as well.
The reason you don't usually want to use TCP_NODELAY is because it
basically allows hundreds of unacked short packets to be in transit all
at once, even with nagle enabled.
Here's a typical situation that actually happened: Apache sets this
option, and if you run a CGI which does tiny write()'s back through
the pipe, apache will do tiny writes out the network. An ISP running
Apache had a user running a CGI that did this. Even with a reasonable
TCP window size of, say, 16K, the network got blown away by several
*thousand* 41 byte (1 stream byte) packets per second. Nagle didn't
kick in because there wasn't any packet loss, just a massively delayed
network.
-Matt
--
Matthew Dillon Engineering, BEST Internet Communications, Inc.
<dillon@best.net>, include original article w/ any response.
do not under any circumstances send email to joeblow@bigspender.idiom.com
and, for gods sake, don't email bucktram@popserver.idiom.com
Technical Details
Message-ID:
<6c63vf$pq8$1@flea.best.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<6c4t4e$o8j$1@flea.best.net> <6c598n$q6o$1@scanner.worldgate.com>Show Full Headers
Complete Article Headers
Message-ID: <6c63vf$pq8$1@flea.best.net> Subject: Re: Found out why diablo's dnewslink had non-optimal performance Date: Sat, 14 Feb 1998 00:00:00 +0000 From: dillon@best.net (Matt Dillon) References: <6c4t4e$o8j$1@flea.best.net> <6c598n$q6o$1@scanner.worldgate.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 325213601 X-Trace: 887526192 10781 dillon 206.184.139.132 Organization: Best Internet Communications, Inc. - 650 964 BEST Newsgroups: news.software.nntp