Performance and Scaling of Parallel Systems with Blocking Start and/or Departure Barriers
Brenton D. Walker, Stefan Bora, Markus Fidler
Abstract
Parallel systems divide jobs into smaller tasks that can be serviced by many workers at the same time. Some parallel systems have blocking barriers that require all of their tasks to start and/or depart in unison. This is true of many parallelized machine learning workloads, and the popular Apache Spark processing engine has recently added support for Barrier Execution Mode, which allows users to add such barriers to their jobs. The drawback of these barriers is reduced performance and stability compared to equivalent non-blocking systems.We derive analytical expressions for the stability regions for parallel systems with blocking start and/or departure barriers. We extend results from queueing theory to derive waiting and sojourn time bounds for systems with blocking start barriers. Our results show that for a given system utilization and number of servers, there is an optimal degree of parallelism that balances waiting time and job execution time. This observation leads us to propose and implement a class of self-adaptive schedulers, we call "Take-Half", that modulate the allowed degree of parallelism based on the instantaneous system load, improving mean performance and eliminating stability issues.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Related papers
- Tiny Tasks - A Remedy for Synchronization Constraints in Multi-Server SystemsMarkus Fidler, Brenton D. Walker, Stefan BoraINFOCOM 2020 · 4 citations
- The Power of Nested Parallelism in Big Data Processing - Hitting Three Flies with One Slap -Gábor E. Gévay, Jorge-Arnulfo Quiané-Ruiz, Volker MarklSIGMOD 2021 · 7 citations
- RubberBand: cloud-based hyperparameter tuningUjval Misra, Richard Liaw, Lisa Dunlap, Romil Bhardwaj et al.EuroSys 2021 · 21 citations
- Compiling Loop-Based Nested Parallelism for Irregular WorkloadsYian Su, Mike Rainey, Nick Wanninger, Nadharm Dhiantravan et al.ASPLOS 2024 · 5 citations
- QaaD (Query-as-a-Data): Scalable Execution of Massive Number of Small Queries in SparkYeonsu Park, Byungchul Tak, Wook-Shin HanSIGMOD 2023 · 3 citations
