QoS - Token bucket question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 06:51 AM - edited 02-20-2020 10:11 PM
"If the actual debt is greater than the extended limit, all packets will
be dropped until the actual debt is reduced through accumulation of
tokens in the token bucket."
(from "Policing and Shaping Overview")
Does it mean, that the next tokens (number equal to actual debt) are
discarded (not put in the bucket) to reduce the amount of "actual debt" ?
Another point I wonder whether the token bucket is replenished at regular intervals or replenished continuously ? (for example if average rate is 20 bits/sec, then bucket is replenished 10 bits after 0.5 sec or only replenished by 1 sec intervals by 20 bits?)
Thanks in advance.
Murat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2003 01:11 AM
The debt is measured in tokens, so the next tokens will be added to the bucket (reducing the debt).
Don't confuse tokens and packets.
I *believe* the token bucket is refreshed many times per second.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2003 06:48 AM
Dear Friends
1. When total Debt exceeds the limits of Extended Bucket, packets gets dropped and once packets gets dropped, the value of Compounded Debt gets RESET.
2. Yes, Token replenishment is a continuous process and this is done at the rate defined as CIR.
I trust this brings clarity.
Shailendra
