Many-Task Computing and Blue Waters

Daniel S. Katz, Timothy G. Armstrong, Zhao Zhang, Michael Wilde, Justin M. WozniakarXiv 2012

Abstract

This report discusses many-task computing (MTC) generically and in the context of the proposed Blue Waters systems, which is planned to be the largest NSF-funded supercomputer when it begins production use in 2012. The aim of this report is to inform the BW project about MTC, including understanding aspects of MTC applications that can be used to characterize the domain and understanding the implications of these aspects to middleware and policies. Many MTC applications do not neatly fit the stereotypes of high-performance computing (HPC) or high-throughput computing (HTC) applications. Like HTC applications, by definition MTC applications are structured as graphs of discrete tasks, with explicit input and output dependencies forming the graph edges. However, MTC applications have significant features that distinguish them from typical HTC applications. In particular, different engineering constraints for hardware and software must be met in order to support these applications. HTC applications have traditionally run on platforms such as grids and clusters, through either workflow systems or parallel programming systems. MTC applications, in contrast, will often demand a short time to solution, may be communication intensive or data intensive, and may comprise very short tasks. Therefore, hardware and software for MTC must be engineered to support the additional communication and I/O and must minimize task dispatch overheads. The hardware of large-scale HPC systems, with its high degree of parallelism and support for intensive communication, is well suited for MTC applications. However, HPC systems often lack a dynamic resource-provisioning feature, are not ideal for task communication via the file system, and have an I/O system that is not optimized for MTC-style applications. Hence, additional software support is likely to be required to gain full benefit from the HPC hardware.

Introduction: Bridging the Gap

Historically, the supercomputing landscape has been bifurcated into two distinct paradigms: High-Performance Computing (HPC) and High-Throughput Computing (HTC). HPC typically involves tightly coupled jobs, such as large MPI programs, running across thousands of nodes simultaneously. Conversely, HTC focuses on millions of independent jobs where the total volume of work over months is more critical than individual task latency.

This paper identifies a "missing middle" known as Many-Task Computing (MTC). MTC applications consist of numerous discrete tasks with explicit dependencies, forming complex task graphs. Unlike traditional HTC, MTC requires short turnaround times (hours rather than months) and is often extremely data-intensive. The challenge lies in the fact that petascale supercomputers, such as Blue Waters, were primarily designed for traditional HPC, creating significant bottlenecks for MTC workflows.

The Blue Waters Architecture

To understand the scale of the challenge, one must look at the hierarchical complexity of the target hardware. The Blue Waters system was designed to push the boundaries of petascale performance through a massive aggregation of processing power and memory.

Hierarchical architecture of the Blue Waters supercomputer, from Power7 chips to the full petascale system.

As shown in the architectural roadmap, the system scales from individual 8-core Power7 chips to Quad-chip Modules (1 TF), IH Server Nodes (8 TF), and eventually to Building Blocks (256 TF). The full Blue Waters system was envisioned to provide ~10 PF peak performance with over 300,000 cores and 1.2 PB of memory. Managing millions of short-lived tasks across this vast hierarchy requires software that can bypass the "heavyweight" overheads of traditional system schedulers and global file systems.

Methods and Taxonomy

The authors performed a comprehensive requirements analysis by categorizing MTC based on control-flow patterns (parameter sweeps, iterations, task pruning) and data-flow patterns (scatter, gather, pipelines). They conducted a deep dive into 12 real-world scientific applications across fields such as astronomy (SDSS, 2MASS), biochemistry (Protein Library), and economics to extract common computational "fingerprints."

To address the limitations of HPC hardware for these workloads, the study evaluated middleware such as Falkon (a light-weight task executor), Swift (a parallel scripting language), and Pegasus (a workflow manager). These tools are designed to bypass traditional bottlenecks by managing task dispatch and data movement more efficiently than standard system-level tools.

Key Insights: Overcoming Bottlenecks

The File System and Scheduler

MTC tasks frequently communicate via files. On global parallel file systems like Lustre, millions of small file operations can trigger a metadata "storm," severely degrading performance. The authors recommend using intermediate storage, such as local RAM disks or SSDs on compute nodes, to mitigate this.

Furthermore, traditional schedulers (e.g., PBS) are too slow for the millisecond-level dispatch required by MTC. The proposed solution is a "multi-level" approach: using the system scheduler to acquire a large block of nodes, then employing a lightweight "pilot job" framework like Falkon to manage internal task distribution.

The Trailing Task Problem

MTC tasks often have variable runtimes. If a system forces a 1,000-node allocation to remain active until the very last task finishes, significant resources are wasted. The authors advocate for dynamic provisioning—the ability to release nodes as they become idle—and "tail-chopping" strategies to restart straggling tasks on smaller allocations.

Results and Success Stories

The efficacy of MTC middleware has been proven across several high-scale applications:

  • DOCK6: Achieved 99.6% utilization on 128,000 cores of a Blue Gene/P system using the Falkon scheduler.
  • mpiBLAST: Demonstrated 93% efficiency on 32,768 cores, showing that bioinformatics tools can thrive on HPC hardware with proper management.
  • fMRI Analysis: Successfully executed 65,536 jobs in 16 hours using the Swift workflow system.

Conclusion and Future Directions

While HPC hardware provides the raw parallelism needed for MTC, significant gaps remain in dynamic resource management and OS support. Many supercomputer kernels lack basic POSIX features like fork() and exec(), complicating the execution of standard scientific binaries. Future work must focus on tighter integration between MTC middleware and HPC system software to enable the next generation of hybrid MTC-HPC applications.

Summary updated

BibTeX
@misc{katz2012many,
  author = {Daniel S. Katz and Timothy G. Armstrong and Zhao Zhang and Michael Wilde and Justin M. Wozniak},
  title = {{Many-Task Computing and Blue Waters}},
  year = {2012},
  eprint = {1202.3943},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1202.3943},
}
Figure