Flow Control Flashcards

1
Q

Some packets might be _____ or _______ during transmission

A

Lost, Corrupted

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Combination of two mechanisms for reliable transmission

A

Acknowledgements and timeouts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Acknowledgement(ACK)

A

A small control frame that a protocol sends back to its peer saying that it has received an earlier frame

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Timeout

A

The action of awaiting for a reasonable amount of time before retransmitting original frame(in case no ACK is received)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Two primary methods of flow control

A

Stop and Wait
Sliding window

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Stop and wait ARQ consists of three parts

A

Stop and Wait
Timeout Timer
Sequence number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Main shortcoming of the stop and wait algorithm

A

It allows the sender to have only one outstanding frame on the link at a time
The sender should wait till it gets an ACK of previous frame before it sends the next frame
As a result, it wastes a substantial amount of network bandwidth

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

In sliding window flow control name three variables that sender maintains.

A

Sender Window Size[SWS] - Upper bound on the number of unacknowledged frames that the sender hopes to transmit
LAR - sequence number of the last acknowledgment received.
LFS- Sequence number of the last frame sent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

In sliding window flow control name three variables that receiver maintains.

A

Receiver Window Size[SWS] - Upper bound on the number of out-of-order frames that the receiver is willing to accept.
LAF - sequence number of the largest acceptable frame
LFR - Sequence number of the last frame received.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

When an acknowledgment arrives, the sender moves __________ to the right,
thereby allowing the sender to transmit another frame

A

LAR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Sender maintains the following invariant(Inequality)

A

LFS−LAR ≤ SWS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly