Method and apparatus for guaranteeing a minimum cell rate (MCR) for asynchronous transfer mode (ATM) traffic queues
First Claim
1. An apparatus for guaranteeing minimum cell rate (MCR) in an asynchronous transfer mode (ATM) device, said apparatus comprising:
- a) a first plurality of queues, at least one for each service category;
b) a scheduler coupled to said queues for dequeuing cells from said queues in order of priority;
c) at least one timer associated with at least one of said queues; and
d) preemption means coupled to said at least one timer and to said scheduler for preempting said scheduler, wherein said preemption means always causes said scheduler to dequeue a cell from said at least one queue associated with said at least one timer whenever said at least one timer expires if a cell from said at least one queue associated with said at least one timer is not dequeued by said scheduler before said timer expires.
4 Assignments
0 Petitions
Accused Products
Abstract
An apparatus for guaranteeing MCR in an ATM device includes at least one queue for each service category, a scheduler for dequeuing cells from the queues, a queue status block for indicating which queues are empty, and an MCR service block. The MCR service block includes a plurality of timers, at least one for each service category. According to the methods of the invention, an MCR value is selected for each queue (or service category) and a timer in the MCR service block is set according to the MCR value. The scheduler dequeues cells in strict priority from non-empty queues as determined by the queue status block. The scheduler is preempted, however, by the MCR service block when a queue fails to be serviced before its associated timer expires. The arrangement of queues and associated timers is subject to alternate embodiments.
20 Citations
16 Claims
-
1. An apparatus for guaranteeing minimum cell rate (MCR) in an asynchronous transfer mode (ATM) device, said apparatus comprising:
-
a) a first plurality of queues, at least one for each service category;
b) a scheduler coupled to said queues for dequeuing cells from said queues in order of priority;
c) at least one timer associated with at least one of said queues; and
d) preemption means coupled to said at least one timer and to said scheduler for preempting said scheduler, wherein said preemption means always causes said scheduler to dequeue a cell from said at least one queue associated with said at least one timer whenever said at least one timer expires if a cell from said at least one queue associated with said at least one timer is not dequeued by said scheduler before said timer expires. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
said at least one timer includes at least one timer for each class of service.
-
-
3. An apparatus according to claim 1, wherein:
said preemption means includes an MCR service register for indicating which queues are to be serviced when said at least one timer expires.
-
4. An apparatus according to claim 1, wherein:
said preemption means includes at least one queue service register for indicating which queues have been serviced.
-
5. An apparatus according to claim 2, wherein:
said preemption means includes a queue service register associated with each timer for indicating which queues have been serviced before the timer expires.
-
6. An apparatus according to claim 2, wherein:
said preemption means includes an MCR service register for indicating which queues are to be serviced when a timer expires.
-
7. An apparatus according to claim 4, wherein:
said preemption means includes an MCR service register for indicating which queues are to be serviced when a timer expires.
-
8. An apparatus according to claim 5, wherein:
said preemption means includes an MCR service register for indicating which queues are to be serviced when a timer expires.
-
9. A method for guaranteeing minimum cell rate (MCR) in an asynchronous transfer mode (ATM) device, said method comprising:
-
a) establishing at least one queue for each service category;
b) dequeuing cells from the queues in order of priority;
c) establishing at least one timer associated with at least one of said queues; and
d) always dequeuing a cell from the at least one queue associated with the at least one timer whenever the at least one timer expires if no cells have been dequeued from the at least one queue associated with the at least one timer before the timer expires. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
said step of establishing at least one timer includes establishing at least one timer for each class of service.
-
-
11. A method according to claim 9, further comprising:
e) establishing an MCR service register for indicating which queues are to be serviced when the at least one timer expires.
-
12. A method according to claim 9, further comprising:
e) establishing at least one queue service register for indicating which queues have been serviced.
-
13. A method according to claim 10, further comprising:
e) establishing a queue service register associated with each timer for indicating which queues have been serviced before the timer expires.
-
14. A method according to claim 10, further comprising:
e) establishing an MCR service register for indicating which queues are to be serviced when a timer expires.
-
15. A method according to claim 11, further comprising:
f) establishing at least one queue service register for indicating which queues have been serviced.
-
16. A method according to claim 13, further comprising:
f) establishing an MCR service register for indicating which queues are to be serviced when a timer expires.
Specification