标题：Reducing journaling overhead with hybrid buffer cache
作者：Zhang, Zhiyong ;Ju, Lei ;Jia, Zhiping
作者机构：[Zhang, Zhiyong ;Ju, Lei ;Jia, Zhiping ] School of Computer Science and Technology, Shandong University, Jinan; 250101, China
会议名称：15th International Conference on Algorithms and Architectures for Parallel Processing, ICA3PP 2015
会议日期：18 November 2015 through 20 November 2015
来源：Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
关键词：Journaling; Non-volatile memory; Performance; Reliability
摘要：Journaling technique is widely used in modern file systems for high reliability and fast recovery from system failures. However, journaling mechanism accounts for extra journal traffic flushed from the buffer cache to storage, greatly impeding the performance of file systems. Emerging non-volatile memory (NVM) technologies bring a new perspective of resolving this issue. But replacing DRAM with NVM as the whole buffer cache encounters the challenge of limited lifetime of NVM. As such, in this paper, we exploit a hybrid NVM-DRAM buffer cache architecture to optimize the journaling overhead using the nonvolatility of NVM and the unlimited write endurance of DRAM. We propose a novel page management policy to direct page placement and migration while ensuring DRAM absorb most writes. Besides, a writeburst predictor is presented to further reduce write activities on NVM to prolong the lifespan of the hybrid buffer cache. Furthermore, we present a hybrid-commit journaling scheme to support the in-place commit of NVM and the in-memory commit of DRAM. We implement the proposed techniques on Linux 2.6.38 and measure the performance with various file I/O benchmarks. The experimental results show that our scheme significantly improves the I/O performance compared with the existing Linux buffer cache with ext4 and prolongs the lifetime compared with the NVM based buffer cache. © Springer International Publishing Switzerland 2015.