Skip to main content
QUICK REVIEW

[Paper Review] ADARES: Adaptive Resource Management for Virtual Machines

Ignacio Cano, Lequn Chen|arXiv (Cornell University)|Dec 5, 2018
Cloud Computing and Resource ManagementComputer Science52 references3 citations
TL;DR

AdaRes is an adaptive resource management system that dynamically tunes virtual machine (VM) vCPUs and memory using contextual bandits and transfer learning to optimize resource utilization. It reduces CPU and memory provisioning by up to 35% and 60% respectively, while maintaining predictable VM performance in real enterprise clusters.

ABSTRACT

Virtual execution environments allow for consolidation of multiple applications onto the same physical server, thereby enabling more efficient use of server resources. However, users often statically configure the resources of virtual machines through guesswork, resulting in either insufficient resource allocations that hinder VM performance, or excessive allocations that waste precious data center resources. In this paper, we first characterize real-world resource allocation and utilization of VMs through the analysis of an extensive dataset, consisting of more than 250k VMs from over 3.6k private enterprise clusters. Our large-scale analysis confirms that VMs are often misconfigured, either overprovisioned or underprovisioned, and that this problem is pervasive across a wide range of private clusters. We then propose ADARES, an adaptive system that dynamically adjusts VM resources using machine learning techniques. In particular, ADARES leverages the contextual bandits framework to effectively manage the adaptations. Our system exploits easily collectible data, at the cluster, node, and VM levels, to make more sensible allocation decisions, and uses transfer learning to safely explore the configurations space and speed up training. Our empirical evaluation shows that ADARES can significantly improve system utilization without sacrificing performance. For instance, when compared to threshold and prediction-based baselines, it achieves more predictable VM-level performance and also reduces the amount of virtual CPUs and memory provisioned by up to 35% and 60% respectively for synthetic workloads on real clusters.

Motivation & Objective

  • To characterize real-world VM resource allocation and utilization across thousands of enterprise clusters.
  • To identify pervasive issues of overprovisioning and underprovisioning due to static, guess-based configurations.
  • To design and implement AdaRes, an adaptive system that dynamically adjusts VM resources using machine learning.
  • To enable safe and efficient exploration of configuration space via simulation-based pre-training and transfer learning.
  • To improve system-wide resource efficiency while maintaining predictable VM performance.

Proposed method

  • AdaRes employs the contextual bandits framework to make real-time, data-driven decisions on vCPU and memory allocation for VMs.
  • It leverages multi-level system telemetry—cluster, node, and VM-level metrics—to inform resource adaptation decisions.
  • The system uses transfer learning by pre-training models on a cluster simulator built from benchmark data, enabling faster and safer deployment in production.
  • The simulator enables offline warm-up of models, reducing risky online exploration and accelerating convergence in real clusters.
  • It applies a contextual bandit formulation that balances exploration and exploitation using historical and real-time workload characteristics.
  • The approach is compatible with existing cluster schedulers and operates without requiring changes to VM workloads or underlying infrastructure.

Experimental results

Research questions

  • RQ1To what extent are VMs overprovisioned or underprovisioned in real enterprise clusters?
  • RQ2How does workload variability over time affect the effectiveness of static resource allocation?
  • RQ3Can a contextual bandit-based system safely and efficiently adapt VM resource allocations in production environments?
  • RQ4How does transfer learning from simulated environments improve the performance and safety of online resource adaptation?
  • RQ5What level of resource savings and performance stability can be achieved compared to threshold- and prediction-based baselines?

Key findings

  • AdaRes reduces virtual CPU provisioning by up to 35% and memory provisioning by up to 60% compared to baseline approaches on synthetic workloads.
  • The system achieves more predictable VM-level performance than threshold- and prediction-based baselines, even under dynamic workloads.
  • Transfer learning from a cluster simulator enables up to 2× faster training and safer exploration in production clusters.
  • The large-scale analysis reveals widespread overprovisioning and underprovisioning across 250k+ VMs in over 3.6k enterprise clusters.
  • Resource misconfigurations are pervasive and persistent, with significant variation in utilization over time and across VMs.
  • The system’s use of multi-level telemetry (cluster, node, VM) enables more informed and effective resource allocation decisions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.