Rate Limiting and Traffic Shaping Flashcards
Classification of traffic sources: Data
- Bursty
- Periodic
- Regular
Classification of traffic sources: Audio
- Continuous
2. Periodic
Classification of traffic sources: Video
- Continuous
- Bursty (due to how video is compressed)
- Periodic
Constant Bit Rate: example
Audio
Variable Bit Rate: example
Video and Data
Leaky Bucket
Traffic arrives in a bucket of size beta and drains from bucket at a rate rho
- Smooths out traffic by passing packets only when there is a token. Does not permit burstiness.
- Discards packets for which no tokens are available (no concept of queue)
- Application: Traffic shaping or traffic policing.
(r, T) Traffic Shaping
- Traffic Divided in to T-bit frames
2. Flow can inject >= r bits into T-bit frams
What happens when flow exceed rate in (r, T) Traffic Shaping?
The excess packets are assigned a lower priority
Policing
When the network (as opposed to the sender) marks packets for lower priority.
**this refers to (r, T) traffic shaping
Type of bucket: shaping bursty traffic
Token Bucket
Token bucket: Rate
rate < B + (rho*T)
T = time interval B = bucket size rho = rate at which token accumulate
Token bucket: characteristics
- Permits burstiness, but bounds it
2. No discard or priority
Leaky bucket: characteristics
- smooths bursty traffic
2. has priority policies
Power Boost: Definition
- Allows users to send at higher rate for a brief period of time
There are 2 types of Power Boost
- Capped
2. Uncapped