TL;DR
This paper introduces a new definition of "zero queueing delay" for parallel jobs, where job completion time is close to the maximum of its tasks' service times. They show that this can be achieved with a smaller probe overhead than previously thought possible for single-task jobs, by using a batch-filling policy. This is a significant finding for optimizing latency-sensitive parallel computing workloads.
What Problem Does This Paper Address?
In modern computing systems, especially large-scale data centers, minimizing job latency is crucial. A key concept for achieving this is "zero queueing delay," where jobs experience minimal waiting time beyond their inherent processing needs. For single-task jobs, this has been well-studied, with policies like Join-the-Shortest-Queue (JSQ) achieving it, but often at the cost of high communication overhead (probe overhead). Existing research shows that for single-task jobs, a probe overhead of $\Omega(\frac{1}{1-\lambda})$ is necessary for zero queueing delay, where $\lambda$ is the system load.
However, today's applications increasingly rely on parallel jobs, where a single job is broken down into multiple tasks that run concurrently on different servers. This parallel structure fundamentally changes the problem. The authors identify a gap in understanding how to achieve zero queueing delay for these parallel jobs and what the minimum probe overhead is in this new context. They propose a new metric that quantifies queueing delay at the job level, considering the time until all tasks of a job are completed.
Methods
The authors propose a new notion of "zero queueing delay" for parallel jobs. Instead of requiring each individual task to have zero queueing delay, they define it as the job's total delay being asymptotically close to its "inherent delay," which is the maximum service time among its tasks. This is quantified by the condition $E[T - T^*] / E[T^*] \to 0$ as the number of servers $N \to \infty$, where $T$ is the job's actual delay and $T^*$ is its inherent delay.
They introduce a "batch-filling" policy, a variant of the Power-of-d-choices (Pod) policy. In batch-filling, a job's tasks are assigned sequentially to the shortest queues among a sampled set of queues, with queue lengths updated after each task assignment. This coordinated assignment is key.
The core of their analysis relies on advanced techniques from queueing theory, particularly Stein's method and state-space collapse. Stein's method is used to bound the distance between probability distributions, enabling them to analyze the system's behavior in heavy-traffic regimes. State-space collapse is a novel technique they develop, which helps to simplify the complex dynamics of the parallel job system by showing that the system state tends to concentrate in a way that facilitates analysis. They derive both achievability (conditions for zero queueing delay) and impossibility (conditions for non-zero queueing delay) results.
Datasets
Not discussed in the paper. The paper focuses on theoretical analysis and simulation results.
Key Insights and Ideas
- Job-level vs. Task-level Delay: The most significant insight is that achieving zero queueing delay for parallel jobs is fundamentally different from single-task jobs. It's possible for individual tasks to experience queueing, yet the overall job still achieves zero queueing delay, as long as the slowest task isn't significantly delayed.
- Reduced Probe Overhead: Parallelization allows for a smaller probe overhead to achieve zero queueing delay compared to single-task jobs. This is because the probe overhead can be "pooled" across tasks of the same job, and the coordinated assignment of tasks helps to utilize server information more effectively.
- Batch-Filling Policy: The batch-filling policy, which assigns tasks sequentially to the shortest queues with updates, is shown to be effective. Its coordinated nature is crucial for the reduced probe overhead.
- State-Space Collapse for Parallel Jobs: The authors introduce a novel state-space collapse result specifically for parallel job systems, which is a key enabler for their analytical framework.
- Impossibility Results Complement Achievability: The paper provides both conditions under which zero queueing delay can be achieved and conditions under which it cannot, giving a complete picture of the trade-offs.
Key Results
- Achievability: Zero queueing delay for parallel jobs can be achieved with a probe overhead $d = \omega\left(\frac{(1-\lambda)\log k}{k}\right)$ in the sub-Halfin-Whitt heavy-traffic regime, where $k$ is the number of tasks per job and $k$ scales with $N$. This is a significant reduction compared to the $\Omega(\frac{1}{1-\lambda})$ required for single-task jobs.
- Impossibility: Zero queueing delay cannot be achieved if the probe overhead $d = e^{\Theta(\sqrt{\log N / \log k})}$.
- Simulation Validation: Simulations confirm the theoretical findings, showing that the queueing delay indeed approaches zero with the derived conditions on probe overhead. They also explore the transition region between zero and non-zero queueing delay, suggesting that the theoretical bounds might not be tight.
Limitations and Future Work
- Tightness of Bounds: The authors acknowledge that their impossibility results might not be tight, and pinpointing the exact transition point for zero queueing delay is an open research question.
- General Service Time Distributions: The theoretical analysis primarily assumes exponential service times. While simulations show some robustness to other distributions (Pareto, hyper-exponential, correlated S&X), generalizing the theoretical framework to these cases is a direction for future work.
- Alternative Notions of Delay: The paper briefly discusses an alternative "zero waiting" notion, which is a stronger requirement and requires more probe overhead. Further exploration of different delay metrics and their trade-offs could be valuable.
Summary updated