A general methodology for designing efficient traffic scheduling and shaping algorithms
Dimitrios Stiliadis, A. Varma · 2002
We introduce a general methodology for designing integrated shaping and scheduling algorithms for packet networks that provide fairness, low end-to-end delay, and low burstiness. The methodology is based on integrating a shaping mechanism with a scheduler from the class of rate-proportional servers (RPS) defined by Stiliadis and Varma (see Proceedings of ACM SIGMETRICS '96, p.104-15, 1996). The resulting algorithms provide an end-to-end delay bound identical to that of weighted fair queueing. Their worst-case fairness, in terms of minimizing the worst-case delay to empty the session backlog, is much superior to that of weighted fair queueing, and equal to the best known for any scheduling algorithm. In addition, the algorithms achieve a level of fairness in the distribution of free bandwidth among competing sessions better than that of weighted fair queueing. We show that, under this framework, even an unfair scheduling algorithm belonging to the RPS class, such as VirtualClock, can yield worst-case fairness identical to that obtained with weighted fair queueing. We also develop an integrated shaper-scheduler that provides optimal output burstiness and is attractive for use in both network adapters and in switches that support traffic re-shaping. We describe an efficient implementation of this integrated shaping and scheduling algorithm with log/sub 2/(V) complexity, where V is the number of sessions sharing the outgoing link.