期刊文献+

一种基于裸闪存的Key-Value数据库优化方法 被引量:6

A Key-Value Database Optimization Method Based on Raw Flash Device
下载PDF
导出
摘要 近年来,非关系型的key-value数据库得到越来越广泛的应用.然而,目前主流的key-value数据库或者是基于磁盘设计的,或者是传统的基于文件系统和闪存转换层FTL来构建的,难以发挥闪存存储设备的特性,限制了I/O的并发性能,且垃圾回收过程复杂.设计并实现了一种基于裸闪存的keyvalue数据管理架构Flashkv,通过用户态下的管理单元进行空间管理和垃圾回收,充分利用了闪存设备内部的并发特性,并简化了垃圾回收过程,去除了传统文件系统和FTL中的冗余功能,缩短了I/O路径.提出了基于闪存特点的I/O调度技术,优化了闪存的读写延迟,提高了吞吐率;提出了用户态缓存管理技术,降低了数据写入量和频繁系统调用所带来的开销.测试结果表明,Flashkv性能是levelDB的1.9~2.2倍,写入量减少60%~65%. In recent years,NoSQL key-value data bases have been widely used.However,the currentmainstream key-value data basesare based either on disk,orontraditional file system and flashtranslationlayer,which makesit difficult to utilize the characteristics of flash devices,and alsolimits1/Oconcurrency of flash devices.Moreover,garbagecollection processunder such kind of architectureis complex.This paper designs and implements Flashkv,akey-value data management architecturebasedonraw flash device.Flashkv doesn,tusefilesystem and flashtranslation layer,instead,it,s spacemanagement and garbage collection are done by the management unitin the user mode.Flashkv makes fulluse of the concurrentfeatures inside the flash device,and simplifies the garbagecollection process and removesredundant functionmodules which existin both traditional filesystem and flash translation layer,and alsoshortens the I/Opath.This paper proposes I/O scheduling technology based on the characteristics of flash memory,which reducesread and writelatency of flash memory and improves through put.The user modecache management technology is proposed,which reduceswriteamount and alsothecost of frequent system calls.Testresults show tha tFlashkv'sperformance is1.9to2.2times that of levelDB and the write amountreduces by60%to65%.
作者 秦雄军 张佳程 陆游游 舒继武 Qin Xiongjun;Zhang Jiacheng;Lu Youyou;Shu Jiwu(Department of Computer Science and Technology,Tsinghua University,Beijing 100084)
出处 《计算机研究与发展》 EI CSCD 北大核心 2017年第6期1326-1336,共11页 Journal of Computer Research and Development
基金 国家自然科学基金项目(61327902 61433008) 北京市科委课题(D151100000815003)~~
关键词 key-value数据库 闪存 裸设备 数据存储 使用寿命 key-value database flash memory raw device data storage lifespan
  • 相关文献

参考文献3

二级参考文献88

  • 1顾宝根,顾喜梅.日志结构的嵌入式文件系统研究[J].计算机工程与设计,2004,25(6):915-917. 被引量:17
  • 2Lai S.Flash memories:Successes and challenges[J].IBM Journal of Research and Development,2008,52(4/5):529-535.
  • 3Chang Lipin,Kuo Teiwei.Efficient management for large-scale flash-memory storage systems with resource conservation[J].ACM Trans on Storage,2005,1(4):381-418.
  • 4Park C,Seo J,Bae S,et al.A low-cost memory architecture with NAND XIP for mobile embedded systems[C]//Proc of the 1st IEEE/ACM/IFIP Int Conf on Hardware-Software Codesign and System Synthesis.New York:ACM,2003:138-143.
  • 5Wu M,Willy Z.eNVy:A non-volatile main memory storage system[C]//Proc of the 6th Int Conf on Architectural Support for Programming Languages and Operating Systems.New York:ACM,1994:86-97.
  • 6Taeho K,Trevor M.FlashCache:A NAND flash memory file cache for low power Web servers[C]//Proc of the 2006 Int Conf on Compilers,Architecture and Synthesis for Embedded Systems.New York:ACM,2006:103-112.
  • 7Kgil T,Roberts D,Mudge T.Improving NAND flash based disk caches[C]//Proc of the 35th Int Symp on Computer Architecture.New York:ACM,2008:327-338.
  • 8Dushyanth N,Eno T,Austin D.Migrating server storage to SSDs:Analysis of tradeoffs[C]//Proc of the 4th ACM European Conf on Computer Systems.New York:ACM,2009:145-158.
  • 9Microsoft Corp.Explore the features:Performance[EB/OL].[2008-12-05].http://www.microsoft.com/windows/windows-vista/features/performance.aspx.
  • 10Shmidt D.Trueffs wear-leveling mechanism[R].Newark,CA:M-System,2002.

共引文献322

同被引文献45

引证文献6

二级引证文献20

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部