Lune

NSDI2025Top-tier venue

GRANNY: Granular Management of Compute-Intensive Applications in the Cloud

Carlos Segarra, Simon Shillaker, Guo Li, Eleftheria Mappoura, Rodrigo Bruno, Lluís Vilanova, Peter R. Pietzuch

Abstract

Parallel applications are typically implemented using multithreading (with shared memory, e.g., OpenMP) or multiprocessing (with message passing, e.g., MPI). While it seems attractive to deploy such applications in cloud virtual machines (VMs), existing cloud schedulers fail to manage such applications efficiently: they cannot scale multi-threaded applications dynamically when more CPU cores in a VM become available, and they cause fragmentation over time due to the static allocation of multi-process applications to VMs.

We describe GRANNY, a new distributed runtime that enables the fine-granular management of multi-threaded/process applications in cloud environments. GRANNY supports the vertical scaling of multi-threaded applications within a VM and the horizontal migration of multi-process applications between VMs. GRANNY achieves both through a single WebAssembly-based execution abstraction: Granules can execute application code with thread or process semantics and allow for efficient snapshotting. GRANNY scales up applications by adding more Granules, and de-fragments applications by migrating Granules between VMs. In both cases, it launches new Granules from snapshots efficiently. We evaluate GRANNY with dynamic scheduling policies and show that, compared to current schedulers, it reduces the makespan for OpenMP workloads by up to 60% and the fragmentation for MPI workloads by up to 25%.

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.

2 top-tier papers have 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

  • Burst Computing: Quick, Sudden, Massively Parallel Processing on Serverless Resources cites Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
  • Burst Computing: Quick, Sudden, Massively Parallel Processing on Serverless Resources cites No Provisioned Concurrency: Fast RDMA-codesigned Remote Fork for Serverless Computing
  • Going beyond the Limits of SFI: Flexible and Secure Hardware-Assisted In-Process Isolation with HFI cites Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
  • Hierarchical Integration of WebAssembly in Serverless for Efficiency and Interoperability cites Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
  • No Provisioned Concurrency: Fast RDMA-codesigned Remote Fork for Serverless Computing cites Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Burst Computing: Quick, Sudden, Massively Parallel Processing on Serverless ResourcesDaniel Barcelona Pons, Aitor Arjona, Pedro García López, Enrique Molina-Giménez et al.USENIX ATC 2025 · 3 citations
  2. Hierarchical Integration of WebAssembly in Serverless for Efficiency and InteroperabilityMohammadamin Baqershahi, Changyuan Lin, Visal Saosuo, Paul Chen et al.NSDI 2026 · 2 citations

Builds on6

  1. Faasm: Lightweight Isolation for Efficient Stateful Serverless ComputingSimon Shillaker, Peter R. PietzuchUSENIX ATC 2020 · 382 citations
  2. No Provisioned Concurrency: Fast RDMA-codesigned Remote Fork for Serverless ComputingXingda Wei, Fangming Lu, Tianxia Wang, Jinyu Gu et al.OSDI 2023 · 78 citations
  3. MigrOS: Transparent Live-Migration Support for Containerised RDMA ApplicationsMaksym Planeta, Jan Bierbaum, Leo Sahaya Daphne Antony, Torsten Hoefler et al.USENIX ATC 2021 · 27 citations
  4. Going beyond the Limits of SFI: Flexible and Secure Hardware-Assisted In-Process Isolation with HFIShravan Narayan, Tal Garfinkel, Mohammadkazem Taram, Joey Rudek et al.ASPLOS 2023 · 27 citations
  5. RIBBON: cost-effective and qos-aware deep learning model inference using a diverse pool of cloud computing instancesBaolin Li, Rohan Basu Roy, Tirthak Patel, Vijay Gadepally et al.SC 2021 · 16 citations

Related papers

  1. Advanced synchronization techniques for task-based runtime systemsDavid Álvarez, Kevin Sala, Marcos Maroñas, Aleix Roca et al.PPoPP 2021 · 24 citations
  2. Emma: Elastic Multi-Resource Management for Realtime Stream ProcessingRengan Dou, Xin Wang, Richard T. B. MaINFOCOM 2024 · 2 citations
  3. Ditto: Efficient Serverless Analytics with Elastic ParallelismChao Jin, Zili Zhang, Xingyu Xiang, Songyun Zou et al.SIGCOMM 2023 · 27 citations
  4. Nu: Achieving Microsecond-Scale Resource Fungibility with Logical ProcessesZhenyuan Ruan, Seo Jin Park, Marcos K. Aguilera, Adam Belay et al.NSDI 2023
  5. GRIT: Enhancing Multi-GPU Performance with Fine-Grained Dynamic Page PlacementYueqi Wang, Bingyao Li, Aamer Jaleel, Jun Yang et al.HPCA 2024 · 19 citations
Dusk over the sea between two cliffs drawn in fine vertical lines