Abstract
Cloud Infrastructure-as-a-Service (IaaS) providers offer a vast array of instance types categorized by marketing labels such as "compute-optimized" or "high-memory." However, these labels often fail to predict actual performance due to hardware heterogeneity and virtualization overhead. This study analyzes over 14,000 executions of memory-intensive and CPU-intensive workloads across Amazon EC2 and Google Compute Engine (GCE). Results indicate that higher costs do not consistently yield better performance, and significant intra-cloud variance exists, particularly in burstable instance types. The findings suggest that users should rely on empirical benchmarking rather than provider-defined "book values."
Introduction
When migrating to the cloud, developers are confronted with a "paradox of choice." Major IaaS providers like Amazon Web Services (AWS) and Google Cloud Platform (GCP) offer hundreds of instance permutations. Traditionally, selection is based on "book value"—the CPU, RAM, and storage specifications listed on pricing pages. However, these descriptions can be misleading. Factors such as hardware heterogeneity, "noisy neighbors" (multi-tenancy interference), and opaque virtualization layers mean that two instances with identical specifications may exhibit vastly different performance profiles. This paper seeks to quantify this intra-cloud variation to determine if instance classification reflects actual utility or merely marketing segmentation.
Methodology
The researchers conducted a seven-day longitudinal study to capture temporal performance fluctuations in Western Europe (Ireland) data centers. They focused on two major providers: Amazon EC2 and Google Compute Engine (GCE). Two representative open-source applications were deployed to test different resource bottlenecks:
- VARD: A single-threaded, memory-intensive Java application for natural language processing.
- smallpt: A multi-threaded, CPU-intensive C++ application for global illumination rendering.
Over 14,000 executions were recorded across 8 EC2 instance types (T2, M3, C4 series) and 7 GCE instance types (Standard, High Mem, High CPU series). Performance was visualized using violin plots to show the distribution and uncertainty of execution times, rather than just simple averages.
Key Insights and Performance Anomalies
The Myth of "You Get What You Pay For"
A primary finding is that higher price points do not always guarantee superior performance. For the memory-intensive VARD workload, the entry-level GCE instance (n1-standard-1) surprisingly outperformed more expensive "High Mem" and "High CPU" counterparts. This suggests that the overhead of specialized instance classes can sometimes outweigh their theoretical benefits for specific workloads.
Predictability and the "T2 Tax"
Workload type significantly impacts predictability. CPU-bound tasks (smallpt) generally showed higher consistency than memory-bound tasks (VARD), which are more susceptible to resource contention. However, AWS’s burstable t2 instances proved to be an exception, exhibiting extreme performance uncertainty. This variance is tied to the "CPU Credits" system; once credits are depleted, performance degrades sharply, making these instances unreliable for time-sensitive operations.
Cost-Efficiency and Throughput
The study revealed startling discrepancies in cost-efficiency. On EC2, a t2.small instance ($0.31 for 12 hours) could achieve roughly the same VARD throughput as a c4.xlarge ($2.76), representing a 9x price difference for nearly identical results. GCE instances generally offered more predictable, unimodal performance distributions compared to the often bimodal distributions seen in EC2, where instances frequently fluctuated between "fast" and "slow" states.
Conclusion
Because "book values" are unreliable indicators of real-world performance, the authors argue for the development of automated, adaptive brokers. Such tools would leverage live benchmarking and machine learning to navigate cloud complexity, selecting instances based on real-time performance data and specific user constraints (e.g., budget and deadline) rather than static marketing labels. As cloud hardware continues to evolve, this empirical approach will be essential for optimizing both performance and cost.
Summary updated