内存热区及其在加速虚拟机整合KSM收敛中的应用

Chun-Yuan Huang, Der-Yu Tsai, Che-Rung Lee
{"title":"内存热区及其在加速虚拟机整合KSM收敛中的应用","authors":"Chun-Yuan Huang, Der-Yu Tsai, Che-Rung Lee","doi":"10.1145/3492323.3500867","DOIUrl":null,"url":null,"abstract":"Memory deduplication, which detects and removes redundant memory pages, can efficiently increase the efficiency of memory usage. It is often used with virtualization technologies, such as virtual machines (VMs), to improve their memory utilization. However, current memory deduplication systems, such as KSM (Kernel Samepage Merging), suffer the problem of either slow convergence or high CPU usage. In this paper, we proposed an algorithm, called hotscan, to accelerate the convergence of KSM for VM consolidation. We have observed that the pages have higher chance to be merged among different VMs are clustered in certain memory regions, called memory hot-zone. Based on this observation, hot-scan changes the scanning rule of KSM to check the pages in hot-zones of all VMs first. A novel data structure, called transpose list, is proposed to efficiently carry out the new scanning pattern. Experiments show that our method can accelerate the speed of deduplication 20% to 30% faster than the vanilla KSM without consuming too much additional CPU resource.","PeriodicalId":440884,"journal":{"name":"Proceedings of the 14th IEEE/ACM International Conference on Utility and Cloud Computing Companion","volume":"19 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-12-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Memory hot-zone and its application to accelerate the convergence of KSM for VM consolidation\",\"authors\":\"Chun-Yuan Huang, Der-Yu Tsai, Che-Rung Lee\",\"doi\":\"10.1145/3492323.3500867\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Memory deduplication, which detects and removes redundant memory pages, can efficiently increase the efficiency of memory usage. It is often used with virtualization technologies, such as virtual machines (VMs), to improve their memory utilization. However, current memory deduplication systems, such as KSM (Kernel Samepage Merging), suffer the problem of either slow convergence or high CPU usage. In this paper, we proposed an algorithm, called hotscan, to accelerate the convergence of KSM for VM consolidation. We have observed that the pages have higher chance to be merged among different VMs are clustered in certain memory regions, called memory hot-zone. Based on this observation, hot-scan changes the scanning rule of KSM to check the pages in hot-zones of all VMs first. A novel data structure, called transpose list, is proposed to efficiently carry out the new scanning pattern. Experiments show that our method can accelerate the speed of deduplication 20% to 30% faster than the vanilla KSM without consuming too much additional CPU resource.\",\"PeriodicalId\":440884,\"journal\":{\"name\":\"Proceedings of the 14th IEEE/ACM International Conference on Utility and Cloud Computing Companion\",\"volume\":\"19 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-12-06\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the 14th IEEE/ACM International Conference on Utility and Cloud Computing Companion\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3492323.3500867\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 14th IEEE/ACM International Conference on Utility and Cloud Computing Companion","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3492323.3500867","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

内存重复数据删除可以检测并删除冗余的内存页面,从而有效地提高内存的使用效率。它通常与虚拟机(vm)等虚拟化技术一起使用,以提高它们的内存利用率。但是,当前的内存重复数据删除系统,例如KSM (Kernel Samepage merged),存在收敛速度慢或CPU使用率高的问题。在本文中,我们提出了一种称为hotscan的算法来加速虚拟机整合的KSM收敛。我们观察到,在集群在某些内存区域(称为内存热区)中的不同vm之间合并页面的可能性更高。根据观察结果,热扫描改变KSM的扫描规则,首先检查所有虚拟机的热分区页面。提出了一种新的数据结构,称为转置表,以有效地执行新的扫描模式。实验表明,在不消耗过多CPU资源的情况下,我们的方法可以将重复数据删除的速度提高20%到30%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Memory hot-zone and its application to accelerate the convergence of KSM for VM consolidation
Memory deduplication, which detects and removes redundant memory pages, can efficiently increase the efficiency of memory usage. It is often used with virtualization technologies, such as virtual machines (VMs), to improve their memory utilization. However, current memory deduplication systems, such as KSM (Kernel Samepage Merging), suffer the problem of either slow convergence or high CPU usage. In this paper, we proposed an algorithm, called hotscan, to accelerate the convergence of KSM for VM consolidation. We have observed that the pages have higher chance to be merged among different VMs are clustered in certain memory regions, called memory hot-zone. Based on this observation, hot-scan changes the scanning rule of KSM to check the pages in hot-zones of all VMs first. A novel data structure, called transpose list, is proposed to efficiently carry out the new scanning pattern. Experiments show that our method can accelerate the speed of deduplication 20% to 30% faster than the vanilla KSM without consuming too much additional CPU resource.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术官方微信