Reliable Data Transfer Protocols: RDT 2.2, 3.0, GBN, and Pipelining

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/19

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

20 Terms

1
New cards

What is RDT 2.2?

A stop-and-wait protocol that works over a channel with bit errors and requires only ACKs (not NAKs).

2
New cards

What additional requirements arise when a channel is lossy?

The protocol must detect packet loss and recover from it.

3
New cards

What techniques can be used to recover from packet loss?

Checksum, sequence numbers, ACK packets, and retransmissions.

4
New cards

How does the sender determine when to declare a packet lost?

By waiting for a specified period of time, known as a timeout.

5
New cards

What factors should be considered when setting a timeout period?

At least the round-trip time (RTT) including queuing and processing delays.

6
New cards

What is RDT 3.0?

An alternating-bit protocol where the sender starts a timer when sending a packet.

7
New cards

What happens in RDT 3.0 when no packets or ACKs are lost?

It behaves similarly to RDT 2.2: send packet, wait for ACK, repeat.

8
New cards

What occurs when a data packet is lost in RDT 3.0?

The receiver never sends an ACK, prompting the sender to resend the lost packet after a timeout.

9
New cards

What happens if an ACK packet is lost in RDT 3.0?

The sender resends the last packet after a timeout, and the receiver uses sequence numbers to discard duplicates.

10
New cards

What is a premature timeout in RDT 3.0?

When a timeout occurs but the data packet is eventually delivered, resulting in duplicate packets and ACKs.

11
New cards

What is the issue with the stop-and-wait protocol?

It wastes bandwidth by leaving the channel idle while waiting for an ACK.

12
New cards

What is pipelining in reliable data transfer?

Sending multiple packets without waiting for an ACK before sending another.

13
New cards

What is the window size in pipelined reliable data transfer?

The number of packets that can be sent before needing an ACK.

14
New cards

What is the Go-Back-N (GBN) protocol?

A protocol where the sender can transmit up to N packets without waiting for an ACK.

15
New cards

How does the GBN sender respond to an ACK receipt?

It uses cumulative acknowledgments; an ACK for packet n implies packets 0 through n have been received.

16
New cards

What happens when a timeout occurs in GBN?

All unacknowledged packets in the window are resent.

17
New cards

What does the GBN receiver do with a correct packet?

It passes the packet's data to the upper layer and sends an ACK for that packet.

18
New cards

What does the GBN receiver do with an incorrect or out-of-order packet?

It discards the packet and sends an ACK for the last correctly received packet.

19
New cards

What is a performance issue with GBN?

Large window sizes can lead to congestion due to many packets being retransmitted on a timeout.

20
New cards

What is the next topic to be discussed after GBN?

Another approach called selective repeat (SR) for pipelined reliable data transfer.