CARL: Cost-Optimized Online Container Placement on VMs Using Adversarial Reinforcement Learning

Containerization has become popular for the deployment of applications on public clouds. Large enterprises may host 100 s of applications on 1000 s containers that are placed onto Virtual Machines (VMs). Such placement decisions happen continuously as applications are updated by DevOps pipelines that deploy the containers. Managing the placement of container resource requests onto the available capacities of VMs needs to be cost-efficient. This is well-studied, and usually modelled as a multi-dimensional Vector Bin-packing Problem (VBP). Many heuristics, and recently machine learning approaches, have been developed to solve this NP-hard problem for real-time decisions. We propose CARL, a novel approach to solve VBP through Adversarial Reinforcement Learning (RL) for cost minimization. It mimics the placement behavior of an offline semi-optimal VBP solver (teacher), while automatically learning a reward function for reducing the VM costs which out-performs the teacher. It requires limited historical container workload traces to train, and is resilient to changes in the workload distribution during inferencing. We extensively evaluate CARL on workloads derived from realistic traces from Google and Alibaba for the placement of 5 k–10 k container requests onto 2 k–8 k VMs, and compare it with classic heuristics and state-of-the-art RL methods. (1) CARL is <i>fast</i>, e.g., making placement decisions at <inline-formula><tex-math notation="LaTeX">$\approx 1900$</tex-math></inline-formula> requests/sec onto 8,900 candidate VMs. (2) It is <i>efficient</i>, achieving <inline-formula><tex-math notation="LaTeX">$\approx 16\%$</tex-math></inline-formula> lower VM costs than classic and contemporary RL methods. (3) It is <i>robust</i> to changes in the workload, offering competitive results even when the resource needs or inter-arrival time of the container requests skew from the training workload.

Authors

Institutions

Publication Details

Journal
IEEE Transactions on Cloud Computing
Published
2025-01-01
DOI
https://doi.org/10.1109/tcc.2025.3528446
Citations
2
Primary Topic
Image and Video Quality Assessment
Type
article
Field-Weighted Citation Impact
2.55
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

CARL: Cost-Optimized Online Container Placement on VMs Using Adversarial Reinforcement Learning

Anirban Chakraborty, Yogesh Simmhan, Saswat Mallick, Prathamesh Saraf Vinayak et al.
2 citations
IEEE Transactions on Cloud Computing
Image and Video Quality Assessment
2.55
article

CARL: Cost-Optimized Online Container Placement on VMs Using Adversarial Reinforcement Learning

Anirban Chakraborty, Yogesh Simmhan, Saswat Mallick, Prathamesh Saraf Vinayak, Lakshmi Jagarlamudi
article en
2 citations

Abstract

Containerization has become popular for the deployment of applications on public clouds. Large enterprises may host 100 s of applications on 1000 s containers that are placed onto Virtual Machines (VMs). Such placement decisions happen continuously as applications are updated by DevOps pipelines that deploy the containers. Managing the placement of container resource requests onto the available capacities of VMs needs to be cost-efficient. This is well-studied, and usually modelled as a multi-dimensional Vector Bin-packing Problem (VBP). Many heuristics, and recently machine learning approaches, have been developed to solve this NP-hard problem for real-time decisions. We propose CARL, a novel approach to solve VBP through Adversarial Reinforcement Learning (RL) for cost minimization. It mimics the placement behavior of an offline semi-optimal VBP solver (teacher), while automatically learning a reward function for reducing the VM costs which out-performs the teacher. It requires limited historical container workload traces to train, and is resilient to changes in the workload distribution during inferencing. We extensively evaluate CARL on workloads derived from realistic traces from Google and Alibaba for the placement of 5 k–10 k container requests onto 2 k–8 k VMs, and compare it with classic heuristics and state-of-the-art RL methods. (1) CARL is <i>fast</i>, e.g., making placement decisions at <inline-formula><tex-math notation="LaTeX">$\approx 1900$</tex-math></inline-formula> requests/sec onto 8,900 candidate VMs. (2) It is <i>efficient</i>, achieving <inline-formula><tex-math notation="LaTeX">$\approx 16\%$</tex-math></inline-formula> lower VM costs than classic and contemporary RL methods. (3) It is <i>robust</i> to changes in the workload, offering competitive results even when the resource needs or inter-arrival time of the container requests skew from the training workload.

IEEE Transactions on Cloud ComputingVol. 13(1)
Indian Institute of Science Bangalore (IN)
Openalex Percentile: Top 13%
Image and Video Quality Assessment
2.55
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

CARL: Cost-Optimized Online Container Placement on VMs Using Adversarial Reinforcement Learning — Anirban Chakraborty, Yogesh Simmhan, et al. · IEEE Transactions on Cloud Computing (2025) | TGRS Research Map | TGRS