• 中国精品科技期刊
  • CCF推荐A类中文期刊
  • 计算领域高质量科技期刊T1类
高级检索

一种基于时间戳的高扩展性的持久性软件事务内存

刘超杰, 王芳, 邹晓敏, 冯丹

刘超杰, 王芳, 邹晓敏, 冯丹. 一种基于时间戳的高扩展性的持久性软件事务内存[J]. 计算机研究与发展, 2022, 59(3): 499-517. DOI: 10.7544/issn1000-1239.20210565
引用本文: 刘超杰, 王芳, 邹晓敏, 冯丹. 一种基于时间戳的高扩展性的持久性软件事务内存[J]. 计算机研究与发展, 2022, 59(3): 499-517. DOI: 10.7544/issn1000-1239.20210565
Liu Chaojie, Wang Fang, Zou Xiaomin, Feng Dan. A Scalable Timestamp-Based Durable Software Transactional Memory[J]. Journal of Computer Research and Development, 2022, 59(3): 499-517. DOI: 10.7544/issn1000-1239.20210565
Citation: Liu Chaojie, Wang Fang, Zou Xiaomin, Feng Dan. A Scalable Timestamp-Based Durable Software Transactional Memory[J]. Journal of Computer Research and Development, 2022, 59(3): 499-517. DOI: 10.7544/issn1000-1239.20210565
刘超杰, 王芳, 邹晓敏, 冯丹. 一种基于时间戳的高扩展性的持久性软件事务内存[J]. 计算机研究与发展, 2022, 59(3): 499-517. CSTR: 32373.14.issn1000-1239.20210565
引用本文: 刘超杰, 王芳, 邹晓敏, 冯丹. 一种基于时间戳的高扩展性的持久性软件事务内存[J]. 计算机研究与发展, 2022, 59(3): 499-517. CSTR: 32373.14.issn1000-1239.20210565
Liu Chaojie, Wang Fang, Zou Xiaomin, Feng Dan. A Scalable Timestamp-Based Durable Software Transactional Memory[J]. Journal of Computer Research and Development, 2022, 59(3): 499-517. CSTR: 32373.14.issn1000-1239.20210565
Citation: Liu Chaojie, Wang Fang, Zou Xiaomin, Feng Dan. A Scalable Timestamp-Based Durable Software Transactional Memory[J]. Journal of Computer Research and Development, 2022, 59(3): 499-517. CSTR: 32373.14.issn1000-1239.20210565

一种基于时间戳的高扩展性的持久性软件事务内存

基金项目: 国家重点研发计划项目(2018YFB1003305);国家自然科学基金重点项目(61832020);国家自然科学基金创新研究群体项目(61821003)
详细信息
  • 中图分类号: TP311

A Scalable Timestamp-Based Durable Software Transactional Memory

Funds: This work was supported by the National Key Research and Development Program of China (2018YFB1003305), the Key Program of the National Natural Science Foundation of China (61832020), and the Foundation for Innovative Research Groups of the National Natural Science Foundation of China (61821003).
  • 摘要: 新兴的非易失性内存(non-volatile memory, NVM)具有字节寻址、持久性、大容量和低功耗等优点,然而,在NVM上进行并发编程往往比较困难,用户既要保证数据的崩溃一致性又要保证并发的正确性.为了降低用户开发难度,研究人员提出持久性事务内存方案,但是现有持久性事务内存普遍存在扩展性较差问题.测试发现限制扩展性的关键因素在于全局逻辑时钟和冗余NVM写操作.针对这2个方面,提出了线程逻辑时钟方法,通过允许每个线程拥有一个独立时钟,消除全局逻辑时钟中心化问题;提出了缓存行感知的双版本方法,为数据维护2个版本,通过循环更新这2个版本来保证数据的崩溃一致性,从而消除冗余的NVM写操作.基于所提出的这2个方法,实现了一个基于时间戳的高扩展的持久性软件事务内存(scalable durable transactional memory, SDTM),对比测试显示,在YCSB负载下,与DudeTM和PMDK相比,SDTM的性能最多分别提高了2.8倍和29倍.
    Abstract: The emerging non-volatile memory(NVM) provides a lot of advantages, including byte-addressability, durability, large capacity and low energy consumption. However, it is difficult to perform concurrent programming on NVM, because users have to ensure not only the crash consistency but also the correctness of concurrency. In order to reduce the development difficulty, persistent transactional memory has been proposed, but most of the existing persistent transactional memory has poor scalability. Through testing, we find that the limiting factors of scalability are global logical clock and redundant NVM write operation. In order to eliminate the impact of these two factors on scalability: A thread logical clock method is proposed, which eliminates the problem of global logical clock centralization by allowing each thread to have an independent clock; a dual version method of cache line awareness is proposed, which maintains two versions of the data, and updates the two versions cyclically to ensure the crash consistency of the data, thereby eliminating redundant NVM write operations. And based on these two methods, a scalable durable transactional memory (SDTM) is implemented and fully tested. The results show that under YCSB workload, compared with DudeTM and PMDK, its performance is up to 2.8 times and 29 times higher, respectively.
  • 期刊类型引用(7)

    1. 张佩瑶,付晓东. 防恶意竞价的众包多任务分配激励机制. 计算机应用. 2024(01): 261-268 . 百度学术
    2. 刘俊岭,高新宇,孙焕良,许景科. 空间众包中隔离敏感的任务匹配算法. 计算机工程与应用. 2024(17): 252-262 . 百度学术
    3. 邓清勇,左清华,李哲涛,王恩,郭斌. 基于区块链的群智感知双向信誉评估隐私保护. 计算机研究与发展. 2024(11): 2681-2692 . 本站查看
    4. 黄黎,赵璐,陈嘉豪. 基于能力层次聚类和角色协同的众包任务分配. 计算机工程与设计. 2024(12): 3739-3748 . 百度学术
    5. 周静,董红斌,郭田雨. 基于遗传算法的时空众包3类对象任务分配. 应用科技. 2023(06): 7-20 . 百度学术
    6. 王珂. 物流货品转运设备集成单元控制技术与应用研究. 中国储运. 2022(07): 195-196 . 百度学术
    7. 程维杰,李洪贵,范勇强,彭钰寒,甘戈. 时空众包技术综述. 无线电工程. 2022(08): 1456-1465 . 百度学术

    其他类型引用(15)

计量
  • 文章访问数:  433
  • HTML全文浏览量:  0
  • PDF下载量:  251
  • 被引次数: 22
出版历程
  • 发布日期:  2022-02-28

目录

    /

    返回文章
    返回