Skip to main content
QUICK REVIEW

[Paper Review] Scylla: A Mesos Framework for Container Based MPI Jobs

Pankaj Saha, Angel Beltre|arXiv (Cornell University)|Jan 1, 2019
Cloud Computing and Resource ManagementComputer Science10 references10 citations
TL;DR

Scylla is a Mesos framework that integrates Apache Mesos with Docker Swarm to enable efficient orchestration of containerized MPI jobs on cloud-based HPC clusters. By leveraging policy-driven scheduling based on CPU, memory, and network requirements, Scylla co-schedules containers across VMs to minimize resource contention and network overhead, improving performance for both CPU/memory-intensive and network-intensive MPI workloads.

ABSTRACT

Open source cloud technologies provide a wide range of support forcreating customized compute node clusters to schedule tasks andmanaging resources. In cloud infrastructures such asJetstream and Chameleon, which are used for scientific research, usersreceive complete control of the Virtual Machines (VM) that are allocated tothem. Importantly, users get root access to the VMs. This provides anopportunity for HPC users to experiment with new resource managementtechnologies such as Apache Mesos that have proven scalability,flexibility, and fault tolerance. To ease the development anddeployment of HPC tools on the cloud, the containerization technologyhas matured and is gaining interest in the scientific community. Inparticular, several well known scientific code bases now have publiclyavailable Docker containers. While Mesos provides support for Dockercontainers to execute individually, it does not provide support forcontainer inter-communication or orchestration of the containers for aparallel or distributed application. In this paper, we present thedesign, implementation, and performance analysis of a Mesos framework,{\it Scylla}, which integrates Mesos with Docker Swarm to enableorchestration of MPI jobs on a cluster of VMs acquired from theChameleon cloud\cite{ChameleonCloud}. Scylla uses Docker Swarm for communication betweencontainerized tasks (MPI processes) and Apache Mesos for resourcepooling and allocation. Scylla allows a policy driven approach todetermine how the containers should be distributed across the nodesdepending on the CPU, memory, and network throughput requirement foreach application.

Motivation & Objective

  • To address the lack of native MPI and inter-container communication support in Apache Mesos for scientific workloads.
  • To enable efficient co-scheduling and distribution of Dockerized MPI processes across VMs in cloud environments like Chameleon.
  • To provide a policy-driven approach that optimizes container placement based on application-specific resource needs (CPU, memory, network).
  • To improve resource utilization and application throughput by combining Mesos' resource pooling with Docker Swarm's container networking and orchestration.
  • To evaluate the performance of containerized MPI jobs under different scheduling policies and workloads.

Proposed method

  • Scylla is implemented as a Mesos framework that uses Mesos for resource allocation and scheduling across VMs.
  • It leverages Docker Swarm as the underlying orchestrator to manage container networking and inter-process communication for MPI processes.
  • The framework uses a policy-driven scheduler that analyzes CPU, memory, and network requirements to determine optimal container placement across nodes.
  • Resource offers from Mesos are negotiated using Dominant Resource Fairness (DRF), while Docker Swarm handles container lifecycle and overlay networking.
  • The system supports co-scheduling of multiple containers on the same node to reduce inter-node communication overhead.
  • The framework integrates with cloud infrastructures like Chameleon, where users have root access to VMs and can deploy custom resource management stacks.

Experimental results

Research questions

  • RQ1How can MPI workloads be efficiently orchestrated in containerized environments using cloud-native resource managers like Apache Mesos?
  • RQ2What scheduling policies minimize performance degradation due to inter-container communication and resource contention in distributed MPI jobs?
  • RQ3How does the integration of Docker Swarm with Mesos affect the performance of CPU-intensive, memory-intensive, and network-intensive MPI applications?
  • RQ4To what extent does policy-driven container placement improve resource utilization and application throughput in cloud-based HPC clusters?
  • RQ5What are the performance trade-offs between co-locating containers on the same node versus distributing them across multiple nodes?

Key findings

  • Scylla successfully enables end-to-end orchestration of containerized MPI jobs by combining Mesos for resource management and Docker Swarm for inter-container networking.
  • Policy-driven scheduling significantly improves performance by placing containers based on application characteristics—keeping network-intensive jobs close and avoiding resource contention for CPU/memory-heavy workloads.
  • For network-intensive MPI applications, co-locating containers on the same node reduced communication overhead and improved throughput.
  • For CPU and memory-intensive workloads, spreading containers across nodes reduced resource contention and improved execution time compared to co-location.
  • The integration of Mesos and Docker Swarm enabled efficient co-scheduling, leading to better resource utilization and reduced idle time.
  • Performance evaluation showed that virtual network communication in Docker Swarm adds minimal overhead, but network-bound applications are sensitive to inter-node communication latency.

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.