Quick Review of Sliding Window (Go-Back-N) : CS 681 Tutorial
Quick Review of Sliding Window (Go-Back-N) : CS 681 Tutorial
CS 681 Tutorial
Flow Control
Ensuring the sending entity does not overwhelm the receiving entity
Transmission time
Propagation time
Source transmits frame Destination receives frame and replies with acknowledgement Source waits for ACK before sending next frame Destination can stop flow by not send ACK Works well for a few large frames
RTT
first packet bit arrives last packet bit arrives, send ACK
sender
L/ R RTT + L / R
.008
30.008
Pipelined protocols
Pipelining: sender allows multiple, in-flight, yet-to-beacknowledged pkts
RTT
first packet bit arrives last packet bit arrives, send ACK last bit of 2nd packet arrives, send ACK last bit of 3rd packet arrives, send ACK
= sender
3* L/ R RTT + L / R
.024
30.008
0.0008 microsecon ds
Allow multiple frames to be in transit Receiver has buffer W long Transmitter can send up to W frames without ACK Each frame is numbered ACK includes number of next frame expected Sequence number bounded by size of field (k)
11.7
11.8
11.9
11.10
Note:
In Go-Back-N ARQ, the size of the sender window must be less than 2m; the size of the receiver window is always 1.
GBN in action