arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Computer Science · Computer Networks and Communications

Mitigating Journaling Overhead via Atomic Write

Myonghoon Oh, Yongjae Choi, Jongmoo Choi

See on the map

Abstract

Many file systems make use of the journaling mechanism for maintaining crash consistency. However, journaling incurs double writes, which degrades performance and storage lifetime, becoming a serious concern especially on the endurance-limited NAND flash memory based storage. In this paper, we propose a new consistency maintenance mechanism that exploits the atomic write operation supported by modern storage such as NVMe SSD and transactional flash. In specific, we design two components, 1) an atomic handler that tracks multiple blocks required to be written atomically at the file system level and 2) an atomic controller that issues an I/O command in a transactional manner at the driver level. Real implementation based experiments show that our proposal guarantees crash consistency even under sudden failures with at most 5% performance overhead.

More like this