Article View: news.software.readers
Article #122532Re: Eratic speeds with Power Post 2000?
From: Murray Peterson
Date: Wed, 02 Apr 2003 06:09
Date: Wed, 02 Apr 2003 06:09
46 lines
3131 bytes
3131 bytes
"Zak Watson" <zdwwt9@mizzou.edu> wrote in
news:nnq.C2mia.292907$F1.49688@sccrnsc04:
> What I want to understand this time is why the
> speed increases and decreases second to second, swinging between 24.2 and
> about 11 (sometimes 0, but that's between segments) K/sec.
TCP/IP itself is subject to wild swings in speed when you start looking at
second by second timing. There are several reasons for this:
1. The timing calculations themselves may be suspect, especially if they
are using an integral number of seconds as the divisor. Even the best
possible calculations are accuracy limited by the underlying 10 millisecond
clock "tick".
2. Look up "Nagle Algorithm" and "Sliding Window Algorithm" -- you will
find lots of info about how TCP works (and why the speed will never be
constant). Basically, TCP/IP uses various algorithms for congestion
control and reliability -- all of them will change the speed of your
transmission.
3. You may have mis-tuned your TCP settings in an attempt to get higher
bandwidth. One result of this "tuning" is a very high latency on retries
due to setting your receive window size too large. Any dropped packet
causes serious latency and speed variations (and a packet will *always* be
lost at some time).
Here a few links to help you understand how TCP/IP congestion control
works:
www.ce.chalmers.se/~fcela/javis/tcp_slidwin.html
www.acm.org/sigcomm/ccr/archive/2001/jan01/ccr-200101-mogul.pdf
Final comment -- asking for "constant" speed from TCP/IP is really
misguided. It's just not the way things work; you might as well ask for
pigs to fly while you are in the mood.
> Is there a better usenet posting program out there?
Better in what way?
--
Murray Peterson
Email: murray_peterson@shaw.ca (remove underscore)
URL: http://members.shaw.ca/murraypeterson/
Technical Details
Message-ID:
<nnq.Xns9350EBDC6A81farkle@24.71.223.159>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.newusers.questions.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!not-for-mailReferences:
<nnq.C2mia.292907$F1.49688@sccrnsc04>Show Full Headers
Complete Article Headers
Message-ID: <nnq.Xns9350EBDC6A81farkle@24.71.223.159> Subject: Re: Eratic speeds with Power Post 2000? Date: Wed, 02 Apr 2003 06:09:43 +0000 From: Murray Peterson <mwp@home.com.invalid> References: <nnq.C2mia.292907$F1.49688@sccrnsc04> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.newusers.questions.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!not-for-mail Return-Path: <news@shaw.ca> X-Original-Path: not-for-mail X-Trace: news1.calgary.shaw.ca 1049263783 24.71.223.147 (Tue, 01 Apr 2003 23:09:43 MST) X-Original-ID: <Xns9350EBDC6A81farkle@24.71.223.159> Organization: None X-Complaints-to: abuse@shaw.ca Content-transfer-encoding: 7BIT NNTP-posting-date: Tue, 01 Apr 2003 23:09:43 MST User-Agent: Xnews/06.02.14 X-Trace-PostClient-IP: 68.145.202.240 Newsgroups: news.newusers.questions,news.software.readers NNTP-Posting-Host: 24.71.223.147 X-Path-To-Moderators: nnq-admin!mail.presby.edu![12.158.34.157]!source!shawidc-mo1.cg.shawcable.net!pd2mr2so.prod.shaw.ca!pd2pm1so!shaw.ca Approved: nnq-admin@presby.edu Lines: 45