Flow Flashcards

1
Q

Open Loop

A

Source describes its desired flow rate, network admits call, source sends at this rate.

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

Closed Loop

A

Source monitors available service rate, sends at this rate, due to speed of light delay, errors occur

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

Hybrid Loop

A

Source asks for some minimum rate, but can send more if available

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

Traffic descriptors

A

Envelope constraining worst case behaviour.

Has three uses - basis for traffic contract, input to regulator, input to policer.

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

Requirements for Traffic Descriptors

A

Representativity - adequately describes flow so too little or too much resource is not conserved.

Verifiability - verify that descriptor holds.

Preservability - doesn’t change inside the network

Usability - easy to describe and use for admission control.

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

Linear Bounded Arrival Process

A

Source bounds number of bits sent in any time interval by a linear function of time.The number of bits transmitted in any active interval of length t is less than rt + s. r is long term rate and s is the burst limit. Popular in practice and academia as ~representative, verifiable, ~preservable and ~usable. Problems with multiple time scale traffic as large bust messes up things.

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

Open Loop vs. Closed Loop

A

Open loop describes traffic, network admits/reserves resources and offers regulation/policing.

In contrast closed loop is really, really shit like these notes. It can’t describe traffic and network doesn’t support reservation so must monitor available bandwidth and adapt to it.

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

Flow Control Window

A

Determined by largest number of unacked packet.

If endpoint has sent all packets in window, it must wait => rate slows down.

Window therefore provides flow control and error control.

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

Windows vs Rate

A

In adaptive rate, directly control rate. Needs a timer per connection and no need for fine-grained timer and self-limiting.

Plusses for Rate: +better control, +no coupling of flow control and error control

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

What should window size be?

A

Bottleneck service rate along path = b packets/sec

Round Trip Time = R secs

Let flow control window = w packets

Sending rate is w packets in R seconds = w/R

To use bottleneck w?R > b => w > bR

so BR is bandwidth delay product or optimal window size.

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

DECbit flow control

A

Every packet has a bit in header, intermediate routers set b if queue has built up => source window is too large, sink copies bit to ack, if set then source reduces window size, oscillates around optimal size in steady state. If mean queue length > 1.0, set bits on sources whose demand exceeds fair share and if exceeds 2.0 set bits on everyone.

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

TCP Flow Control

A

Implicit, dynamic window, end-to-end. Window starts at 1, increase exponentially for a while then linearly.

Double every RTT in exponential phase but increase by one every RTT in linear stage.

During exp, every ack results in window increase by 1.

During linear phase, window increases by 1 when # acks = window size.

Exponential phase is called slow start.

Linear phase is called congestion avoidance.

On loss current window size is store in ssthresh, switch from exp to lin when wind size reach thresh.

Tahoe - in both cases drop window to one

Reno - on timeout drop window to 1 and on fast retransmit drop window to falf previous size

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

TCP Vegas

A

Expected Throughput = transmission_window_size/propagation_delay

Numerator: known

Denominator: smallest RTT

Actual throughput known

Algorithm:

send special packet

on ack, compute expected and actual throughput

(expected-acutal) * RTT is # of packets in bottleneck buffer

adjust sending rate if this is too large

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