TotalCOW: Unleash the Power of Copy-On-Write for Thin-provisioned Containers

Xingbo Wu, Wenguang Wang, Song Jiang
{"title":"TotalCOW: Unleash the Power of Copy-On-Write for Thin-provisioned Containers","authors":"Xingbo Wu, Wenguang Wang, Song Jiang","doi":"10.1145/2797022.2797024","DOIUrl":null,"url":null,"abstract":"Modern file systems leverage the Copy-on-Write (COW) technique to efficiently create snapshots. COW can significantly reduce demand on disk space and I/O bandwidth by not duplicating entire files at the time of making the snapshots. However, memory space and I/O requests demanded by applications cannot benefit from this technique. In existing systems, a disk block shared by multiple files due to COW would be read from the disk multiple times. Each block in the reads is treated as an independent one in different files and is cached as a sperate block in memory. This issue is due to the fact that current file access and caching are based on logic file addresses. It poses a significant challenge on the emerging light-weight container virtualization techniques, such as Linux Container and Docker, which rely on COW to quickly spawn a large number of thin-provisioned container instances. We propose a lightweight approach to address this issue by leveraging knowledge about files produced by COW. Experimental results show that a prototyped system using the approach, named TotalCOW, can significantly remove redundant disk reads and caching without compromising efficiency of accessing COW files.","PeriodicalId":125617,"journal":{"name":"Proceedings of the 6th Asia-Pacific Workshop on Systems","volume":"15 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-07-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"18","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 6th Asia-Pacific Workshop on Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2797022.2797024","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 18

Abstract

Modern file systems leverage the Copy-on-Write (COW) technique to efficiently create snapshots. COW can significantly reduce demand on disk space and I/O bandwidth by not duplicating entire files at the time of making the snapshots. However, memory space and I/O requests demanded by applications cannot benefit from this technique. In existing systems, a disk block shared by multiple files due to COW would be read from the disk multiple times. Each block in the reads is treated as an independent one in different files and is cached as a sperate block in memory. This issue is due to the fact that current file access and caching are based on logic file addresses. It poses a significant challenge on the emerging light-weight container virtualization techniques, such as Linux Container and Docker, which rely on COW to quickly spawn a large number of thin-provisioned container instances. We propose a lightweight approach to address this issue by leveraging knowledge about files produced by COW. Experimental results show that a prototyped system using the approach, named TotalCOW, can significantly remove redundant disk reads and caching without compromising efficiency of accessing COW files.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
TotalCOW:为瘦配置容器释放写时复制的能力
现代文件系统利用写时复制(Copy-on-Write, COW)技术高效地创建快照。通过在创建快照时不复制整个文件,COW可以显著减少对磁盘空间和I/O带宽的需求。但是,应用程序所需的内存空间和I/O请求不能从这种技术中获益。在现有系统中,由于COW而由多个文件共享的磁盘块将从磁盘中多次读取。读取中的每个块都被视为不同文件中的独立块,并作为单独的块缓存在内存中。这个问题是由于当前文件访问和缓存是基于逻辑文件地址的。它对新兴的轻量级容器虚拟化技术(如Linux container和Docker)提出了重大挑战,这些技术依赖于COW来快速生成大量瘦配置容器实例。我们提出一种轻量级的方法,通过利用有关COW生成的文件的知识来解决这个问题。实验结果表明,使用该方法的原型系统TotalCOW可以显著去除冗余磁盘读取和缓存,而不会影响访问COW文件的效率。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Containing the Hype Enforcing Privacy Policies with Meta-Code Anatomizing System Activities on Interactive Wearable Devices InterFS: An Interplanted Distributed File System to Improve Storage Utilization RepFrame: An Efficient and Transparent Framework for Dynamic Program Analysis
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1