Summary: | 碩士 === 國立交通大學 === 資訊科學與工程研究所 === 95 === With the advances in non-volatile memory technologies, MRAM has been presented and is considered as a potential replacement of DRAM as the main memory for computer systems. In this paper, we propose a lightweight mechanism for file system consistency in systems that use MRAM as the main memory (i.e. MRAM-based systems). The proposed mechanism can ensure both file system consistency and data integrity without inducing extra disk I/O. Moreover, we eliminate the disk I/O incurred by periodic write-backs as well; write-back of dirty data only occurs when memory reclaiming is performed. To demonstrate the benefit of our approach, we compare the performance of our approach with that of the following two file systems: ext3, and MRAM-aware ext3. The later is a straightforward approach that improves the performance of ext3 by placing the log in the MRAM. The efficiency of the proposed mechanism was evaluated by using both micro and macro file system benchmarks. Experimental results show that our approach improves the performance by 95% - 832% when compared to Ext3 and by 49% - 715% when compared to MRAM-aware ext3. Furthermore, our approach cost a limited amount of extra memory (i.e. less than 16 KB).
|