Memory-harvesting VMs in cloud platforms
Alexander Fuerst, Stanko Novakovic, Iñigo Goiri, Gohar Irfan Chaudhry, Prateek Sharma, Kapil Arya, Kevin Broas, Eugene Bak, Mehmet Iyigun, Ricardo Bianchini
摘要
Cloud platforms monetize their spare capacity by renting "Spot" virtual machines (VMs) that can be evicted in favor of higher-priority VMs. Recent work has shown that resource-harvesting VMs are more effective at exploiting spare capacity than Spot VMs, while also reducing the number of evictions. However, the prior work focused on harvesting CPU cores while keeping memory size fixed. This wastes a substantial monetization opportunity and may even limit the ability of harvesting VMs to leverage spare cores. Thus, in this paper, we explore memory harvesting and its challenges in real cloud platforms, namely its impact on VM creation time, NUMA spanning, and page fragmentation. We start by characterizing the amount and dynamics of the spare memory in Azure. We then design and implement memory-harvesting VMs (MHVMs), introducing new techniques for memory buffering, batching, and pre-reclamation. To demonstrate the use of MHVMs, we also extend a popular cluster scheduling framework (Hadoop) and a FaaS platform to adapt to them. Our main results show that (1) there is plenty of scope for memory harvesting in real platforms; (2) MHVMs are effective at mitigating the negative impacts of harvesting; and (3) our extensions of Hadoop and FaaS successfully hide the MHVMs' varying memory size from the users' data-processing jobs and functions. We conclude that memory harvesting has great potential for practical deployment and users can save up to 93% of their costs when running workloads on MHVMs.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 17 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- FaasCache: keeping serverless computing alive with greedy-dual caching 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- BlockFlex: Enabling Storage Harvesting with Software-Defined Flash in Modern Cloud Platforms 引用了 Providing SLOs for Resource-Harvesting VMs in Cloud Platforms
- BlockFlex: Enabling Storage Harvesting with Software-Defined Flash in Modern Cloud Platforms 引用了 SmartHarvest: harvesting idle CPUs safely and efficiently in the cloud
- TrEnv: Transparently Share Serverless Execution Environments Across Different Functions and Nodes 引用了 FaasCache: keeping serverless computing alive with greedy-dual caching
- TrEnv: Transparently Share Serverless Execution Environments Across Different Functions and Nodes 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- SmartHarvest: harvesting idle CPUs safely and efficiently in the cloud 引用了 Providing SLOs for Resource-Harvesting VMs in Cloud Platforms
引用它的顶会 Paper17
- BlockFlex: Enabling Storage Harvesting with Software-Defined Flash in Modern Cloud PlatformsBenjamin Reidys, Jinghan Sun, Anirudh Badam, Shadi A. Noghabi 等OSDI 2022 · 30 次引用
- Last-Level Cache Side-Channel Attacks Are Feasible in the Modern Public CloudZirui Neil Zhao, Adam Morrison, Christopher W. Fletcher, Josep TorrellasASPLOS 2024 · 20 次引用
- A Tale of Two Paths: Toward a Hybrid Data Plane for Efficient Far-Memory ApplicationsLei Chen, Shi Liu, Chenxi Wang, Haoran Ma 等OSDI 2024 · 16 次引用
- TrEnv: Transparently Share Serverless Execution Environments Across Different Functions and NodesJialiang Huang, Mingxing Zhang, Teng Ma, Zheng Liu 等SOSP 2024 · 14 次引用
- Translation-optimized Memory Compression for CapacityGagandeep Panwar, Muhammad Laghari, David Bears, Yuqing Liu 等MICRO 2022 · 12 次引用
它引用的 Paper5
- Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud ProviderMohammad Shahrad, Rodrigo Fonseca, Iñigo Goiri, Gohar Irfan Chaudhry 等USENIX ATC 2020 · 946 次引用
- FaasCache: keeping serverless computing alive with greedy-dual cachingAlexander Fuerst, Prateek SharmaASPLOS 2021 · 223 次引用
- Providing SLOs for Resource-Harvesting VMs in Cloud PlatformsPradeep Ambati, Iñigo Goiri, Felipe Vieira Frujeri, Alper Gun 等OSDI 2020 · 101 次引用
- SmartHarvest: harvesting idle CPUs safely and efficiently in the cloudYawen Wang, Kapil Arya, Marios Kogias, Manohar Vanga 等EuroSys 2021 · 53 次引用
- Cloud-scale VM-deflation for Running Interactive Applications On Transient ServersAlexander Fuerst, Ahmed Ali-Eldin, Prashant J. Shenoy, Prateek SharmaHPDC 2020 · 12 次引用
相关 Paper
- Faster and Cheaper Serverless Computing on Harvested ResourcesYanqi Zhang, Iñigo Goiri, Gohar Irfan Chaudhry, Rodrigo Fonseca 等SOSP 2021 · 131 次引用
- Unlocking unallocated cloud capacity for long, uninterruptible workloadsAnup Agarwal, Shadi A. Noghabi, Íñigo Goiri, Srinivasan Seshan 等NSDI 2023 · 9 次引用
- HardHarvest: Hardware-Supported Core Harvesting for MicroservicesJovan Stojkovic, Chunao Liu, Muhammad Shahbaz, Josep TorrellasISCA 2025 · 4 次引用
- Harvesting Memory-bound CPU Stall Cycles in Software with MSHZhihong Luo, Sam Son, Sylvia Ratnasamy, Scott ShenkerOSDI 2024 · 5 次引用
- Aggregate VM: Why Reduce or Evict VM's Resources When You Can Borrow Them From Other Nodes?Ho-Ren Chuang, Karim Manaouil, Tong Xing, Antonio Barbalace 等EuroSys 2023 · 14 次引用
