《潘庆霖+Beaver_OS2ATC+2026-4-1+214937+2.pdf》由会员分享,可在线阅读,更多相关《潘庆霖+Beaver_OS2ATC+2026-4-1+214937+2.pdf(25页珍藏版)》请在三个皮匠报告上搜索。
1、Beaver:A High-Performance and Crash-Consistent File System Cache via PM-DRAM Collaborative Memory TieringQinglin PAN,Ji QI*,Jiatai HE,Heng ZHANG,Jiageng YU,Yanjun WU Institute of Software,Chinese Academy of Sciences(ISCAS)June 11,2025Background:Filesystem cache2 Filesystems gain high performance via
2、 memory cachingFilesystems gain high performance via memory caching Filesystem data resides in disks,which exhibitFilesystem data resides in disks,which exhibit Lower performance;Block interface;PersistenceLower performance;Block interface;Persistence Filesystem data is cached in DRAM,which exhibitF
3、ilesystem data is cached in DRAM,which exhibit High performance;Fine-grained interface;Non-persistenceHigh performance;Fine-grained interface;Non-persistence Data synchronization happens asynchronouslyData synchronization happens asynchronously Readahead:disk-memoryReadahead:disk-memory Writeback:me
4、mory-diskWriteback:memory-disk But they lack crash-consistencyBut they lack crash-consistency Writeback happens partially and in an unordered mannerWriteback happens partially and in an unordered manner Memory pressure causes the OS to writeback dirty pages for page recycleMemory pressure causes the
5、 OS to writeback dirty pages for page recycle The The fsyncfsync()calls from application are one-sided and transparent to the OS()calls from application are one-sided and transparent to the OS OS services periodically writeback dirty pagesOS services periodically writeback dirty pages When the syste
6、m crashes,cached writes are partially persisted in the diskWhen the system crashes,cached writes are partially persisted in the diskBackground:Crash-consistency significance3 Filesystems gain high performance via memory cachingFilesystems gain high performance via memory caching Readahead/writeback