DiPerF: an automated DIstributed PERformance testing Framework

Catalin Dumitrescu, Ioan Raicu, Matei Ripeanu, Ian T. Foster

Abstract

Evaluating the performance of distributed services is a complex task, often hindered by the logistical challenges of coordinating remote clients and the unpredictable nature of wide-area networks (WAN). We present DiPerF, an automated framework designed to simplify and automate service performance evaluation. DiPerF coordinates a distributed pool of tester machines to stress-test target services, aggregates performance metrics, and generates comprehensive statistics. The framework provides insights into service throughput, fairness, and the impact of network latency. By applying DiPerF to the Globus Toolkit 3.2 on the PlanetLab and Grid3 testbeds, we demonstrate its ability to identify performance bottlenecks and build predictive models for service behavior under load.

Introduction

Distributed services are the backbone of modern grid and cloud computing, yet testing them effectively remains a significant challenge. Most developers rely on ad-hoc testing harnesses that run within local area networks (LAN). While useful for functional testing, LAN environments fail to replicate the "messy" reality of the internet—characterized by high latency, jitter, and heterogeneous connections.

Manually deploying and synchronizing clients across hundreds of geographically dispersed machines to stress-test a server is a logistical nightmare. There is a clear need for a tool that automates the entire performance testing lifecycle: deploying client code, synchronizing global clocks, aggregating metrics, and identifying the "saturation point" where a service can no longer handle additional load. DiPerF was developed to address these needs by providing a scalable, automated architecture for WAN-based performance evaluation.

System Architecture and Methodology

DiPerF utilizes a Controller-Tester architecture designed for scalability and loose coupling to ensure the framework itself does not become a performance bottleneck.

The Controller and Testers

  • The Controller: Acts as the central management unit. It receives client code from the user, distributes it to various tester nodes, coordinates start times to gradually ramp up service load, and aggregates the final data for analysis.
  • The Testers: These are distributed machines (deployed on testbeds like PlanetLab) that execute the client code. They perform "RPC-like" network calls to the target service, measuring response times and reporting results back to the controller.

Key Innovations

To handle the complexities of distributed environments, DiPerF implements several critical features:

  • Clock Synchronization: Since tester nodes are spread globally, their internal clocks can drift by thousands of seconds. DiPerF uses a lightweight, centralized timestamp server that allows the controller to map all measurements to a single global timeline with an error margin of less than 100ms.
  • Automated Analysis: Beyond raw data collection, the framework employs moving averages and polynomial approximations to model service behavior. This allows researchers to predict how a service will perform under theoretical loads.
  • Fairness Metrics: DiPerF introduces a "service fairness" metric, which evaluates whether a server distributes its resources equitably among concurrent clients or exhibits bias toward specific nodes.

Experimental Evaluation

The framework was evaluated using two major distributed testbeds: PlanetLab, a global research network, and Grid3, a large-scale multi-virtual organization grid infrastructure. The primary targets for testing were the job submission components of the Globus Toolkit (GT3.2), specifically the legacy pre-WS GRAM and the then-new Web Services-based WS GRAM. An Apache HTTP server was also used as a baseline for high-frequency request testing.

Key Findings

  • CPU vs. Network Bottlenecks: For the pre-WS GRAM service, testing revealed that performance was largely unaffected by network latency. Instead, the service was found to be CPU-bound. The primary bottleneck was the server's processor overhead associated with creating and destroying job processes.
  • Legacy vs. Web Services: A significant discovery was that the newer WS GRAM was considerably less stable and had lower capacity than its predecessor. While pre-WS GRAM reached peak capacity at approximately 33 concurrent clients (handling ~200 jobs per minute), WS GRAM stalled after only 20 concurrent clients with a much lower throughput of roughly 10 jobs per minute. This forced a reduction in test scale from 89 machines to 26 for the WS-based tests.
  • Framework Scalability: The custom synchronization component achieved a mean time skew of only 62ms across PlanetLab. While the study focused on approximately 100 machines, the architecture is designed to scale to thousands of nodes.

Conclusion and Future Work

DiPerF successfully automates the performance evaluation of distributed services in realistic WAN environments, uncovering bottlenecks that LAN-based testing would miss. The framework's ability to identify the saturation points of the Globus Toolkit components demonstrates its utility for system architects.

Future development of DiPerF will focus on automating the server-side setup and implementing more sophisticated tester selection algorithms (e.g., selecting nodes based on specific bandwidth or latency requirements). Additionally, the authors intend to evaluate Globus Toolkit 4.0 to determine if the performance and stability issues identified in the version 3.2 Web Services implementation have been resolved.

Summary updated

Abstract

We present DiPerF, a distributed performance testing framework, aimed at simplifying and automating service performance evaluation. DiPerF coordinates a pool of machines that test a target service, collects and aggregates performance metrics, and generates performance statistics. The aggregate data collected provide information on service throughput, on service "fairness" when serving multiple clients concurrently, and on the impact of network latency on service performance. Furthermore, using this data, it is possible to build predictive models that estimate a service performance given the service load. We have tested DiPerF on 100+ machines on two testbeds, Grid3 and PlanetLab, and explored the performance of job submission services (pre WS GRAM and WS GRAM) included with Globus Toolkit 3.2.
BibTeX
@inproceedings{dumitrescu2004diperf,
  author = {Catalin Dumitrescu and Ioan Raicu and Matei Ripeanu and Ian T. Foster},
  title = {{DiPerF: an automated DIstributed PERformance testing Framework}},
  booktitle = {GRID},
  year = {2004},
  url = {https://openreview.net/forum?id=ByJHrsGoW4p},
}

Loading related content...

Figure