Lesson 7 - Rate Limiting & Traffic Shaping Mike Flashcards
What classification rate is Data?
Regular, periodic & bursty
What classification rate is Audio?
Continuous and periodic
What classification rate is Video?
Continuous, periodic & bursty
What two classes are there for traffic?
- Constant Bit Rate (CBR)
* Variable Bit Rate (VBR)
What is the difference between CBR and VBR and what is each traffic type good for?
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
What is the difference between a Token Bucket and a Leaky Bucket?
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
What is Policing in a network?
If flow exceeds the rate then the network can decide to assign certain packets a lower priority
What is a Composite Shaper?
A Token/Leaky bucket combo that uses two timers and allows for policing
- 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
- rate is β + T * ϱ
- so…
- rate = 100 + 1 * 10 ==> 110
- 110 KB / second
- (110 KB) * (8 kilobits/1KB) = 880 kilobits per second
What is Power Boost?
- 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
What is the difference between Capped and Uncapped Power Boost?
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)
What is the formula for calculating power boost?
d = (beta / r - Rsus)
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?
1Mbyte / (15Mbps - 10Mbps)
Which is…
8Mbits / 5Mbps = 1.6Mbits
How can Powerboost effect latency?
- 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
What is Passive Measurement?
A collection of packets, flow stats and other metrics already sent in the network