Thoth: Bridging the Gap Between Persistently Secure Memories and Memory Interfaces of Emerging NVMs
Xijing Han, James Tuck, Amro Awad
Abstract
Emerging non-volatile memories (NVMs) are expected to be part of future computing systems, including cloud systems and edge devices. In addition to the high density (and hence large capacities) NVMs can provide, they feature ultra-low idle power which makes them very promising for edge computing and data centers. Additionally, NVMs’ ability to retain data upon system crash (e.g., power outage or software bug) makes them a great candidate for high-availability and persistent applications. However, NVMs’ data retention capability brings in security challenges and further complicates today’s secure memory implementations; to ensure correct and secure system recovery, the data and security metadata must be persisted atomically (i.e., up-to-date in memory upon a crash).Despite the many efforts for rethinking secure memory implementations to enable crash-consistency, we observe that the state-of-the-art solutions are based on a major assumption that may not be suitable for future memory interfaces. Specifically, the majority of today’s solutions assume that either the encryption counter and/or message-authentication code (MAC) can be co-located with data by directly or indirectly leveraging the otherwise Error-Correcting Codes (ECC) bits. However, we observe that emerging interfaces and standards delegate the ECC calculation and management to happen inside the memory module, which makes it possible to remove extra bits for ECC in memory interfaces. Thus, all today’s solutions may need to separately persist the encrypted data, its MAC, and its encryption counter upon each memory write. To mitigate this issue, we propose a novel solution, Thoth, which leverages a novel off-chip persistent partial updates combine buffer that can ensure crash consistency at the cost of a fraction of the write amplification by the state-of-the-art solutions when adapted to future interfaces. Based on our evaluation, Thoth improves the performance by an average of 1.22x (up to 1.44x) while reducing write traffic by an average of 32% (up to 40%) compared to the baseline Anubis when adapted to future interfaces.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get d74af38b-eb79-4798-8129-bd0dc878cf2fRelated papers
- Persist Level Parallelism: Streamlining Integrity Tree Updates for Secure Persistent MemoryAlexander Freij, Shougang Yuan, Huiyang Zhou, Yan SolihinMICRO 2020 · 31 citations
- Soteria: Towards Resilient Integrity-Protected and Encrypted Non-Volatile MemoriesKazi Abu Zubair, Sudhanva Gurumurthi, Vilas Sridharan, Amro AwadMICRO 2021 · 8 citations
- Filesystem Encryption or Direct-Access for NVM Filesystems? Let's Have Both!Kazi Abu Zubair, David Mohaisen, Amro AwadHPCA 2022 · 2 citations
- PS-ORAM: efficient crash consistency support for oblivious RAM on NVMGang Liu, Kenli Li, Zheng Xiao, Rujia WangISCA 2022 · 10 citations
- Horus: Persistent Security for Extended Persistence-Domain Memory SystemsXijing Han, James Tuck, Amro AwadMICRO 2022 · 4 citations
