mWarp: Accelerating Intra-Host Live Container Migration via Memory Warping

Piush K. Sinha, Spoorti Doddamani, Hui Lu, Kartik Gopalan
{"title":"mWarp: Accelerating Intra-Host Live Container Migration via Memory Warping","authors":"Piush K. Sinha, Spoorti Doddamani, Hui Lu, Kartik Gopalan","doi":"10.1109/INFCOMW.2019.8845167","DOIUrl":null,"url":null,"abstract":"Live container migration allows containers to roam from one server to another to achieve agility goals like load balancing, tackling machine failures, scaling in/out and reallocating resources. However, migrating a container is also costly mainly due to memory state migration — a large number of memory pages need to be copied from the source server to the destination server. In this paper, we propose a fast and live container migration approach, mWarp, in an intra-host scenario, where both the source and destination virtual machine (VM) servers reside on the same physical host. Instead of copying a container's memory, mWarp relocates the ownership of the container's physical memory pages from the source VM to the destination VM with a highly-efficient memory remapping mechanism. As relocation of memory ownership is light-weight, mWarp leads to fast and live container migration with less service disruption to applications running in containers being migrated. We implement mWarp upon a well-known live container migration tool (CRIU) with key kernel/hypervisor-level support. The evaluation with both micro benchmarks and real-world applications shows that mWarp greatly reduces the total container migration time and downtime (e.g., by an order of magnitude) with significantly improved application-level performance (e.g., by 20%).","PeriodicalId":321862,"journal":{"name":"IEEE INFOCOM 2019 - IEEE Conference on Computer Communications Workshops (INFOCOM WKSHPS)","volume":"9 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE INFOCOM 2019 - IEEE Conference on Computer Communications Workshops (INFOCOM WKSHPS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/INFCOMW.2019.8845167","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5

Abstract

Live container migration allows containers to roam from one server to another to achieve agility goals like load balancing, tackling machine failures, scaling in/out and reallocating resources. However, migrating a container is also costly mainly due to memory state migration — a large number of memory pages need to be copied from the source server to the destination server. In this paper, we propose a fast and live container migration approach, mWarp, in an intra-host scenario, where both the source and destination virtual machine (VM) servers reside on the same physical host. Instead of copying a container's memory, mWarp relocates the ownership of the container's physical memory pages from the source VM to the destination VM with a highly-efficient memory remapping mechanism. As relocation of memory ownership is light-weight, mWarp leads to fast and live container migration with less service disruption to applications running in containers being migrated. We implement mWarp upon a well-known live container migration tool (CRIU) with key kernel/hypervisor-level support. The evaluation with both micro benchmarks and real-world applications shows that mWarp greatly reduces the total container migration time and downtime (e.g., by an order of magnitude) with significantly improved application-level performance (e.g., by 20%).
mWarp:通过内存翘曲加速主机内容器迁移
实时容器迁移允许容器从一台服务器漫游到另一台服务器,以实现敏捷性目标,如负载平衡、处理机器故障、伸缩和重新分配资源。然而,由于内存状态迁移,迁移容器的成本也很高——需要将大量内存页面从源服务器复制到目标服务器。在本文中,我们在主机内场景中提出了一种快速且实时的容器迁移方法mWarp,其中源和目标虚拟机(VM)服务器都位于同一物理主机上。mWarp没有复制容器的内存,而是使用高效的内存重新映射机制将容器的物理内存页的所有权从源VM重新定位到目标VM。由于内存所有权的重新定位是轻量级的,因此mWarp可以实现快速和实时的容器迁移,同时减少对正在迁移的容器中运行的应用程序的服务中断。我们在一个著名的实时容器迁移工具(CRIU)上实现mWarp,该工具具有关键的内核/管理程序级别支持。对微基准测试和实际应用程序的评估表明,mWarp大大减少了容器迁移的总时间和停机时间(例如,减少了一个数量级),并显著提高了应用程序级性能(例如,提高了20%)。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信