UC BERKELEY
EECS technical reports
TECHNICAL REPORTS


EECS-2012-166.pdf
Conditions of Use

Archive Home Page

Multi-Resource Fair Queueing for Packet Processing

Authors:
Ghodsi, Ali
Sekar, Vyas
Zaharia, Matei
Stoica, Ion
Technical Report Identifier: EECS-2012-166
June 19, 2012
EECS-2012-166.pdf

Abstract: Middleboxes are ubiquitous in today'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'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.