Rate Limiting and Traffic Shaping Flashcards

1
Q

Classification of traffic sources: Data

A
  1. Bursty
  2. Periodic
  3. Regular
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Classification of traffic sources: Audio

A
  1. Continuous

2. Periodic

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

Classification of traffic sources: Video

A
  1. Continuous
  2. Bursty (due to how video is compressed)
  3. Periodic
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Constant Bit Rate: example

A

Audio

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

Variable Bit Rate: example

A

Video and Data

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

Leaky Bucket

A

Traffic arrives in a bucket of size beta and drains from bucket at a rate rho

  1. Smooths out traffic by passing packets only when there is a token. Does not permit burstiness.
  2. Discards packets for which no tokens are available (no concept of queue)
  3. Application: Traffic shaping or traffic policing.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

(r, T) Traffic Shaping

A
  1. Traffic Divided in to T-bit frames

2. Flow can inject >= r bits into T-bit frams

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

What happens when flow exceed rate in (r, T) Traffic Shaping?

A

The excess packets are assigned a lower priority

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

Policing

A

When the network (as opposed to the sender) marks packets for lower priority.

**this refers to (r, T) traffic shaping

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

Type of bucket: shaping bursty traffic

A

Token Bucket

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

Token bucket: Rate

A

rate < B + (rho*T)

T = time interval
B = bucket size
rho = rate at which token accumulate
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Token bucket: characteristics

A
  1. Permits burstiness, but bounds it

2. No discard or priority

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

Leaky bucket: characteristics

A
  1. smooths bursty traffic

2. has priority policies

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

Power Boost: Definition

A
  1. Allows users to send at higher rate for a brief period of time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

There are 2 types of Power Boost

A
  1. Capped

2. Uncapped

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

Uncapped Power Boost (explanation)

A

The original max rate is rho.

The higher rate is rho(c).

The area of the boosted segment is beta. This is the size of the token bucket.

17
Q

Buffer Bloat: explained

A
  1. Even if a sender can burst at high speed, the buffer can only be drained at a rate Rsus.
18
Q

Buffer bloat delay calculation

A

delay = data in buffer / Rsus

19
Q

Buffer Bloat: solutions

A
  1. Smaller buffers

2. Traffic shaping (of your home router)

20
Q

Passive measurement: definition

A

Collect traffic that is already being sent on the network

a. packets
b. flow statistics
c. application logs

21
Q

Active measurement: definition

A

inject extra traffic into the network

a. ping
b. traceroute

22
Q

Passive Measurement: SNMP

A

Simple Network Management Protocol

  1. Poll the Management information base (MIB) for particular information
23
Q

Passive Measurement: packet monitoring

A

Wireshark (basically)

24
Q

Passive Measurement: flow monitoring

A
  1. A flow is basically all packets/traffic from one particular source
  2. Less precise than packet monitoring (since you aren’t capturing all packets)