🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.dcom.modems.cable
Article #429

Re: cable guy "vapor"-izes DSL 3X cable TV troll!

#429
From: James Knott
Date: Sat, 03 Feb 2001 20:20
77 lines
5726 bytes
"Randy S." wrote:
> 
> > > You have to look at typical data streams.  The MAX ratio of data packet to Ack is 23:1,
> > > because an Ack is 64 bytes and a max size Ethernet Packet is 1500 bytes, and of course
> > > you'll average significantly less than that..  It doesn't matter anyways, because the TCP
> > > receive window is set to send Acks based on the number of bytes received, not the number
> > > of packets.
> >
> > Not true, Randy.  You will generally see TCP send 1 ACK for every 2
> > packets received (this is a general recommendation in the RFC that most
> > stacks follow).  If the
> > incoming stream is REAL fast there may be less, but for ADSL I'd think
> > it would always be 1:2.
> 
> Ok, I've always thought what you're saying was correct, but the reference books I have been
> looking at recently seem to say differently.  From the Cisco Internetworking Technologies
> Handbook, Second edition, pg 447:
> 
> "In TCP the receiver specifies the current window size in every packet.  Because TCP provides a
> byte-stream connection, window sizes are expressed in bytes.  This means that window is the
> number of data bytes that the sender is allowed to send before waiting for an acknowledgement.
> Initial window sizes are indicated at connection setup but might vary throughout the data
> transfer to provide flow control.  A window size of zero, for instance, means "Send no data."
> 
> In a TCP sliding-window operation, for example, the sender might have a sequence of bytes to
> send (numbered 1 to 10) to a receiver who has a window size of five.  The sender then would
> place a window around the first five bytes and transmit them together.  It would then wait for
> an acknowledgment.  The receiver would respond with an ACK=6, indicating that it has received
> bytes 1 to 5 and is expecting byte 6 next.

That's the first time I've seen it described that way.  That
would eliminate one of the benefits of the sliding window.
i.e. retransmitting only from the first unack'd packet. 
According to this description, you'd have to send the entire
block of data again

  In the same packet, the receiver would indicate
> that its window size is 5.  The sender then would move the sliding window five bytes to the
> right and transmit bytes 6 to 10.  The receiver would respond with an ACK=11, indicating that
> it is expecting sequenced byte 11 next.  In this packet, the receiver might indicate that its
> window size is 0 (because, for example, its internal buffers are full).  At this point, the
> sender cannot send any more bytes until the receiver sends another packet with a window size
> greater than 0."
> 
> --
> 
> Nowhere can I find a reference to a situation where ACKs are tied to the number of packets.  I
> could easily be missing something here, or it could be that some other rule applies that is not
> directly tied to TCP.

Here's what it says in "Internetworking with TCP/IP vol 1,
Douglas Commer (1991). pg 176.

"Technically, the number of packets that can be
unacknowledged at any given time is constrained by the
window size and is limited to a small fixed number.  For
example, in a sliding widnow protocol with a window size 8,
the sender is permitted to transmit 8 packets before it
receives an acknowledgement.

As Figure 12.3 shows, once the sender receivesan
acknowledgement for the first packet inside the window, it
"slides" the window along and sends the next packet.  The
window continues to slide as long as acknowledgements are
received."

Later in the chapter he explains that TCP/IP uses sequence
numbers, not packet numbers in the sliding window.  Until
your message, I had never (to my knowledge) read about
waiting for the entire window to be sent before acking.


-- 
Replies sent via e-mail to this address will be promptly
ignored.
To reply, replace everything to the left of "@" with
"james.knott".
Technical Details
Message-ID: <3A7C6810.E737A367@home.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!news3.rdc1.on.home.com.POSTED!not-for-mail
References: <3A648E27.6A7029EF@erols.com> <20010116192016044.AAA95@adsl-209-204-185-87.sonic.net@john.navasgroup.com> <3A64B680.2A79F24D@erols.com> <3A76B6CA.73B36B26@mynetwatchman.com> <4OGd6.100$mW6.5202@typhoon.sonic.net> <3A776B57.C495242C@mynetwatchman.com> <R3Ld6.144$mW6.6010@typhoon.sonic.net> <3A782325.2538A5E2@mynetwatchman.com> <diEe6.142$Tf1.5347@typhoon.sonic.net> <3A7B357B.3C2C1C79@ufl.edu> <S4Ke6.163$Tf1.6485@typhoon.sonic.net> <3A7B76D4.AA1FFC9F@ufl.edu> <3A7C0C9E.446C8023@home.com> <3A7C1319.D83BA77B@ufl.edu> <3A7C171F.215BC33C@mynetwatchman.com> <3A7C39C0.AC977793@ufl.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1122a6,2145df83169cbbc6
X-Google-Attributes: gid1122a6,public
X-Google-Thread: 113850,916316de6f72ceb
X-Google-Attributes: gid113850,public
X-Google-ArrivalTime: 2001-02-03 12:20:46 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!news3.rdc1.on.home.com.POSTED!not-for-mail
Message-ID: <3A7C6810.E737A367@home.com>
From: James Knott <the.lights.are.on.but.no.one.is@home.com>
X-Mailer: Mozilla 4.61 [en] (OS/2; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.dcom.modems.cable,bellsouth.net.support.adsl
Subject: Re: cable guy "vapor"-izes DSL 3X cable TV troll!
References: <3A648E27.6A7029EF@erols.com> <20010116192016044.AAA95@adsl-209-204-185-87.sonic.net@john.navasgroup.com> <3A64B680.2A79F24D@erols.com> <3A76B6CA.73B36B26@mynetwatchman.com> <4OGd6.100$mW6.5202@typhoon.sonic.net> <3A776B57.C495242C@mynetwatchman.com> <R3Ld6.144$mW6.6010@typhoon.sonic.net> <3A782325.2538A5E2@mynetwatchman.com> <diEe6.142$Tf1.5347@typhoon.sonic.net> <3A7B357B.3C2C1C79@ufl.edu> <S4Ke6.163$Tf1.6485@typhoon.sonic.net> <3A7B76D4.AA1FFC9F@ufl.edu> <3A7C0C9E.446C8023@home.com> <3A7C1319.D83BA77B@ufl.edu> <3A7C171F.215BC33C@mynetwatchman.com> <3A7C39C0.AC977793@ufl.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 77
Date: Sat, 03 Feb 2001 20:20:44 GMT
NNTP-Posting-Host: 24.42.126.147
X-Complaints-To: abuse@home.net
X-Trace: news3.rdc1.on.home.com 981231644 24.42.126.147 (Sat, 03 Feb 2001 12:20:44 PST)
NNTP-Posting-Date: Sat, 03 Feb 2001 12:20:44 PST
Organization: Excite@Home - The Leader in Broadband http://home.com/faster