Article View: news.software.nntp
Article #53600Re: rate-limiting peers
From: Eric A. Hall
Date: Wed, 01 Aug 2001 23:32
Date: Wed, 01 Aug 2001 23:32
37 lines
2889 bytes
2889 bytes
> Ugh, don't strech the ACKs. You just run the risk that the sender > will waste bandwidth re-transmitting and force them to hold the old > packets in their buffers wasting memory. End systems tend to stabilize around RTT pretty quickly. The benefit of this particular hack is that it makes command-response activity take longer (as long as you want), but without affecting throughput during bulk transfers. EG, I can have a secondary on a long pipe so that commands take longer to ACK, but when there is a bulk transfer (such as a backlog to be cleared) then there is still a lot of pipe that can be filled when necessary. This is the opposite of just shrinking rwin, where command-response still goes fast but bandwidth is limited when you really need it. Stretching ACKs is a pretty neat hack. It lets you turn every connection into a satellite link (not common but in this particular scenario it may be very useful). Not at all harmful either. It probably wouldn't work exactly right without a participating control application also slowing down the response rates. > This stuff would normally just be done at the application level > and at that level, all you have to do is stop reading. The TCP/IP > stack takes care of the rest. It is a flow-controled protocol. Yeah, but I am looking for ways to control it on demand. I can tweak rwin and ACK delay from an external box. Turning dials, flipping switches, makes for a pretty responsive environment. It's just an option I'm thinking about at the moment. -- Eric A. Hall http://www.ehsco.com/ Internet Core Protocols http://www.oreilly.com/catalog/coreprot/
Technical Details
Message-ID:
<3B689173.1C0D21D9@ehsco.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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!cyclone.bc.net!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.tn.home.com.POSTED!not-for-mailReferences:
<3B6735C3.FF59F476@ehsco.com> <20010801012336.182$ie@newsreader.com> <3B68204E.47CDD90A@ehsco.com> <20010801191648.707$F3@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <3B689173.1C0D21D9@ehsco.com> Subject: Re: rate-limiting peers Date: Wed, 01 Aug 2001 23:32:07 GMT From: "Eric A. Hall" <ehall@ehsco.com> References: <3B6735C3.FF59F476@ehsco.com> <20010801012336.182$ie@newsreader.com> <3B68204E.47CDD90A@ehsco.com> <20010801191648.707$F3@newsreader.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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!cyclone.bc.net!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.tn.home.com.POSTED!not-for-mail Organization: EHS Company X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: news.software.nntp Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 36 NNTP-Posting-Host: 24.252.219.84 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.tn.home.com 996708727 24.252.219.84 (Wed, 01 Aug 2001 16:32:07 PDT) NNTP-Posting-Date: Wed, 01 Aug 2001 16:32:07 PDT