A Generalized Performance Evaluation Framework for Parallel Systems with Output Synchronization

Wasiur R. KhudaBukhsh, Sounak Kar, Amr Rizk, Heinz KoepplarXiv 2016

Abstract

Modern parallel computing architectures, such as MapReduce and Hadoop, face significant performance challenges due to synchronization constraints. This paper presents a generalized framework for evaluating these systems by modeling them as Markov-additive processes (MAP). Unlike traditional queuing models that assume independent arrivals and service times, this approach accounts for bursty traffic and server dependencies. The authors derive computable exponential upper bounds on waiting time tail probabilities, providing a practical tool for system engineers to guarantee service levels in complex, real-world environments.

The Fork-Join Synchronization Problem

In parallel computing, a single job is typically "forked" into multiple tasks distributed across various servers. A critical bottleneck arises at the "join" stage: the job is not considered complete until every individual task has finished. This synchronization constraint implies that the total job latency is dictated by the slowest task, often referred to as the "tail" of the distribution.

A typical Fork-Join system architecture where an input job is split into tasks across N servers before being synchronized for output.

Traditional performance models often fail because they assume steady arrival rates and independent server performance. In reality, job arrivals are frequently bursty, and servers may exhibit dependent behaviors due to shared resources or environmental phases. Analyzing these systems exactly is mathematically difficult for more than two servers, necessitating the generalized framework proposed here.

Methodology: Markov-Additive Processes

The core of the proposed framework is the use of Markov-additive processes (MAP) to model the system state. An underlying Markov chain represents the "environment"—such as fluctuations between high and low traffic states—which then modulates arrival and service times. This allows the model to capture "memory" in the system; for instance, if the system is in a congested state, the model anticipates that the next arrival is likely to occur soon.

The authors analyze two primary system types:

  • Work-Conserving Systems: Servers begin the next available task immediately upon completion of the current one.
  • Blocking Systems: Servers wait for all tasks of a specific job to finish before proceeding, imposing a synchronization barrier at the input.

To handle the complexity of these systems, the framework utilizes martingale-based bounds and large deviations theory. Instead of seeking exact solutions, it derives exponential upper bounds on tail probabilities (e.g., the probability that a job's wait time exceeds a specific threshold $w$).

Performance Bounds and Results

The theoretical framework was validated using both synthetic simulations and real-world data from Google Borg traces. The results demonstrate that the derived exponential bounds are "tight"—they closely follow the decay rate of the actual waiting time distribution.

Numerical results showing the theoretical exponential upper bound (solid line) closely tracking the empirical waiting time distribution (dotted/scattered points).

Key findings include:

  • Accuracy for SLAs: While the bounds are conservative, they are accurate enough to inform Service Level Agreements (SLAs) by providing a "safe" upper limit on latency.
  • Reactive Provisioning Success: By applying the framework to Google Borg traces, the authors showed that "reactive provisioning"—reallocating service rates during high-arrival periods—significantly reduces waiting times compared to standard task assignment strategies.
  • Computability: The authors provided pseudocode showing that these bounds can be computed numerically even when closed-form analytic expressions are unavailable.

Conclusion

This research provides a robust mathematical foundation for predicting delays in parallel systems with synchronization constraints. By moving beyond simplistic assumptions and leveraging Markov-additive processes, the framework captures the "memory" and burstiness inherent in real-world data. While currently focused on single-stage Fork-Join systems, future work will look to extend this model to multi-stage pipelines and further refine proactive provisioning strategies.

Summary updated

BibTeX
@misc{khudabukhsh2016generalized,
  author = {Wasiur R. KhudaBukhsh and Sounak Kar and Amr Rizk and Heinz Koeppl},
  title = {{A Generalized Performance Evaluation Framework for Parallel Systems with Output Synchronization}},
  year = {2016},
  eprint = {1612.05543},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1612.05543},
}
Figure