arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1901.00620cs.DCcs.ARcs.CR
收藏

一种安全持久的非易失性存储器系统

A Secure and Persistent Memory System for Non-volatile Memory

Pengfei Zuo, Yu Hua, Yuan Xie

摘要:

在非易失性存储器中,保证持久数据的安全性和正确性是最基本的。然而,在现有的工作中,安全性和持久性问题通常是独立研究的。为了同时实现数据安全性和持久性,简单地将现有的持久性方案与内存加密相结合是低效的,这是由于崩溃不一致性和显著的性能下降。为了解决安全性和持久性之间的矛盾,提出了一种安全持久存储系统SecPM,它由计数器缓存写通(CWT)方案和局部感知计数器写减少(CWR)方案组成.具体来说,SecPM利用CWT方案通过确保数据及其计数器在数据刷新完成之前是持久的来保证崩溃一致性,并且利用CWR方案通过利用计数器存储、日志和数据写入的空间局部性来提高系统性能。我们在gem 5中使用NVMain实现了SecPM,并使用五种广泛使用的工作负载对其进行了评估。大量的实验结果表明,SecPM通过使用CWR方案减少了多达一半的写请求,并将事务执行速度提高了1.3-2.0倍,并且在大事务中实现了接近未加密持久存储系统的性能。

英文摘要:

In the non-volatile memory, ensuring the security and correctness of persistent data is fundamental. However, the security and persistence issues are usually studied independently in existing work. To achieve both data security and persistence, simply combining existing persistence schemes with memory encryption is inefficient due to crash inconsistency and significant performance degradation. To bridge the gap between security and persistence, this paper proposes SecPM, a Secure and Persistent Memory system, which consists of a counter cache write-through (CWT) scheme and a locality-aware counter write reduction (CWR) scheme. Specifically, SecPM leverages the CWT scheme to guarantee the crash consistency via ensuring both the data and its counter are durable before the data flush completes, and leverages the CWR scheme to improve the system performance via exploiting the spatial locality of counter storage, log and data writes. We have implemented SecPM in gem5 with NVMain and evaluated it using five widely-used workloads. Extensive experimental results demonstrate that SecPM reduces up to half of write requests and speeds up the transaction execution by 1.3-2.0 times via using the CWR scheme, and achieves the performance close to an un-encrypted persistent memory system for large transactions.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑