评估Docker容器在云中的科学工作负载
Evaluation of Docker Containers for Scientific Workloads in the Cloud
摘要:
HPC社区正在积极研究和评估工具,以支持在基于云的环境中执行科学应用程序。在各种技术中,容器最近变得越来越重要,因为与全面虚拟化相比,它们具有更好的性能,支持微服务和DevOps,并与工作流和编排工具无缝配合。Docker目前是容器化技术的领导者,因为它提供了低开销,灵活性,应用程序的可移植性和可重复性。Singularity是另一个有趣的容器解决方案,因为它是专门为科学应用而设计的。对容器技术进行性能和功能分析,以了解它们对每个应用程序和目标执行环境的适用性,这一点很重要。本文介绍了(1)Docker和Singularity在Chameleon云中的裸金属节点上的性能评估;(2)Docker容器可以通过RDMA通信与InfiniBand硬件映射的机制;(3)分析并行工作负载到容器的映射元素,以便使用容器就绪的编排工具进行最佳资源管理。我们的实验针对应用程序开发人员,以便他们能够在选择适合云基础设施上HPC工作负载的容器技术和方法方面做出明智的决定。我们的性能分析表明,基于Docker和Singularity的容器的科学工作负载可以实现接近原生的性能。Singularity专为HPC工作负载而设计。然而,Docker在云中的使用仍然优于Singularity,因为它提供了覆盖网络和一种直观的方式来运行MPI应用程序,每个等级一个容器,以进行细粒度的资源分配。
英文摘要:
The HPC community is actively researching and evaluating tools to support execution of scientific applications in cloud-based environments. Among the various technologies, containers have recently gained importance as they have significantly better performance compared to full-scale virtualization, support for microservices and DevOps, and work seamlessly with workflow and orchestration tools. Docker is currently the leader in containerization technology because it offers low overhead, flexibility, portability of applications, and reproducibility. Singularity is another container solution that is of interest as it is designed specifically for scientific applications. It is important to conduct performance and feature analysis of the container technologies to understand their applicability for each application and target execution environment. This paper presents a (1) performance evaluation of Docker and Singularity on bare metal nodes in the Chameleon cloud (2) mechanism by which Docker containers can be mapped with InfiniBand hardware with RDMA communication and (3) analysis of mapping elements of parallel workloads to the containers for optimal resource management with container-ready orchestration tools. Our experiments are targeted toward application developers so that they can make informed decisions on choosing the container technologies and approaches that are suitable for their HPC workloads on cloud infrastructure. Our performance analysis shows that scientific workloads for both Docker and Singularity based containers can achieve near-native performance. Singularity is designed specifically for HPC workloads. However, Docker still has advantages over Singularity for use in clouds as it provides overlay networking and an intuitive way to run MPI applications with one container per rank for fine-grained resources allocation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。