西安电子科技大学学报 ›› 2020, Vol. 47 ›› Issue (2): 67-74.doi: 10.19665/j.issn1001-2400.2020.02.010

• • 上一篇    下一篇

利用非对称锁的高并发NVM存储系统

蔡涛,刘佩瑶,王杰,牛德姣,贺庆建,陈志鹏   

  1. 江苏大学 计算机科学与通信工程学院,江苏 镇江 212013
  • 收稿日期:2019-09-06 出版日期:2020-04-20 发布日期:2020-04-26
  • 作者简介:蔡涛(1976—),男,副教授,E-mail:caitao@ujs.edu.cn
  • 基金资助:
    国家自然科学基金(61806086);科技部国家重点研发计划(2018YFB0804204);中国博士后基金(2016M601737)

Highly concurrent NVM storage system based on the asymmetric lock

CAI Tao,LIU Peiyao,WANG Jie,NIU Dejiao,HE Qingjian,CHEN Zhipeng   

  1. School of Computer Science and Communication Engineering, Jiangsu Univ., Zhenjiang 212013, China
  • Received:2019-09-06 Online:2020-04-20 Published:2020-04-26

摘要:

为了提高非易失性存储系统并发执行访问请求的能力,针对存储设备中的读写访问请求、文件数据和元数据的不同特性,设计了基于区间锁的文件数据并发写策略、基于读—拷贝修改的文件数据读写并发策略和基于最小自旋锁的元数据同步策略, 以提高访问请求执行的并发度;实现了利用非对称锁的高并发非易失存储系统原型,使用通用测试工具和方法进行了测试与分析,验证所实现的原型系统相比PMFS能提高40%~162%的吞吐率和61%~159%的每秒输入输出量。

关键词: 非易失性存储器, 区间锁, 并发访问

Abstract:

In order to improve the ability of the non-volatile memory storage device system to concurrently execute access requests, aiming at the diverse nature between read and write access requests and the different properties of file data and metadata in the storage device, we have designed a file-based parallel write-based file data concurrent write strategy, RCU based file data read and write concurrency strategy and a minimum spin lock-based metadata synchronization strategy to improve the degree of concurrency of requests execution. And then we have implemented a prototype of the asymmetric lock-based high concurrent non-volatile memory storage system, which has been tested and analyzed by common test tools and methods, the result shows that compared with the PMFS, the prototype system can increase the throughput by 40%~162% and input/output operations per second by 61%~159%.

Key words: non-volatile memory, region lock, concurrent accessing

中图分类号: 

  • TP391