Introduction
Modern scientific research increasingly depends on complex computational workflows—sequences of tasks ranging from genomic sequencing to climate modeling—executed across distributed and heterogeneous computing environments. A significant challenge in managing these workflows is the "black box" nature of their execution. When performance degrades or tasks fail, researchers often struggle to pinpoint the root cause, whether it stems from algorithmic inefficiencies, network congestion, or hardware failures. Traditionally, performance data is collected in silos, making real-time troubleshooting nearly impossible.
A Unified Monitoring Architecture
To address these challenges, a comprehensive framework has been developed to capture and analyze performance data in real-time across the entire execution stack. The architecture integrates several specialized tools into a cohesive pipeline, as illustrated in Figure 1.
The system utilizes the Pegasus Workflow Management System (WMS) for execution management. Monitoring agents, including an extended pegasus-kickstart and pegasus-darshan, collect fine-grained resource statistics and I/O logs. This data is standardized into JSON format and transmitted via RabbitMQ, a central message broker. The "ELK stack" (Logstash, Elasticsearch, and Kibana) then ingests, indexes, and visualizes the data. This orchestration allows for the correlation of application-level events with network-level insights from Tstat and transfer logs from Globus.
Real-time Visualization and Analysis
A key component of this framework is the custom Kibana plugin, which provides scientists with an intuitive dashboard for monitoring job characteristics as they happen.
By standardizing all monitoring data into a common JSON schema, the framework enables "plug-and-play" integration of various tools. This unified view allows researchers to observe the immediate impact of infrastructure anomalies on workflow performance. For instance, the dashboard can correlate a drop in CPU utilization with background system load or network jitter.
Experimental Validation and Key Results
The framework was validated using two distinct workflows on the ExoGENI cloud testbed: the I/O-intensive 1000Genome genomics workflow and the CPU-intensive SNS (Spallation Neutron Source) material science workflow. By injecting synthetic anomalies, the researchers demonstrated the system's diagnostic power:
- Network Anomalies: A 1% packet loss resulted in a 6x degradation in transfer throughput, dropping from 170 Mbps to 32 Mbps.
- Storage Bottlenecks: Background disk stress (50 MB/s) caused a 1.5x overall workflow slowdown and a 3x reduction in POSIX I/O throughput.
- Compute Contention: External CPU load on a single node led to a 5x slowdown in the MPI-based NAMD job, which the system accurately captured through real-time CPU utilization heartbeats showing drops from 100% to the 70-90% range.
Conclusion and Future Work
This end-to-end framework demonstrates the power of real-time data correlation in identifying performance bottlenecks in scientific workflows. Future developments will focus on expanding the monitoring scope to include accelerators like GPUs and FPGAs. Additionally, the researchers aim to leverage this real-time data to train machine learning models for automated anomaly mitigation, moving toward self-healing scientific computing infrastructures.
Summary updated