Multi-Resource Fair Queueing for Packet Processing

作者:Ghodsi Ali*; Sekar Vyas; Zaharia Matei; Stoica Ion
来源:Computer Communication Review, 2012, 42(4): 1-12.
DOI:10.1145/2377677.2377679

摘要

Middleboxes are ubiquitous in today%26apos;s networks and perform a variety of important functions, including IDS, VPN, firewalling, and WAN optimization. These functions differ vastly in their requirements for hardware resources (e.g., CPU cycles and memory bandwidth). Thus, depending on the functions they go through, different flows can consume different amounts of a middlebox%26apos;s resources. While there is much literature on weighted fair sharing of link bandwidth to isolate flows, it is unclear how to schedule multiple resources in a middlebox to achieve similar guarantees. In this paper, we analyze several natural packet scheduling algorithms for multiple resources and show that they have undesirable properties. We propose a new algorithm, Dominant Resource Fair Queuing (DRFQ), that retains the attractive properties that fair sharing provides for one resource. In doing so, we generalize the concept of virtual time in classical fair queuing to multi-resource settings. The resulting algorithm is also applicable in other contexts where several resources need to be multiplexed in the time domain.

  • 出版日期2012-10