"Two-Stagification": Job Dispatching in Large-Scale Clusters via a Two-Stage Architecture
Mert Yildiz, Alexey Rolich, Andrea Baiocchi
TL;DR
The paper tackles dispatching in FCFS server clusters and introduces a two-stage architecture that offloads large jobs to a second stage using a service-time threshold $\theta$, while short jobs complete in the first stage. Through comparisons of simple (RR) and more informed policies (JIQ, LWL, CARD) on both synthetic Weibull workloads and Google traces, the study shows that two-stage offloading substantially improves mean response time and can approach the performance of state-aware methods as the degree of parallelism $n$ grows, especially under heavy-tailed workloads. CARD remains the strongest single-stage policy, but two-stage variants of RR, JIQ, and LWL frequently achieve near-CARD MRT with reduced coordination. These results suggest that architectural design choices can yield large performance gains in large-scale data centers, offering practical, scalable alternatives to deploying more complex dispatching rules.
Abstract
A continuing effort is devoted to devising effective dispatching policies for clusters of First Come First Served servers. Although the optimal solution for dispatchers aware of both job size and server state remains elusive, lower bounds and strong heuristics are known. In this paper, we introduce a two-stage cluster architecture that applies classical Round Robin, Join Idle Queue, and Least Work Left dispatching schemes, coupled with an optimized service-time threshold to separate large jobs from shorter ones. Using both synthetic (Weibull) workloads and real Google data center traces, we demonstrate that our two-stage approach greatly improves upon the corresponding single-stage policies and closely approaches the performance of advanced size- and state-aware methods. Our results highlight that careful architectural design-rather than increased complexity at the dispatcher-can yield significantly better mean response times in large-scale computing environments.
