[Paper Review] GLB: Lifeline-based Global Load Balancing library in X10
GLB is a global load balancing library in X10 that enables efficient, scalable execution of irregular parallel workloads on distributed-memory systems by leveraging a lifeline-based work-stealing algorithm. It achieves near-linear speedup up to 16,000 cores across diverse architectures (Power, Blue Gene/Q, K) by abstracting low-level synchronization and enabling users to write only sequential task logic with minimal code changes.
We present GLB, a programming model and an associated implementation that can handle a wide range of irregular paral- lel programming problems running over large-scale distributed systems. GLB is applicable both to problems that are easily load-balanced via static scheduling and to problems that are hard to statically load balance. GLB hides the intricate syn- chronizations (e.g., inter-node communication, initialization and startup, load balancing, termination and result collection) from the users. GLB internally uses a version of the lifeline graph based work-stealing algorithm proposed by Saraswat et al. Users of GLB are simply required to write several pieces of sequential code that comply with the GLB interface. GLB then schedules and orchestrates the parallel execution of the code correctly and efficiently at scale. We have applied GLB to two representative benchmarks: Betweenness Centrality (BC) and Unbalanced Tree Search (UTS). Among them, BC can be statically load-balanced whereas UTS cannot. In either case, GLB scales well-- achieving nearly linear speedup on different computer architectures (Power, Blue Gene/Q, and K) -- up to 16K cores.
Motivation & Objective
- Address the challenge of dynamic load balancing in large-scale distributed systems where workloads are irregular and unpredictable.
- Provide a high-level programming model that hides complex synchronization, communication, and load balancing logic from users.
- Enable efficient and scalable parallel execution of irregular applications across heterogeneous architectures (Power, Blue Gene/Q, K) without requiring low-level system knowledge.
- Support both statically and dynamically load-balanced workloads through a unified, deterministic framework that ensures correct and repeatable results.
- Minimize user code changes by allowing developers to write only sequential task logic while the library handles distribution, scheduling, and result reduction automatically.
Proposed method
- Employ the lifeline graph work-stealing algorithm [23] as the core load-balancing mechanism to enable efficient task migration across distributed nodes.
- Use X10’s Asynchronous Partitioned Global Address Space (APGAS) model to express both intra- and inter-place concurrency uniformly, simplifying distribution and coordination.
- Allow users to define tasks as self-contained units with local state and access to immutable reference data, enabling task relocatability across places.
- Automatically distribute tasks across all available places and orchestrate their execution with built-in support for fault tolerance, termination detection, and result reduction.
- Support user-tunable parameters such as task granularity and number of random/lifeline victims to optimize performance trade-offs between throughput and response latency.
- Leverage X10’s native serialization support to transmit user-defined data types across nodes without requiring explicit serialization code.
Experimental results
Research questions
- RQ1How can a global load balancing framework be designed to handle both statically and dynamically load-balanced irregular workloads in large-scale distributed systems?
- RQ2Can a high-level programming model abstract away complex synchronization and communication while achieving near-linear scalability on 16,000 cores?
- RQ3To what extent does the lifeline-based work-stealing model outperform traditional work-stealing or centralized load-balancing approaches in distributed-memory environments?
- RQ4How can user code be minimized and simplified while maintaining full control over task logic and performance tuning in a scalable parallel framework?
- RQ5What are the performance characteristics of such a framework across diverse architectures (Power, Blue Gene/Q, K) and irregular benchmarks like UTS and BC?
Key findings
- GLB achieves nearly linear speedup on both Betweenness Centrality (BC) and Unbalanced Tree Search (UTS) benchmarks across Power, Blue Gene/Q, and K architectures.
- The framework scales efficiently up to 16,000 cores, demonstrating strong scalability for both statically and dynamically load-balanced workloads.
- GLB achieves 98% parallel efficiency on 55,680 Power7 cores in prior X10-based experiments, indicating high performance on large-scale systems.
- The library enables users to write only sequential task logic without explicit communication or synchronization code, significantly reducing development complexity.
- The use of X10’s native serialization and APGAS model simplifies data transfer between nodes and reduces the need for low-level system programming.
- The framework supports performance tuning via parameters such as task granularity and number of lifeline victims, allowing users to optimize for throughput or latency without deep system knowledge.
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.