Boosting File Systems Elegantly: A Transparent NVM Write-ahead Log for Disk File Systems
Guoyu Wang, Xilong Che, Haoyang Wei, Shuo Chen, Puyi He, Juncheng Hu
TL;DR
<3-5 sentence high-level summary> NVLog tackles the bottleneck of synchronous persistence in disk file systems by introducing a transparent NVM-based write-ahead log that absorbs sync writes while preserving the DRAM page cache. It uses a lightweight, append-only log structure on NVM, with two entry types (OOP and IP) and a super/inode log hierarchy, enabling crash-consistent recovery and aggressive garbage collection without modifying existing APIs. The design carefully coordinates NVM and disk through write-back debouncing, active-sync prediction, and explicit consistency mechanisms, delivering large speedups over baselines like NOVA and SPFS across micro- and macrobenchmarks. The results demonstrate NVLog’s ability to accelerate traditional disk file systems while maintaining stability and reducing write amplification, making it practical for real-world deployments with minimal NVM footprint.>
Abstract
We propose NVLog, an NVM-based write-ahead log for disk file systems, designed to transparently harness the high performance of NVM within the legacy storage stack. NVLog provides on-demand byte-granularity sync absorption, reserving the fast DRAM path for asynchronous operations, meanwhile occupying NVM space only temporarily. To accomplish this, we designed a highly efficient log structure, developed mechanisms to address heterogeneous crash consistency, optimized for small writes, and implemented robust crash recovery and garbage collection methods. Compared to previous solutions, NVLog is lighter, more stable, and delivers higher performance, all while leveraging the mature kernel software stack and avoiding data migration overhead. Experimental results demonstrate that NVLog can accelerate disk file systems by up to 15.09x and outperform NOVA and SPFS in various scenarios by up to 3.72x and 324.11x, respectively.
