论文部分内容阅读
Page Cache是一种平衡内存与物理磁盘之间数据存取速率差异的软件机制,是文件系统与底层设备之间的桥梁.现有的Page Cache机制存在意外掉电等事故发生时丢失关键数据的问题.在Page Cache工作机制的基础上提出页面优先级策略,以页面所属进程为依据来判定被调用数据页的优先级,并提出了一种新的脏页刷新机制,即在保证Page Cache工作效率的基础上,优先将Page Cache中优先级高的数据页写回磁盘,保证磁盘中关键数据的一致性,进一步提高了文件系统的可靠性.实验结果表明,与系统现有脏页刷新机制相比,本文提出的方案能够提高关键数据页的回写比例,能够更好的保证文件系统的可靠性.
Page Cache is a software mechanism that balances data access rates between memory and physical disks and bridges the file system with underlying devices. Existing Page Cache mechanisms lose critical data in the event of an accidental power loss The paper proposes a page priority strategy based on the Page Cache working mechanism to determine the priority of the called data page based on the process to which the page belongs and proposes a new dirty page refresh mechanism that guarantees the Page Cache work Based on the priority, priority Page Cache in the data pages of high priority write back to disk, to ensure the consistency of the key data in the disk, to further improve the reliability of the file system.Experimental results show that the system with the existing dirty page refresh mechanism Compared with the proposed scheme can improve the write-back ratio of the key data pages, to better ensure the reliability of the file system.