Lesson 7 - Rate Limiting & Traffic Shaping Mike Flashcards

1
Q

What classification rate is Data?

A

Regular, periodic & bursty

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

What classification rate is Audio?

A

Continuous and periodic

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

What classification rate is Video?

A

Continuous, periodic & bursty

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

What two classes are there for traffic?

A
  • Constant Bit Rate (CBR)

* Variable Bit Rate (VBR)

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

What is the difference between CBR and VBR and what is each traffic type good for?

A

Constant Bit Rate (CBR) is…
shaped according to PEAK rate
good for audio

Variable Bit Rate (VBR) is…
shaped according to avg rate + peak rate (peak rate can be higher at times)
good for data transfers

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

What is the difference between a Token Bucket and a Leaky Bucket?

A

Token buckets permit burstiness but are difficult to police

Leaky buckets smooth burstiness and implement priority policing

  • Both easy to implement, but Token bucket more flexible because of additional parameters to configure burst size
  • Token buckets allow for long bursts that are difficult to police and may interfere with other high priority traffic
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Policing in a network?

A

If flow exceeds the rate then the network can decide to assign certain packets a lower priority

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

What is a Composite Shaper?

A

A Token/Leaky bucket combo that uses two timers and allows for policing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
  • In a Token Bucket Shaper, if you have…
    • T = 1 second
    • β = 100 KB
    • ϱ = 10 packets / second
    • packet size = 1 KB
    • 1 Byte = 8 bits
    • ….what is the Max Rate? Give answer in Kb per second
A
  • rate is β + T * ϱ
  • so…
  • rate = 100 + 1 * 10 ==> 110
  • 110 KB / second
  • (110 KB) * (8 kilobits/1KB) = 880 kilobits per second
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is Power Boost?

A
  • It allows for the subscriber to send at a faster rate for a brief period of time
  • spare capacity is for users who do not put a sustained load on the network
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the difference between Capped and Uncapped Power Boost?

A

Capped Powerboost = the rate can’t go beyond a fixed point

Uncapped Powerboost = limited only by the bucket size because it can’t send more packets than it has (otherwise it is limitless)

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

What is the formula for calculating power boost?

A

d = (beta / r - Rsus)

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

If the sustained rate is 10Mbps/but they like to burst at 15Mbps and the bucket size is 1 MByte (8 Mbits) then how long can the sender send at rate r?

A

1Mbyte / (15Mbps - 10Mbps)

Which is…

8Mbits / 5Mbps = 1.6Mbits

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

How can Powerboost effect latency?

A
  • Increases latency
  • It can cause buffers to fill up in the system -> just cause we can send faster doesn’t mean the receiver can process it faster
  • Has high overhead
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is Passive Measurement?

A

A collection of packets, flow stats and other metrics already sent in the network

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

What is Active Measurement?

A

Injecting additional traffic into the network to measure various characteristics (ping, traceroute, etc)

17
Q

What are the 3 main types of Passive Measurement?

A
  • Simple Network Management Protocol (SNMP)
  • Packet Monitoring
  • Flow Monitoring
18
Q

What is the Simple Network Management Protocol (SNMP)?

A
  • devices have a Management Information Base (MIB) that stores the info related to that device that can be queried
  • you can query the MIB for rate measurements
  • COARSE
19
Q

What is Packet Monitoring?

A
  • Wireshark, tcpdump, ethereal
  • sees packet contents (or at least headers)
  • provides timing info (at a packet level), Packet Headers & the # of Bytes in each flow
20
Q

What is Flow Monitoring?

A
  • Monitors in the network that record stats on a per flow basis
  • contains info like next-hop IP, src/dst AS & prefix
  • less overhead than Packet Monitoring
  • CAN’T PROVIDE HEADERS OR PACKET INFO, just the # of bytes per flow
21
Q

What are two reasons for measuring networks?

A

Billing and security