[Paper Review] A Granularity Characterization of Task Scheduling Effectiveness
The paper links task scheduling overhead to task-graph dependency topology, introducing a granularity measure that predicts strong-scaling limits and guides dynamic vs static execution.
Task-based runtime systems provide flexible load balancing and portability for parallel scientific applications, but their strong scaling is highly sensitive to task granularity. As parallelism increases, scheduling overhead may transition from negligible to dominant, leading to rapid drops in performance for some algorithms, while remaining negligible for others. Although such effects are widely observed empirically, there is a general lack of understanding how algorithmic structure impacts whether dynamic scheduling is always beneficial. In this work, we introduce a granularity characterization framework that directly links scheduling overhead growth to task-graph dependency topology. We show that dependency structure, rather than problem size alone, governs how overhead scales with parallelism. Based on this observation, we characterize execution behavior using a simple granularity measure that indicates when scheduling overhead can be amortized by parallel computation and when scheduling overhead dominates performance. Through experimental evaluation on representative parallel workloads with diverse dependency patterns, we demonstrate that the proposed characterization explains both gradual and abrupt strong-scaling breakdowns observed in practice. We further show that overhead models derived from dependency topology accurately predict strong-scaling limits and enable a practical runtime decision rule for selecting dynamic or static execution without requiring exhaustive strong-scaling studies or extensive offline tuning.
Motivation & Objective
- Explain how scheduling overhead scales with parallelism through task-graph dependency topology rather than problem size alone.
- Propose a simple granularity measure that indicates when scheduling overhead is amortized by parallel computation.
- Develop a topology-driven overhead model and a unified framework for predicting strong-scaling behavior across workloads.
Proposed method
- Define dependency topology via dependency neighborhoods and classify into global, local, and independent patterns.
- Derive a granularity number G = T_kernel / ((1-ρ) k τ_s) to relate kernel work to scheduling overhead.
- Model scheduling overhead T_overhead as a function of rank count P using topology-specific forms (e.g., αP^2+β for global, αP+β for local, β for independent).
- Show that T_overhead scales with the number of inter-task dependency edges |E(P)| and derive G scaling for each topology (G_global ~ P^-3, G_local ~ P^-2, G_independent ~ P^-1).
- Present a workload-agnostic overhead–granularity relationship: Ω% = 100/(G+1) and classify execution regimes (beneficial, marginal, detrimental).
- Calibrate and validate the model against FFT, stencil, sweep, GEMM, and additional workloads to predict strong-scaling limits and dynamic–static crossovers.
Experimental results
Research questions
- RQ1How does scheduling overhead scale with parallelism for different dependency topologies?
- RQ2Can a simple granularity metric capture the transition between beneficial and detrimental dynamic scheduling across workloads?
- RQ3How accurately can a topology-driven overhead model predict strong-scaling limits and crossover points between dynamic and static execution?
Key findings
- Scheduling overhead growth depends on dependency topology, not just problem size or task count.
- A simple granularity number G unifies scheduling behavior across diverse workloads, collapsing data onto a workload-independent curve.
- Global dependencies induce rapid (cubic) decay in G under strong scaling, while local and independent patterns show slower (quadratic or linear) decay.
- The overhead fraction Ω% is 100/(G+1), enabling practical thresholds for when dynamic scheduling is advantageous (G>10), marginal (1<G≤10), or detrimental (G≤1).
- Calibration against FFT, stencil, sweep, GEMM, SpMV, Conv2D, PageRank, and N-Body demonstrates the model can predict strong-scaling limits and crossover points (P*) across dependency classes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.