Cloud Benchmarking for Performance

Blesson Varghese, Ozgur Akgun, Ian Miguel, Long Thai, Adam Barker

Introduction

The modern cloud marketplace offers an overwhelming variety of Virtual Machine (VM) instances, each optimized for different workloads. For developers and architects, selecting the optimal VM type is often a process of trial and error, leading to either sub-optimal application performance or unnecessary infrastructure costs. While standard benchmarks provide raw performance data, they often fail to account for the specific resource requirements of individual applications. This paper presents a systematic, weighted benchmarking methodology designed to bridge the gap between hardware metrics and application-specific needs.

Methodology: A Weighted Ranking System

The proposed approach utilizes a six-step methodology to transform raw benchmark data into a personalized ranking of VM candidates. This process allows users to prioritize hardware attributes that are most critical to their specific workload.

The six-step cloud benchmarking and validation methodology.
  1. Capture Attributes: Raw performance metrics are collected, such as integer operations per second or memory latency.
  2. Group Attributes: Metrics are categorized into four logical resource groups: Memory and Process, Local Communication, Computation, and Storage.
  3. Benchmark VMs: Standardized tools (e.g., sysbench, lmbench, bonnie++) are used to evaluate these attributes across a range of candidate VMs.
  4. Normalize Groups: To allow for cross-metric comparison, Z-score normalization is applied to the data, bringing disparate units into a common scale.
  5. Weight Groups: Users assign a weight (0 to 5) to each resource group based on their application's profile (e.g., a compute-heavy scientific simulation might weight Computation as 5 and Storage as 1).
  6. Rank VMs: A final performance score is calculated for each VM by aggregating the weighted normalized scores.

Experimental Evaluation

The methodology was validated using 12 different Amazon EC2 instance types, ranging from general-purpose (m1.xlarge) to specialized high-memory (cr1.8xlarge) and GPU-optimized (cg1.4xlarge) instances. Two real-world applications served as test cases:

  • Aggregate Risk Analysis: A financial application characterized by high memory and computational demands.
  • Molecular Dynamics Simulation: A scientific workload requiring intensive computation and inter-process communication.

Results and Discussion

The experimental results underscored a significant performance disparity across the cloud landscape. For identical tasks, execution times varied by as much as 200% depending on the chosen VM.

Comparison of computational performance (division and modulus operations) across VM types.

As shown in the computational benchmarks, older or general-purpose instances like m1.xlarge exhibit significantly higher latencies for basic arithmetic operations compared to modern, specialized instances. Furthermore, the study revealed that the "best" VM often changes when moving from sequential to parallel execution. For instance, while some VMs performed well in single-threaded tests, the cr1.8xlarge and cc2.8xlarge instances dominated parallel workloads due to superior vCPU counts and communication bandwidth.

The weighted methodology demonstrated high predictive accuracy. The predicted rankings achieved a correlation of up to 93% with actual empirical runtimes for the financial application and 90% for the scientific simulation. In the molecular dynamics case, selecting the top-ranked VM resulted in a 14x speedup over the baseline m2.xlarge instance during parallel execution.

Conclusion

This weighted benchmarking methodology provides a reliable shortcut for developers to identify high-performing cloud instances without exhaustive testing. By aligning hardware evaluation with application requirements, users can achieve significant performance gains and cost efficiencies. Future work will focus on integrating a cost-benefit model to balance performance against pricing and addressing the impact of "noisy neighbors" on shared cloud infrastructure.

Summary updated

BibTeX
@inproceedings{varghese2014cloud,
  author = {Blesson Varghese and Ozgur Akgun and Ian Miguel and Long Thai and Adam Barker},
  title = {{Cloud Benchmarking for Performance}},
  booktitle = {CloudCom},
  year = {2014},
  doi = {10.1109/cloudcom.2014.28},
}
Figure