Lune

KDD2022Top-tier venue

Solving the Batch Stochastic Bin Packing Problem in Cloud: A Chance-constrained Optimization Approach

Jie Yan, Yunlei Lu, Liting Chen, Si Qin, Yixin Fang, Qingwei Lin, Thomas Moscibroda, Saravan Rajmohan, Dongmei Zhang

Abstract

This paper investigates a critical resource allocation problem in the first party cloud: scheduling containers to machines. There are tens of services and each service runs a set of homogeneous containers with dynamic resource usage; containers of a service are scheduled daily in a batch fashion. This problem can be naturally formulated as Stochastic Bin Packing Problem (SBPP). However, traditional SBPP research often focuses on cases of empty machines, whose objective, i.e., to minimize the number of used machines, is not well-defined for the more common reality with nonempty machines. This paper aims to close this gap. First, we define a new objective metric, Used Capacity at Confidence (UCaC), which measures the maximum used resources at a probability and is proved to be consistent for both empty and nonempty machines, and reformulate the SBPP under chance constraints. Second, by modeling the container resource usage distribution in a generative approach, we reveal that UCaC can be approximated with Gaussian, which is verified by trace data of real-world applications. Third, we propose an exact solver by solving the equivalent cutting stock variant as well as two heuristics-based solvers -UCaC best fit, bi-level heuristics. We experimentally evaluate these solvers on both synthetic datasets and real application traces, demonstrating our methodology's advantage over traditional SBPP optimal solver minimizing the number of used machines, with a low rate of resource violations.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. MetaMuse: Algorithm Generation via Creative IdeationRuiying Ma, Chieh-Jan Mike Liang, Yanjie Gao, Francis Y. YanICLR 2026 · 4 citations

Builds on3

  1. Autopilot: workload autoscaling at GoogleKrzysztof Rzadca, Pawel Findeisen, Jacek Swiderski, Przemyslaw Zych et al.EuroSys 2020 · 299 citations
  2. Solving Large-Scale Granular Resource Allocation Problems Efficiently with POPDeepak Narayanan, Fiodar Kazhamiaka, Firas Abuzaid, Peter Kraft et al.SOSP 2021 · 56 citations
  3. Improving resource utilization by timely fine-grained schedulingTatiana Jin, Zhenkun Cai, Boyang Li, Chengguang Zheng et al.EuroSys 2020 · 27 citations

Related papers

  1. Following the Usage, Not the Request: Risk-Aware Task Scheduling with Overbooking in Edge CloudsTie Ma, Shan Zhang, Xiaoyu Zhang, Zichuan Zheng et al.INFOCOM 2026
  2. Learning Cooperative Oversubscription for Cloud by Chance-Constrained Multi-Agent Reinforcement LearningJunjie Sheng, Lu Wang, Fangkai Yang, Bo Qiao et al.WWW 2023 · 10 citations
  3. AUDIBLE: A Convolution-Based Resource Allocator for Oversubscribing Burstable Virtual MachinesSeyed Ali Jokar Jandaghi, Kaveh Mahdaviani, Amirhossein Mirhosseini, Sameh Elnikety et al.ASPLOS 2024 · 1 citation
  4. Multiple-play Stochastic Bandits with Prioritized Arm Capacity SharingHong Xie, Haoran Gu, Yanying Huang, Tao Tan et al.AAAI 2026
  5. On Efficient Zygote Container Planning toward Fast Function Startup in Serverless Edge CloudYuepeng Li, Deze Zeng, Lin Gu, Mingwei Ou et al.INFOCOM 2023 · 23 citations
Dusk over the sea between two cliffs drawn in fine vertical lines