7 Rate Limiting and Traffic Shaping Flashcards

1
Q

What is motivation for traffic classification and shaping

A
  • resource control

- ensure flows do not exceed rate

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

4 Traffic Shaping approaches

A
  • Leaky bucket
  • (r,T) traffic shaper
  • Token bucket
  • Composite
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Classification of Sources

A

Data: bursty, periodic, regular
Audio: continuous, periodic
Video: continuous, bursty (compression), periodic

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

What is CBR

A

constant-bit-rate

shaped according to peak (audio)

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

What is VBR

A

variable-bit-rate

shaped according to average and peak (video, data)

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

Leaky bucket

A

Isochronous - 1986
one bucket per flow
size of bucket (beta)
drain rate / regulator (ro)

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

(r,T) Traffic shaping

A

Traffic divided into T-bit frames
Flow can inject <= r bits in any T-bit frame
conforming flows are called (r,T) smooth

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

Token bucket

A

beta is token bucket size
ro is the rate at which tokens are placed in bucket
bucket is full, b tokens removed, b packets sent
empty, wait until b tokens arrive

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

What is power boost

A
June 2006 (Comcast)
allows subscribers to send at a higher rate for a brief time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is buffer bloat

A

delay because data in buffer

modem has buffer, ISP has buffers

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

Two types of network measurement

A

passive and active

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

What is passive measurement

A

collection of packets, flow stats that are already on the network

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

What is active measurement

A

inject additional traffic to measure various characteristics (ping, traceroute)

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

Why do network measurement

A
  • Billing

- Security

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

What is CIR

A

committed info rate (95th percentile) - throughput measured every 5 mins

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

How to measure passively

A
  • SNMP
  • Packet monitoring
  • Flow monitoring
17
Q

What is SNMP

A

Simple Network Management Protocol

- Management + Information Base (MIB)

18
Q

What is flow monitoring

A
  • monitor records statistics per flow
  • next-hop IP
  • src/dst AS + prefix
19
Q

Trade-offs for passive network measurement

A
  • SNMP: ubiquitous but coarse
  • Packet monitoring: lots of details but a lot of overhead
  • Flow monitoring: less overhead but more coarse