Font Size: a A A

High-Performance Consistency For Secure Non-Volatile Memory Systems

Posted on:2022-09-11Degree:MasterType:Thesis
Country:ChinaCandidate:X LiFull Text:PDF
GTID:2518306572990909Subject:Computer system architecture
Abstract/Summary:PDF Full Text Request
Emerging non-volatile memory(NVM)has the features of high density,low power consumption,memory durability and DRAM-scale performance,making it become the next-generation main memory.Non-volatile memories suffer from the challenges of both data security and crash consistency due to the non-volatility feature,which are usually addressed separately via security mechanisms and transactions.In terms of security mechanisms,counter-mode encryption(CME)and Bonsai Merkle Tree(BMT)are often adopted in non-volatile memories for security guarantees,including memory encryption and integrity verification.Since these mechanisms introduce extra security metadata,when ensuring crash consistency for secure non-volatile memories,the crash consistency of data needs to be guaranteed by using transactions,and the data and security metadata need to be persisted atomically to the memory,which results in high performance overheads and limited lifetime.The main reason is that,the long latency for updating BMT exacerbates the ordering overhead of transactions,and persisting the security metadata further worsens the write amplification.In order to alleviate the ordering overhead of transactions and mitigate the write amplification caused by the security metadata,a scheme,called COSET,is proposed to ensure crash consistency for secure non-volatile memories with the transaction.COSET provides a scalable write-through security metadata cache.This scalable cache persists data and security metadata in advance and transfers expensive BMT updates to be executed in the background,ensuring the persistence atomicity of data and security metadata and improving system throughput.To reduce the ordering overhead of software transactions,COSET leverages a transaction-based epoch persistency model to allow the transaction execution to include the minimal constraints for persistence ordering through parallelizing the log-update sequences of the transaction,thereby significantly decreasing the transaction execution latency.Moreover,COSET co-locates the counter with the log entry and coalesces the BMT writes in the write queue to reduce the metadata writes and improve system performance and lifetime.Experimental results demonstrate that,compared with the standard write-through scheme,COSET significantly reduces the transaction execution latency and memory writes;and achieves much better performance and fewer memory writes than the state-of-the-art application-transparent scheme.
Keywords/Search Tags:Non-volatile Memory, Crash Consistency, Data Security, Transactions, Integrity Verification
PDF Full Text Request
Related items