Per-Flow Fairness in the Datacenter Network Yixi Gong, James W

Per-Flow Fairness in the Datacenter Network Yixi Gong, James W

1 Per-Flow Fairness in the Datacenter Network YiXi Gong, James W. Roberts, Dario Rossi Telecom ParisTech Abstract—Datacenter network (DCN) design has been ac- produced by gaming applications [1], instant voice transla- tively researched for over a decade. Solutions proposed range tion [29] and augmented reality services, for example. The from end-to-end transport protocol redesign to more intricate, exact flow mix will also be highly variable in time, depending monolithic and cross-layer architectures. Despite this intense activity, to date we remark the absence of DCN proposals based both on the degree to which applications rely on offloading to on simple fair scheduling strategies. In this paper, we evaluate the Cloud and on the accessibility of the Cloud that varies due the effectiveness of FQ-CoDel in the DCN environment. Our to device capabilities, battery life, connectivity opportunity, results show, (i) that average throughput is greater than that etc. [9]. attained with DCN tailored protocols like DCTCP, and (ii) the As DCN resources are increasingly shared among multiple completion time of short flows is close to that of state-of-art DCN proposals like pFabric. Good enough performance and stakeholders, we must question the appropriateness of some striking simplicity make FQ-CoDel a serious contender in the frequently made assumptions. How can one rely on all end- DCN arena. systems implementing a common, tailor-made transport pro- tocol like DCTCP [6] when end-systems are virtual machines under tenant control? How can one rely on applications I. INTRODUCTION truthfully indicating the size of their flows to enable shortest In the last decade, datacenter networks (DCNs) have flow first scheduling as in pFabric [8] when a tenant can gain increasingly been built with relatively inexpensive off-the- better throughput by simply slicing a long flow into many shelf devices. DCNs are frequently assumed to be highly spe- small pieces? Expected future DCN usage clearly puts these cialized environments, owned by a single entity that has full assumptions in doubt and leads us to question the expected control of both the network architecture and the workload. benefits of fragile DCN designs that rely on them. DCN transport research has consequently explored a larger Following the above discussion, we observe an obvious yet design space than that of the Internet leading to designs that surprising omission in the explored DCN landscape, namely generally do not focus on a single layer of the protocol stack a scheduling mechanism providing fairness among flows, but are more typically cross-layer. The proposed transport coupled with Active Queue Management (AQM) to upper- solutions may for instance integrate application information, bound delay. Such a scheduler is FQ-CoDel that has recently use explicit or implicit rate control, incorporate routing and gained prominence in another network application, namely load balancing or rely on an omniscient oracle. fighting bufferbloat notably in home routers [18]. Its aim of Freedom in the DCN design space translates into a rel- keeping throughput high while controlling queueing delay atively crowded landscape of proposals, each of which is and its generality with respect to the traffic mix clearly make typically designed and tweaked with a specialized application it an excellent candidate for DCN operation. Our objective in scenario in mind. DCN proposals are further entangled as this paper is to compare its performance to that realized by their design is tailored for very specific workloads, with alternative state-of-the-art DCN proposals. We find notably diverse application patterns including for instance, query- that, under FQ-CoDel: response [6], [8], map-reduce jobs [12], [13], or packet-size • throughput of plain TCP is better than that of a tailored access to CloudRAM [7]. Rarely, if ever, is a DCN design end-to-end solution like DCTCP [6], tested with a workload other than that for which the system • short flows incur a delay comparable to what they incur was explicitly designed. under pFabric [8]. Beyond any reasonable doubt, the single-tenant assumption will be severely challenged in the near future. Increased user We believe its “good enough” and future-proof performance, reliance on Cloud applications will require DCNs to evolve coupled with a striking deployment simplicity, make FQ- toward multi-tenant systems with a significantly more het- CoDel a particularly appealing solution for multi-tenant erogeneous set of applications and workloads. For instance, DCNs. In the reminder of the paper, after overviewing related DCN owners could handle several types of VM-based or work (Sec. II), we describe our proposal (Sec. III), present container-based applications in their infrastructure as they methodology and the results of our comparison (Sec. IV), enter new lines of business, or as they rent resources to third- and then conclude (Sec. V). parties. The DCN workload will thus evolve beyond a typical mixture of short transactions and fat elastic transfers, as II. BACKGROUND frequently considered today, to include a significant fraction In Tab. I we report a non-exhaustive view of DCN re- of rate-limited flows with strict latency requirements as search to illustrate several important trends. We follow the 2 TABLE I TAXONOMY OF RECENT DATA CENTER NETWORK DESIGNS. Proposal Yr Primary Information Rate Controly Routing Scheduling Layersz metric Load balancing L N T A O DCTCP [6] 10 Latency Imp+ECN FS • Hedera [4] 10 Bisection bw switch buffer Yes • D3 [39] 11 Throughput deadline, size Exp (D) ECMP VLB greedy •• MPTCP [32] 11 Throughput MP-enabled ECMP • Orchestra [12] 11 Transfer-CT everything Exp (C) Yes FIFO, FS, Priority • HULL [7] 12 Throughput DCTCP+ECN ECMP • DeTail [41] 12 Tail FCT priority TCP +ECN packet-based •••• PDQ [19] 12 FCT deadline, size Exp (D) ECMP EDF/SJF •• pFabric [8] 13 FCT priority Imp RPS Priority •• RepFlow [40] 14 Short flow FCT size ECMP •• Baraat [15] 14 Task-CT priority Exp (D) FIFO-LM •• PASE [25] 14 FCT size, max rate Exp+ECN (D) SJF •• Varys [13] 14 Coflow-CT size Exp (C) SEBF + MADD ••• CONGA [5] 14 FCT flowlet-based • Fastpass [31] 14 Fairness/FCT size Exp (C) packet-based maximum matching ••• FlowBender [21] 14 Latency flow-based •• PIAS [10] 15 FCT DCTCP+ECN SJF • RAPIER [35] 15 Coflow-CT size Exp (C) coflow-based MRTF ••• pHost [17] 15 FCT Tail-CT Exp (D) packet-spraying RTS-mechanism • NUMFabric [26] 16 FCT flow rates Exp (D) WFQ+ XWI ••• ExpressPass [11] 17 FCT Exp (D) symmetric Credit rates •• Flowtune [30] 17 FCT flowlet epochs Exp (C) central allocator ••• LetFlow [36] 17 FCT Imp (D) flowlet-based FIFO •• y Rate/congestion control: (Exp)licit vs (Imp)licit; (D)istributed vs (C)entralized z Layers: (L)ink, (N)etwork, (T)ransport, (A)pplication, (O)racle common assumption that DCNs have the leaf- spine topology grated into decision logic (as either a priority index [8], [41], (e.g., [5], [8], [10], [35]) derived from the seminal FatTree or a flow deadline [19], [39] or size [19], [39], [40]). This proposal [3] tendency was recently exacerbated by moving from network- DCN research was initially confined to a single layer of oriented to service-oriented metrics: e.g., Varys [13] and the protocol stack. For instance, starting with the pioneering RAPIER [35] use co-flow completion time, and Baraat [15] work of DCTCP [6], the community recognized that specific uses task completion time. Mechanisms proposed in [13], designs were needed to enable TCP to cope with the high [15], [25], [30], [31], [35] all employ explicit rate control, bandwidth and low delay properties of DCNs. This led to with either distributed or centralized arbitration. Some recent the design of new protocols exemplified by HULL [7] that, proposals like NUMFabric [26] and Flowtune [30] would to the best of our knowledge, have not yet been deployed. It is apply utility maximizing rate controls, rapidly computed by a noteworthy that optimal parameter tuning for deployed TCP centralized controller made aware dynamically of the precise variants like DCTCP remains the subject of active research population of flows in progress. [20]. This rapid survey reveals the wide range of research on Alternative proposals for an improved network fabric in- DCN architectures and it is all the more surprising that a clude Hedera [4] and Orchestra [12] that rely on a central- technique as simple and potentially effective as FQ-CoDel, ized oracle to deal with routing, load balancing, congestion to our knowledge, remains unexplored. avoidance and fault tolerance. Starting with pFabric [8], which has become the de-facto standard for comparing new III. FAIRNESS IN THE DCN DCN proposals, a number of papers have promoted a cross- We argue that the advantages of decoupling rate control layer design. These DCN designs jointly impact multiple from scheduling, put forward in the pFabric proposal [8], aspects including explicit [19], [25], [30], [35], [39] or would similarly be obtained by implementing per-flow fair implicit [8], [41] congestion and flow control at end-systems, scheduling on bottleneck links. flow scheduling [8], [10], [13], [15], [19], [25], [31], [35], [39], load balancing [5], [8], [21], [31], [35], [36], [41] and oracles [13], [30], [31]. Recent exceptions to the above trend A. Be fair to flows! are represented by pHost [17] and ExpressPass [11] that Fair queuing. Starting with the original proposal of Na- introduce a credit-based transport mechanism. gle [27], per-flow fair scheduling has often been advocated Application-layer information has been progresively inte- as a means to make Internet bandwidth sharing robust and 3 more efficient. However, the need has never been considered Quantum size. The default DRR quantum size in FQ-CoDel sufficiently compelling to warrant widespread implementa- is one 1500 byte MTU.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    6 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us