A Deep-learning-based approach to VM behavior Identification in Cloud Systems

Matteo Stefanini, Riccardo Lancellotti, Lorenzo Baraldi, Simone Calderara

Introduction

Managing modern cloud data centers involves overseeing thousands of Virtual Machines (VMs). Efficient management relies on grouping VMs with similar "personalities"—those exhibiting comparable resource usage patterns. Traditional unsupervised clustering methods, however, often prove too slow for the dynamic nature of on-demand instances. Stefanini et al. propose a shift toward supervised deep learning to achieve rapid and accurate VM behavior identification.

Problem Statement

In Infrastructure-as-a-Service (IaaS) environments, providers monitor telemetry (CPU, memory, network) to optimize resource placement. Treating thousands of VMs as independent entities is computationally prohibitive. Existing techniques like AGATE or PCA-based clustering face a significant trade-off: they either require long observation periods to reach high confidence or suffer from high error rates. For short-lived VMs, a classification delay of several hours is unacceptable.

Methodology: DeepConv and DeepFFT

The researchers treat VM telemetry as a multi-channel signal, applying 1D Convolutional Neural Networks (CNNs) through two architectures:

  1. DeepConv: Processes raw time-series data to identify local patterns in resource usage.
  2. DeepFFT: Utilizes a Fast Fourier Transform (FFT) to convert data into the frequency domain, capturing periodic workload characteristics.

The models feature Adaptive Depth, where the number of convolutional blocks scales with the input sequence length ($W$) to ensure the final layer's receptive field covers the entire time window. Each block consists of a 1D Convolution, Batch Normalization, and ReLU activation. By using supervised learning, these models allow for near-instant inference once a VM begins producing telemetry.

Experimental Setup

Validation was performed using real-world traces from a university data center, focusing on Web-servers and SQL-servers. Sixteen metrics, including CPU utilization and network traffic, were collected every five minutes. Data was normalized and augmented using a 75% sequence overlap.

Key Results and Insights

The proposed models significantly outperform traditional statistical methods in both speed and accuracy.

  • The "Short Window" Advantage: DeepConv achieved 0% error with just 4 observations (20 minutes of data). This suggests that software-specific "micro-signatures" are immediately detectable via 1D convolutions.
  • Comparison with State-of-the-Art: While PCA-based clustering showed an error rate of nearly 18% for short windows, DeepConv maintained perfect accuracy. Furthermore, unlike the AGATE method, which leaves many VMs in an "unclassified" gray area, the deep learning approach provides definitive classifications rapidly.
Figure 5: Percentage of misplaced VMs (error rate) for DeepConv and DeepFFT compared to PCA-based and AGATE methods over time.

As shown in Figure 5, both DeepConv and DeepFFT maintain consistently low error rates (under 1.5%) across extended periods, whereas previous methods exhibit significantly higher displacement rates or require much longer to stabilize.

Conclusion

The transition from unsupervised clustering to supervised deep learning enables cloud providers to identify VM behaviors with unprecedented speed and reliability. By achieving near-perfect accuracy in as little as 20 minutes, DeepConv and DeepFFT offer a viable solution for managing the highly dynamic workloads characteristic of modern cloud environments. Future work will explore expanding class variety and utilizing Generative Adversarial Networks (GANs) to handle noisier or more limited datasets.

Summary updated

BibTeX
@inproceedings{stefanini2019deep,
  author = {Matteo Stefanini and Riccardo Lancellotti and Lorenzo Baraldi and Simone Calderara},
  title = {{A Deep-learning-based approach to VM behavior Identification in Cloud Systems}},
  booktitle = {CLOSER},
  year = {2019},
  doi = {10.5220/0007708403080315},
}
Figure