Programmable Packet Scheduling
Authors:
- Anurag AgrawalAAAnurag Agrawal
Preprint
Abstract
Switches today provide a small set of scheduling algorithms. While we can tweak scheduling parameters, we cannot modify algorithmic logic, or add a completely new algorithm, after the switch has been designed. This paper presents a design for a programmable packet scheduler, which allows scheduling algorithms---potentially algorithms that are unknown today---to be programmed into a switch without requiring hardware redesign. Our design builds on the observation that scheduling algorithms make two decisions: in what order to schedule packets and when to schedule them. Further, in many scheduling algorithms these decisions can be made when packets are enqueued. We leverage this observation to build a programmable scheduler using a single abstraction: the push-in first-out queue (PIFO), a priority queue that maintains the scheduling order and time for such algorithms. We show that a programmable scheduler using PIFOs lets us program a wide variety of scheduling algorithms. We present a detailed hardware design for this scheduler for a 64-port 10 Gbit/s shared-memory switch with <4% chip area overhead on a 16-nm standard-cell library. Our design lets us program many sophisticated algorithms, such as a 5-level hierarchical scheduler with programmable scheduling algorithms at each level.Keywords
All Related Versions
This publication has 9 references indexed in Scilit:
- Pipelined Heap (Priority Queue) Management for Advanced Scheduling in High-Speed NetworksIEEE/ACM Transactions on Networking, 2007
- SCED: a generalized scheduling policy for guaranteeing quality-of-serviceIEEE/ACM Transactions on Networking, 1999
- Dynamic queue length thresholds for shared-memory packet switchesIEEE/ACM Transactions on Networking, 1998
- Start-time fair queueing: a scheduling algorithm for integrated services packet switching networksIEEE/ACM Transactions on Networking, 1997
- Link-sharing and resource management models for packet networksIEEE/ACM Transactions on Networking, 1995
- Rate-Controlled Service DisciplinesJournal of High Speed Networks, 1994
- Random early detection gateways for congestion avoidanceIEEE/ACM Transactions on Networking, 1993
- A new algorithm for scheduling periodic, real-time tasksAlgorithmica, 1989
- The Queue M/G/1 with the Shortest Remaining Processing Time DisciplineOperations Research, 1966