- 2074 Asoj · 4 marks
Short note: DLL flow control
Short answer
Flow control prevents a fast sender from overwhelming a slow receiver. Stop-and-wait sends one frame and waits for ACK. Sliding window allows multiple outstanding frames, with Go-Back-N retransmitting all after a loss, and Selective Repeat retransmitting only the lost frame, for higher efficiency.
Write a short note on data link layer flow control mechanisms.
Flow control is the data link layer mechanism that stops a fast sender from overwhelming a slow receiver with frames that its buffers cannot hold. The receiver gives feedback so that the sender sends only what the receiver can accept.
1. Stop-and-wait
The sender sends one frame and waits for the ACK before sending the next.
Sender -- Frame 0 --> Receiver
<-- ACK 0 ---
-- Frame 1 -->
Simple, but poor use of the channel when propagation delay is long. Efficiency = 1/(1 + 2a), where a = propagation time / transmission time.
2. Sliding window
The sender may send up to W frames before an ACK arrives. Frames carry sequence numbers; the receiver acknowledges, and the window slides forward. This keeps the pipe full.
- Go-Back-N: receiver accepts frames only in order; if frame k is lost or damaged, the sender retransmits k and all later frames. Receiver window = 1; sender window ≤ 2ⁿ − 1.
- Selective Repeat: the receiver buffers out-of-order frames, and only the damaged frame is retransmitted. Sender and receiver window ≤ 2ⁿ⁻¹.
| Point | Stop-and-wait | Go-Back-N | Selective Repeat |
|---|---|---|---|
| Frames in flight | 1 | up to 2ⁿ − 1 | up to 2ⁿ⁻¹ |
| Retransmission | One frame | Error frame and all after | Only the error frame |
| Receiver buffer | 1 | 1 | Window size |
| Efficiency | Low | Medium | High |
Flow control is combined with error control (ARQ) in practice, and acknowledgements can be piggybacked on data frames.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Data link layer framing · Computer Networks and Security, chapter 3 · asked 3×
- Functions of data link layer · Computer Networks and Security, chapter 3 · asked 3×
- TCP flow control · Computer Networks and Security, chapter 5
- Media Access Control and significance · Computer Networks and Security, chapter 3
- Flow control mechanisms in data communication · Telecommunications, chapter 8
- Flow control in data communication network · Telecommunications, chapter 8
- Concurrency control goals and mechanisms · Distributed System, chapter 8
- Basic data transfer mechanisms in USB · Instrumentation II, chapter 3