Flash-aware linux swap system for portable consumer electronics

Because of limited memory resource of portable consumer electronics, portable consumer electronics currently exploit swap space with flash memory as a cost effective solution to extend limited memory space. Original swap space management scheme used in Linux for magnetic disk is not available to flash memory-based swap space due to the distinct characteristics of flash memory. In this paper, we propose a flash-aware Linux swap system, called FLSS, which adopts Linux kernel 2.6 to manage flash memory-based swap space directly without FTL. We introduce: 1) a partial block alignment scheme to perform an efficient swap-in read-ahead algorithm, 2) a swap-aware victim block selection method and the redefined concept of hot page and cold page to design a swap-aware garbage collection policy called SACATA, and 3) the notion of overage as well as the notion of frozen applied to blocks to exploit a wear leveling-aware block management scheme. Experimental results show that the proposed FLSS greatly outperforms existing swap space management techniques and evaluate the effectiveness of proposed SACATA.

[1]  Ruei-Chuan Chang,et al.  Cleaning policies in mobile computers using flash memory , 1999, J. Syst. Softw..

[2]  M. Lin,et al.  Optimised Linux swap system for flash memory , 2011 .

[3]  Abraham Silberschatz,et al.  Operating System Principles , 2004 .

[4]  Longzhe Han,et al.  CATA: A Garbage Collection Scheme for Flash Memory File Systems , 2006, UIC.

[5]  Ruei-Chuan Chang,et al.  Using data clustering to improve cleaning performance for flash memory , 1999 .

[6]  Seon-Yeong Park,et al.  FASS : A Flash-Aware Swap System , 2005 .

[7]  Kern Koh,et al.  An Efficient Garbage Collection Policy for Flash Memory Based Swap Systems , 2007, ICCSA.

[8]  Sang Oh Park,et al.  An efficient multimedia file system for NAND flash memory storage , 2009, IEEE Transactions on Consumer Electronics.

[9]  Daniel Pierre Bovet,et al.  Understanding the Linux Kernel , 2000 .

[10]  Dongkun Shin,et al.  An efficient garbage collection for flash memory-based virtual memory systems , 2010, IEEE Transactions on Consumer Electronics.

[11]  Kern Koh,et al.  A New Linux Swap System for Flash Memory Storage Devices , 2008, 2008 International Conference on Computational Sciences and Its Applications.

[12]  Sivan Toledo,et al.  Algorithms and data structures for flash memories , 2005, CSUR.

[13]  Youjip Won,et al.  Embedded NAND flash file system for mobile multimedia devices , 2009, IEEE Transactions on Consumer Electronics.

[14]  Kern Koh,et al.  LeCramFS: an efficient compressed file system for flash-based portable consumer devices , 2007, IEEE Transactions on Consumer Electronics.

[15]  Kern Koh,et al.  Swap space management technique for portable consumer electronics with NAND flash memory , 2010, IEEE Transactions on Consumer Electronics.

[16]  Yeonseung Ryu,et al.  An Intelligent Garbage Collection Algorithm for Flash Memory Storages , 2006, ICCSA.

[17]  Hiroshi Motoda,et al.  A Flash-Memory Based File System , 1995, USENIX.

[18]  Michael Wu,et al.  eNVy: a non-volatile, main memory storage system , 1994, ASPLOS VI.