VINTER: Automatic Non-Volatile Memory Crash Consistency Testing for Full Systems

被引:0
|
作者
Kalbfleisch, Samuel [1 ]
Werling, Lukas [1 ]
Bellosa, Frank [1 ]
机构
[1] Karlsruhe Inst Technol, Karlsruhe, Germany
来源
PROCEEDINGS OF THE 2022 USENIX ANNUAL TECHNICAL CONFERENCE | 2022年
关键词
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Non-volatile memory (NVM) is a new byte-addressable storage technology that is part of the processor's memory hierarchy. NVM is often exposed to applications via an in-kernel file system. To prevent data loss in the case of crashes, the file system implementation needs to be crash-consistent. Achieving crash consistency is difficult however, as special primitives need to be inserted at appropriate places in the program to ensure persistency in the presence of volatile caches. We introduce VINTER, a new approach to automated NVM crash consistency testing designed for full systems, including unmodified kernel software such as file systems. By tracing NVM accesses of a full system via dynamic binary translation, we capture interactions between user and kernel space code. With such traces, our system efficiently generates relevant crash states using a heuristic that determines NVM locations significant for crash consistency. Finally, it extracts the semantic representation of each crash state. This makes the automatic detection of operation-spanning violations of crash consistency properties such as atomicity feasible. Our approach further aids in fixing detected bugs by representing how bugs originate from simulated crashes which are annotated by trace metadata. Our evaluation on NVM file systems uncovers several previously unknown bugs, including bugs in the state-of-the-art file systems NOVA and NOVA-Fortis that lead to atomicity violations and data loss.
引用
收藏
页码:933 / 949
页数:17
相关论文
共 50 条
  • [1] Crash Consistency in Encrypted Non-Volatile Main Memory Systems
    Liu, Sihang
    Kolli, Aasheesh
    Ren, Jinglei
    Khan, Samira
    2018 24TH IEEE INTERNATIONAL SYMPOSIUM ON HIGH PERFORMANCE COMPUTER ARCHITECTURE (HPCA), 2018, : 310 - 323
  • [2] Enforcing Crash Consistency of Scientific Applications in Non-Volatile Main Memory Systems
    Coy, Tyler
    Zhang, Xuechen
    PROCEEDINGS OF FTXS 2019: IEEE/ACM 9TH WORKSHOP ON FAULT TOLERANCE FOR HPC AT EXTREME SCALE (FTXS), 2019, : 11 - 20
  • [3] Enforcing Crash Consistency of Evolving Network Analytics in Non-Volatile Main Memory Systems
    Lim, Soklong
    Lu, Zaixin
    Ren, Bin
    Zhang, Xuechen
    2019 28TH INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES (PACT 2019), 2019, : 124 - 137
  • [4] Witcher: Systematic Crash Consistency Testing for Non-Volatile Memory Key-Value Stores
    Fu, Xinwei
    Kim, Wook-Hee
    Shreepathi, Ajay Paddayuru
    Ismail, Mohannad
    Wadkar, Sunny
    Lee, Dongyoon
    Min, Changwoo
    PROCEEDINGS OF THE 28TH ACM SYMPOSIUM ON OPERATING SYSTEMS PRINCIPLES, SOSP 2021, 2021, : 100 - 115
  • [5] Understanding Application Recomputability without Crash Consistency in Non-Volatile Memory
    Ren, Jie
    Wu, Kai
    Li, Dong
    PROCEEDINGS OF WORKSHOP ON MEMORY CENTRIC HIGH PERFORMANCE COMPUTING (MCHPC'18), 2018, : 27 - 36
  • [6] Root Crash Consistency of SGX-style Integrity Trees in Secure Non-Volatile Memory Systems
    Huang, Jianming
    Hua, Yu
    2023 IEEE INTERNATIONAL SYMPOSIUM ON HIGH-PERFORMANCE COMPUTER ARCHITECTURE, HPCA, 2023, : 152 - 164
  • [7] Crash Consistent Non-Volatile Memory Express
    Liao, Xiaojian
    Lu, Youyou
    Yang, Zhe
    Shu, Jiwu
    PROCEEDINGS OF THE 28TH ACM SYMPOSIUM ON OPERATING SYSTEMS PRINCIPLES, SOSP 2021, 2021, : 132 - 146
  • [8] Crash-Consistency-Aware Encryption for Non-Volatile Memories
    Lei, Mengya
    Wang, Fang
    Feng, Dan
    Li, Fan
    Wei, Xueliang
    50TH INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING, 2021,
  • [9] Automatic Code Conversion for Non-Volatile Memory
    Yoo, Jinsoo
    Park, Yongjun
    Lee, Seongjin
    Won, Youjip
    33RD ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, 2018, : 1071 - 1076
  • [10] Atlas: Leveraging Locks for Non-volatile Memory Consistency
    Chakrabarti, Dhruva R.
    Boehm, Hans-J.
    Bhandari, Kumud
    ACM SIGPLAN NOTICES, 2014, 49 (10) : 433 - 452