Integrating Domain-Data Steering with Code-Profiling Tools to Debug Data-Intensive Workflows

Vítor Silva, Leonardo Neves, Renan Souza, Alvaro L. G. A. Coutinho, Daniel de Oliveira, Marta MattosoWORKS@SC 2016

Introduction

In High-Performance Computing (HPC), scientific workflows often involve thousands of interdependent tasks. When performance degrades, identifying the root cause is notoriously difficult. Traditional system monitoring tools like TAU (Tuning and Analysis Utilities) and SAR (System Activity Report) provide granular hardware metrics but lack context regarding the scientific data being processed. Conversely, Workflow Management Systems (SWfMS) track data provenance but ignore low-level system behavior. This "data-blindness" makes it nearly impossible to determine if a slowdown is due to a software bug, hardware failure, or specific characteristics of the input data.

This paper introduces PerfMetricEval, a tool designed to bridge this gap by correlating system performance metrics with domain-specific data and provenance within a unified relational database.

System Architecture and Methodology

The researchers integrated PerfMetricEval with Chiron, a parallel Scientific Workflow Management System. The architecture facilitates "domain-aware" debugging by coupling multiple profiling tools and injecting their output into a database at runtime.

Figure 1: The PerfMetricEval architecture integrates provenance data with system metrics from SAR and TAU for unified analysis.

Key features of the methodology include:

  • Multi-Tool Coupling: PerfMetricEval wraps around TAU to capture execution and communication timing, and SAR to monitor CPU, memory, and I/O statistics.
  • Database-Centric Integration: Instead of managing disparate log files, performance data is parsed and stored in a relational database. This allows researchers to use standard SQL queries to correlate system spikes with domain attributes, such as specific pixel coordinates in an astronomical image.
  • Time Decomposition: The system categorizes total workflow time ($T_{wf}$) into three components: computing time ($T_{comp}$), communication time ($T_{comm}$), and provenance storage time ($T_{prov}$).

Experimental Evaluation: The Montage Workflow

The approach was evaluated using the Montage workflow, a standard astronomy benchmark for creating sky mosaics. The experiment processed 1,585 input images through 17,503 parallel activations on an SGI Altix ICE 8200 cluster (32 cores across four nodes). The team tracked domain-specific FITS image attributes, such as CRPIX1 and CRPIX2, to observe how data content influenced resource consumption.

Key Insights and Results

The integration of performance and provenance data yielded several critical insights:

  1. Data-Performance Correlation: Performance anomalies were frequently linked to data content. For instance, processing dense star clusters required more resources than empty regions of space. PerfMetricEval allowed for the direct visualization of these correlations.
  2. Identifying Architectural Bottlenecks: By decomposing execution time, the authors identified that the master node (Rank 0) suffered from significantly higher communication and provenance overhead.
Figure 2: 3D visualization of time decomposition across MPI ranks, highlighting the provenance and communication overhead on the master node.
  1. Low Overhead: A primary concern for HPC monitoring is performance impact. PerfMetricEval demonstrated a negligible overhead of approximately 0.6% of total execution time.
  2. Runtime Steering: The system enabled SQL-based querying and 3D visualization while the workflow was still active, allowing for real-time identification of problematic image regions.

Conclusion and Future Work

PerfMetricEval successfully demonstrates that linking system metrics with domain data provides a higher resolution for debugging complex HPC workflows. While currently tied to the Chiron system, future work aims to adapt the tool for other frameworks like Pegasus or Swift/T. Additionally, the researchers plan to address potential database scaling issues for workflows with millions of tasks and explore automated anomaly detection to reduce the need for manual SQL querying.

Summary updated

BibTeX
@inproceedings{silva2016integrating,
  author = {Vítor Silva and Leonardo Neves and Renan Souza and Alvaro L. G. A. Coutinho and Daniel de Oliveira and Marta Mattoso},
  title = {{Integrating Domain-Data Steering with Code-Profiling Tools to Debug Data-Intensive Workflows}},
  booktitle = {WORKS@SC},
  year = {2016},
}
Figure