Atomic In-place Updates for Non-volatile Main Memories with Kamino-Tx

Amirsaman Memaripour, Anirudh Badam, Amar Phanishayee, Yanqi Zhou, R. Alagappan, K. Strauss, S. Swanson
{"title":"Atomic In-place Updates for Non-volatile Main Memories with Kamino-Tx","authors":"Amirsaman Memaripour, Anirudh Badam, Amar Phanishayee, Yanqi Zhou, R. Alagappan, K. Strauss, S. Swanson","doi":"10.1145/3064176.3064215","DOIUrl":null,"url":null,"abstract":"Data structures for non-volatile memories have to be designed such that they can be atomically modified using transactions. Existing atomicity methods require data to be copied in the critical path which significantly increases the latency of transactions. These overheads are further amplified for transactions on byte-addressable persistent memories where often the byte ranges modified for data structure updates are significantly smaller compared to the granularity at which data can be efficiently copied and logged. We propose Kamino-Tx that provides a new way to perform transactional updates on non-volatile byte-addressable memories (NVM) without requiring any copying of data in the critical path. Kamino-Tx maintains an additional copy of data off the critical path to achieve atomicity. But in doing so Kamino-Tx has to overcome two important challenges of safety and minimizing NVM storage overhead. We propose a more dynamic approach to maintaining the additional copy of data to reduce storage overheads. To further mitigate the storage overhead of using Kamino-Tx in a replicated setting, we develop Kamino-Tx-Chain, a variant of Chain Replication where replicas perform in-place updates and do not maintain data copies locally; replicas in Kamino-Tx-Chain leverage other replicas as copies to roll back or forward for atomicity. Our results show that using Kamino-Tx increases throughput by up to 9.5x for unreplicated systems and up to 2.2x for replicated settings.","PeriodicalId":262089,"journal":{"name":"Proceedings of the Twelfth European Conference on Computer Systems","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-04-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"100","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the Twelfth European Conference on Computer Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3064176.3064215","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 100

Abstract

Data structures for non-volatile memories have to be designed such that they can be atomically modified using transactions. Existing atomicity methods require data to be copied in the critical path which significantly increases the latency of transactions. These overheads are further amplified for transactions on byte-addressable persistent memories where often the byte ranges modified for data structure updates are significantly smaller compared to the granularity at which data can be efficiently copied and logged. We propose Kamino-Tx that provides a new way to perform transactional updates on non-volatile byte-addressable memories (NVM) without requiring any copying of data in the critical path. Kamino-Tx maintains an additional copy of data off the critical path to achieve atomicity. But in doing so Kamino-Tx has to overcome two important challenges of safety and minimizing NVM storage overhead. We propose a more dynamic approach to maintaining the additional copy of data to reduce storage overheads. To further mitigate the storage overhead of using Kamino-Tx in a replicated setting, we develop Kamino-Tx-Chain, a variant of Chain Replication where replicas perform in-place updates and do not maintain data copies locally; replicas in Kamino-Tx-Chain leverage other replicas as copies to roll back or forward for atomicity. Our results show that using Kamino-Tx increases throughput by up to 9.5x for unreplicated systems and up to 2.2x for replicated settings.
原子就地更新的非易失性主存储器与Kamino-Tx
非易失性存储器的数据结构必须设计成可以使用事务自动修改。现有的原子性方法需要在关键路径中复制数据,这大大增加了事务的延迟。对于字节可寻址的持久内存上的事务,这些开销会进一步扩大,因为与可以有效复制和记录数据的粒度相比,为数据结构更新而修改的字节范围通常要小得多。我们提出了Kamino-Tx,它提供了一种在非易失性字节可寻址内存(NVM)上执行事务性更新的新方法,而无需在关键路径中复制任何数据。Kamino-Tx在关键路径之外维护一个额外的数据副本,以实现原子性。但要做到这一点,Kamino-Tx必须克服两个重要的挑战,即安全性和最小化NVM存储开销。我们提出了一种更动态的方法来维护额外的数据副本,以减少存储开销。为了进一步减少在复制设置中使用Kamino-Tx的存储开销,我们开发了Kamino-Tx-Chain,这是Chain Replication的一种变体,其中副本执行就地更新,而不维护本地数据副本;Kamino-Tx-Chain中的副本利用其他副本作为副本来回滚或向前滚以实现原子性。我们的结果表明,对于未复制的系统,使用Kamino-Tx可将吞吐量提高9.5倍,对于复制设置可将吞吐量提高2.2倍。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信