Towards Programmable Packet Scheduling
Authors:
Open Access
- 16 November 2015
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-7
Abstract
Packet scheduling in switches is not programmable; operators only choose among a handful of scheduling algorithms implemented by the manufacturer. In contrast, other switch functions such as packet parsing and header processing are becoming programmable [10, 3, 6]. This paper presents a programmable packet scheduler that allows operators to program a variety of scheduling algorithms. Our design exploits the insight that any scheduling algorithm can be deconstructed into two decisions: in what order packets depart and when they depart. The algorithms only differ in how the order and departure times are computed. We show how these decisions map to two well-understood abstractions: priority and calendar queues [11]. Priority and calendar queues can then be composed together to realize a broad range of sophisticated scheduling algorithms. Further, both abstractions can be realized using the same mechanism: a programmable push-in first-out queue (PIFO) that allows a packet to push itself into an arbitrary location in a queue by programming a packet field. A PIFO is feasible in hardware. Preliminary synthesis indicates that an unoptimized hardware design meets timing at 1 GHz on a 16 nm technology node and occupies only 5% additional die area relative to existing merchant-silicon switching chips.Keywords
All Related Versions
This publication has 23 references indexed in Scilit:
- FairCloud2012
- The case for RAMCloudCommunications of the ACM, 2011
- Rate-controlled static-priority queueing2002
- SCED: a generalized scheduling policy for guaranteeing quality-of-serviceIEEE/ACM Transactions on Networking, 1999
- Hierarchical packet fair queueing algorithmsACM SIGCOMM Computer Communication Review, 1996
- Efficient fair queuing using deficit round-robinIEEE/ACM Transactions on Networking, 1996
- A stop-and-go queueing framework for congestion management1990
- A new algorithm for scheduling periodic, real-time tasksAlgorithmica, 1989
- Calendar queues: a fast 0(1) priority queue implementation for the simulation event set problemCommunications of the ACM, 1988
- The Queue M/G/1 with the Shortest Remaining Processing Time DisciplineOperations Research, 1966