Lightweight application-level crash consistency on transactional flash storage

作者: Young Ik Eom , Woon-Hak Kang , Taesoo Kim , Sang-Won Lee , Changwoo Min

DOI:

关键词:

摘要: Applications implement their own update protocols to ensure consistency of data on the file system. However, since current systems provide only a preliminary ordering guarantee, notably fsync, these become complex, slow, and error-prone. We present new system, CFS, that supports native interface for applications maintain crash data. Using can achieve by declaring code regions must operate atomically. By utilizing transactional flash storage (SSD/X-FTL), CFS lightweight mechanism consistency. Without using any heavyweight mechanisms based redundant writes ordering, atomically write multiple pages relevant metadata storage. We made three technical contributions develop with SSD/X-FTL in CFS: selective atomic propagation dirty pages, in-memory logging, delayed deallocation. Our evaluation five real-world shows CFS-based significantly outperform versions: 2-5× faster reducing disk 1.9-4.1× cache flushing 1.1-17.6×. Importantly, our porting effort is minimal: requires 317 lines modifications from 3.5 million ported applications.

参考文章(30)
Remzi H. Arpaci-Dusseau, Andrea C. Arpaci-Dusseau, Tushar Sharma, Vijay Chidambaram, Consistency without ordering file and storage technologies. pp. 9- 9 ,(2012) , 10.5555/2208461.2208470
Michael A. Olson, The Design and Implementation of the Inversion File System. USENIX Winter. pp. 205- 218 ,(1993)
Young Ik Eom, Sang-Won Lee, Changwoo Min, Hyunjin Cho, Kangnyeon Kim, SFS: random write considered harmful in solid state drives file and storage technologies. pp. 12- 12 ,(2012) , 10.5555/2208461.2208473
Erez Zadok, Richard P. Spillane, Charles P. Wright, Sachin Gaikwad, Manjunath Chinni, Enabling transactional file access via lightweight kernel extensions file and storage technologies. pp. 29- 42 ,(2009)
Remzi H. Arpaci-Dusseau, Samer Al-Kiswany, Andrea C. Arpaci-Dusseau, Thanumalayan Sankaranarayana Pillai, Vijay Chidambaram, Ramnatthan Alagappan, All file systems are not created equal: on the complexity of crafting crash-consistent applications operating systems design and implementation. pp. 433- 448 ,(2014) , 10.5555/2685048.2685082
Sandya Mannarswamy, Terence Kelly, Stan Park, Charles B. Morrey, Anton Ajay Mendez, Rajat Verma, Failure-atomic updates of application data in a linux file system file and storage technologies. pp. 203- 211 ,(2015) , 10.5555/2750482.2750498
Hiroshi Motoda, Atsuo Kawaguchi, Shingo Nishioka, A flash-memory based file system usenix annual technical conference. pp. 13- 13 ,(1995)
H. V. Jagadish, William D. Roome, Narain H. Gehani, OdeFS: A File System Interface to an Object-Oriented Database very large data bases. pp. 249- 260 ,(1994)
Sunhwa Park, Ji Hyun Yu, Seong Yong Ohm, Atomic write FTL for robust flash file system international symposium on consumer electronics. pp. 155- 160 ,(2005) , 10.1109/ISCE.2005.1502361
Stan Park, Terence Kelly, Kai Shen, Failure-atomic msync() Proceedings of the 8th ACM European Conference on Computer Systems - EuroSys '13. pp. 225- 238 ,(2013) , 10.1145/2465351.2465374