TCP performance Flashcards

1
Q

diff between flow and congestion control?

A

Flow control: do not overload the receiver. –Congestion control: do not overload the network.

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

why is tcp no longer as good?

A

it was designed to work on a low speed network relative to today, performance is impacted by improved speeds

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

how do we prevent wrapped sequence numbers in tcp?

A

PAWS
protection against wrapped sequence nums

uses tcp extension header with timestamps, compares timestamps as well as sequence number

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

how can single-packet trans. be sped up?

A

pipelining - tx continues sending data before the first ack

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

what is the bandwidtch delay product?

A

capacity of a “pipe” - the path between tx and rx

bdp - data-rate x RTT

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

what is end-to-end flow control?

A

Receiver may wish to control transmission from sender, e.g. due to load at receiver • End-to-end flow control: –Receiver signals sender to control sending rate.

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

how does bdp relate to tcp rwnd?

A

rwnd size dictactes the utilisation of the pipe. if rwnd > bdp then 100% util,

otherwise its a fraction

e.g. Example: 1Gbps Ethernet, TRTT = 1ms: – BDP: 109 ´0.001 = 125,000 bytes. – 65,536 / 125,000 = ~52% utilisation. • Example: 1Gbps, TRTT = 200ms: – BDP: 109 ´0.2 = 25MB. – 65,536 / 25MB = ~0.003% utilisation.

so you wanna increase your rwnd using a window scale option, recommeneded that this is used with paws

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

what is congestion collapse?

A

Congestive collapse is the condition in which congestion prevents or limits useful communication. Congestion collapse generally occurs at choke points in the network, where incoming traffic exceeds outgoing bandwidth

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

what causes congestion? what are the effects of congestion?

A

Congestion effects: – Higher end-to-end delay. – Lost packets. – Network instability, – Loss of service,

• Causes of congestion: – Buffer overflow in routers. – Unpredictable traffic patterns. – Route changes. – Time-of-day traffic. – etc…

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

how does tcp reno do congestion control?

A

slow start (exp) into sawtooth (linear)

restarts at N/2 and increases linearly per RTT

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

what is jfi? flaw?

A

Jain’s Fairness Index (JFI): – Widely used. – A “power” measure.
JFI assumes that resources can be consumed equally by systems/flows being measured

Different TCP variants behave differently: –unequal shares of available resources

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