首页 | 本学科首页   官方微博 | 高级检索  
     

基于小文件的内存云存储优化策略
引用本文:英昌甜,于炯,鲁亮,刘建矿. 基于小文件的内存云存储优化策略[J]. 计算机应用, 2014, 34(11): 3104-3108. DOI: 10.11772/j.issn.1001-9081.2014.11.3104
作者姓名:英昌甜  于炯  鲁亮  刘建矿
作者单位:新疆大学 信息科学与工程学院,乌鲁木齐 830046
基金项目:国家自然科学基金资助项目,新疆维吾尔自治区自然科学基金资助项目
摘    要:
由于内存云RAMCloud采用日志段的方式存储数据,因此当大量小文件存储于RAMCloud集群时,每个小文件独占整个段,会产生较多的段内碎片,从而导致内存的有效利用率较低以及大量的内存空间浪费。为了解决这个问题,提出基于文件分类的RAMCloud小文件存储优化策略。该策略首先根据文件的相关特性将小文件分为结构相关文件、逻辑相关文件以及相互独立文件三类;然后在存储时对结构相关的文件使用文件合并算法,逻辑相关和相互独立的小文件则使用分组算法。实验结果表明:同未进行优化的RAMCloud存储策略相比,该策略能有效提高集群内存利用率。

关 键 词:内存云  小文件问题  存储策略  结构相关文件  逻辑相关文件
收稿时间:2014-07-18
修稿时间:2014-07-24

Optimal storing strategy based on small files in RAMCloud
YING Changtian , YU Jiong , LU Liang , LIU Jiankuang. Optimal storing strategy based on small files in RAMCloud[J]. Journal of Computer Applications, 2014, 34(11): 3104-3108. DOI: 10.11772/j.issn.1001-9081.2014.11.3104
Authors:YING Changtian    YU Jiong    LU Liang    LIU Jiankuang
Affiliation:School of Information Science and Engineering, Xinjiang University, Urumqi Xinjiang 830046, China
Abstract:
RAMCloud stores data using log segment structure. When large amount of small files store in RAMCloud, each small file occupies a whole segment, so it may leads to much fragments inside the segments and low memory utilization. In order to solve the small file problem, a strategy based on file classification was proposed to optimize the storage of small files. Firstly, small files were classified into three categories including structural related, logical related and independent files. Before uploading, merging algorithm and grouping algorithm were used to deal with these files respectively. The experiment demonstrates that compared with non-optimized RAMCloud, the proposed strategy can improve memory utilization.
Keywords:RAMCloud  small file problem  storing strategy  structural related file  logical related file
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《计算机应用》浏览原始摘要信息
点击此处可从《计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号