DiPerF: An Automated DIstributed PERformance Testing Framework

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

TL;DR

DiPerF is an automated framework designed to take the headache out of performance-testing distributed services. By coordinating a global pool of "tester" machines, it allows researchers to measure how services like the Globus Toolkit handle real-world, wide-area network (WAN) traffic, identifying exactly where a system hits its breaking point.

What Problem Does This Paper Address?

Evaluating the performance of a distributed service is surprisingly difficult. Most developers rely on "everyday" testing harnesses built from scratch for a specific service, often running on a local area network (LAN). However, LAN tests are "clean" and don't reflect the messy reality of the internet—latency, jitter, and heterogeneous client connections.

Furthermore, manually deploying clients across hundreds of machines to stress-test a server is a logistical nightmare. The authors identify a need for a tool that can automate the entire lifecycle: deploying client code, synchronizing clocks across the globe, aggregating metrics, and finding the "saturation point" where a service can no longer handle additional load.

Methods

DiPerF uses a Controller-Tester architecture:

  • The Controller: Acts as the brain. It receives the client code from the user, distributes it to various tester nodes, coordinates the start times to gradually ramp up load, and aggregates the final data.
  • The Testers: These are distributed machines (e.g., on PlanetLab) that run the actual client code. They measure "RPC-like" network calls to the target service and report back.

Key Innovations: * Loose Coupling: To ensure the framework itself doesn't become the bottleneck, components are loosely coupled. * Clock Synchronization: Since testers are spread across the world, their internal clocks are often wildly out of sync (sometimes by thousands of seconds). DiPerF implements a lightweight, centralized timestamp server that allows the controller to map all measurements to a single "global" timeline with an error of less than 100ms. * Automated Analysis: The framework doesn't just provide raw numbers; it uses moving averages and polynomial approximations to model service behavior and predict how it will perform under different loads.

Datasets

The authors evaluated DiPerF using two major distributed testbeds:

  1. PlanetLab: A global research network for developing new network services.
  2. Grid3: A large-scale multi-virtual organization Grid computing infrastructure.

The "target services" tested were the job submission components of the Globus Toolkit (GT3.2):

  • pre-WS GRAM: The legacy version of the Grid Resource Allocation & Management service.
  • WS GRAM: The then-new Web Services-based version.
  • Apache HTTP: Used as a baseline for testing high-frequency, fine-grained requests.

Key Insights and Ideas

  • The "Fairness" Metric: Beyond just speed (latency) and volume (throughput), DiPerF measures "service fairness"—whether the server distributes its resources equally among all concurrent clients or favors some over others.
  • WAN Latency vs. CPU Bottlenecks: Interestingly, for the pre-WS GRAM service, the authors found that performance was largely unaffected by network latency. Instead, the service was CPU-bound, hitting a wall when the server's processor could no longer manage the overhead of creating and destroying job processes.
  • Newer Isn't Always Faster: A surprising "aha" moment was that the newer Web Services-based GRAM (WS GRAM) was significantly less stable and had lower capacity than the legacy version. It stalled after only a few requests when tested with the same load as the legacy version, forcing the researchers to scale down their test from 89 machines to just 26.

Key Results

  • pre-WS GRAM: Reached peak capacity at approximately 33 concurrent clients, handling about 200 jobs per minute. Beyond 33 clients, response times began to fluctuate wildly and increase rapidly.
  • WS GRAM: Reached peak capacity at only 20 concurrent clients, with a much lower throughput of roughly 10 jobs per minute.
  • Clock Accuracy: The custom synchronization component achieved a mean time skew of 62ms across the PlanetLab testbed, which was sufficient for services with response times in the hundreds of milliseconds.
  • Scalability: While the paper demonstrates results using 89 machines, the authors designed the framework to scale to thousands of nodes.

Limitations and Future Work

The current version of DiPerF assumes the target service is already deployed and running; it doesn't automate the server-side setup. Additionally, the framework currently selects tester nodes somewhat randomly.

The authors plan to:

  • Extend the framework to select testers based on specific requirements (e.g., "give me 50 nodes with high bandwidth and low latency").
  • Test the then-upcoming Globus Toolkit 4.0, which promised to fix the performance issues seen in the 3.2 Web Services implementation.
  • Incorporate more complex metrics required for Wide Area Network (WAN) environments.

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/spl reg/ 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