Skip to main content
QUICK REVIEW

[Paper Review] Network calculus for parallel processing

George Kesidis, Bhuvan Urgaonkar|arXiv (Cornell University)|Sep 2, 2014
Cloud Computing and Resource ManagementComputer Science14 references5 citations
TL;DR

This paper applies network calculus to model latency in parallel processing systems, particularly focusing on the synchronization barriers between mapper and reducer stages in frameworks like MapReduce. It establishes that the end-to-end delay is bounded by the maximum delay across individual processing paths, using generalized stochastic burstiness bounds to quantify performance under load balancing and service guarantees.

ABSTRACT

In this note, we present preliminary results on the use of "network calculus" for parallel processing systems, specifically MapReduce.

Motivation & Objective

  • To develop a performance model for multi-stage parallel processing systems with synchronization barriers.
  • To analyze the latency of a single parallel processing stage using network calculus principles.
  • To quantify the end-to-end delay bound in terms of individual queue delays and burstiness constraints.
  • To validate the model using a real-world workload trace from a Facebook data center.
  • To establish theoretical bounds under strong stochastic burstiness assumptions for stationary, load-balanced systems.

Proposed method

  • Models a single-stage fork-join system as K parallel queues, each with a service curve $ s_{\min,k} $ and arrival process $ a_k \ll b_{\text{in},k} $.
  • Defines virtual delay $ \delta_k(t) = t - a_k^{-1}(d_k(t)) $ to represent the lag of each queue.
  • Derives the system output $ D(t) $ as $ A(\min_k \{ a_k^{-1}(d_k(t)) \}) $, reflecting the barrier at the slowest queue.
  • Introduces the generalized stochastic burstiness bound (gSBB) to model stochastic workload behavior under stationarity.
  • Uses the convolution identity $ (s_{\min,k} * a_k)(t) \geq a_k(t - d_{\max,k}) $ to bound delay per queue.
  • Applies the delay bound $ d_{\max,k} $ as the maximum horizontal difference between the input burstiness envelope $ b_{\text{in},k} $ and the service curve $ s_{\min,k} $.

Experimental results

Research questions

  • RQ1What is the end-to-end delay bound in a parallel processing system with synchronization barriers between stages?
  • RQ2How does strong stochastic burstiness of the workload affect the delay distribution in a load-balanced system?
  • RQ3Can network calculus provide a tractable and general performance model for MapReduce-like systems with pipelined mapper-shuffler-reducer stages?
  • RQ4How does load balancing across parallel queues impact the system's worst-case delay?
  • RQ5What is the relationship between individual queue delays and the overall system delay in a fork-join architecture?

Key findings

  • The end-to-end delay from input $ A $ to output $ D $ is bounded by $ A(t - \max_k \{ d_{\max,k} \}) $, meaning the system delay equals the maximum delay among all parallel queues.
  • Under strong stochastic burstiness, the probability that $ A(t) - D(t) \geq x $ is bounded by $ \Phi(x - 2M \max_k \{ \varepsilon_k / \mu_k \}) $, where $ \Phi $ is a decreasing tail function.
  • The bound shows that the system delay is dominated by the slowest queue, even under stochastic workload variations.
  • The model confirms that load balancing proportional to service capacity $ \mu_k $ ensures bounded deviation $ \varepsilon_k $, improving delay predictability.
  • Numerical evaluation on a Facebook data-center trace validates the gSBB model, showing tightness of the derived bounds.
  • The results demonstrate that network calculus can effectively model complex, real-world parallel processing systems with minimal assumptions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.