8 - Reliable Transfer Flashcards

1
Q

WHat are the TCP sender events?

A

Data received
Timeout
ACK Received

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

What is the process for “data received” TCP event?

A

Create segment with seq #
seq # is a byte-stream number of the first data byte in the segment

start the timer if not already

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

What happens with TCP timeout event?

A

retransmit segment

restart timer

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

TCP ACK received event?

A

update what is known to be ACK’d

start timer if there are outstanding segments

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

What is MSS?

A

MAximum Segment Size

Max amount of app layer data in segment
doesn’t include headers

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

What is the acknowledgement number?

A

the sequence number of the next byte receiver is expecting

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

Duplicate ACK

A

An ACK that re acknowledges a segment for which the sender has already received an ACK

When TCP receiver receives a segment with seq num larger than the next, a gap is detected so reACK the last inorder byte

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

End to End Congestion Control

A
  • no explicit feedback from network layer
  • inferred from loss
  • TCP approach
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Network Assisted Congestion Control

A
  • network layer provides feedback
  • single bit indicating congestion
  • router to sender feedback
  • router marks pkt field flowing to indicate congesion, receiver notifies sender and takes at least a full RTT
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does TCP’s second window do? (cwnd)

A
  • no loss: expands
  • loss: contracts
  • measured in terms of segments
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Describe TCP slow start

A

connection begins: increase rate exp until first loss:

  • cwnd = 1 MSS
  • double cwnd every RTT
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Congestion Avoidance

A

Gentle Increase, probing for more bandwidth

Every RTT add one MSS

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

Algorithm for SS/CA

A
  • Start in Slow Start
  • Switch to Congestion Avoidance when a threshold is reached
  • On timeout go back to start
  • on 3 dup ACKs switch to CA
  • set ssthresh to Half congwin
How well did you know this?
1
Not at all
2
3
4
5
Perfectly