Laptop computers and tablet PCs currently exploit swap system with their second storage media as a cost effective solution to extend limited memory space. The rapidly evolving flash memory technology starts to replace the magnetic disks of these computers by flash memory due to its advantageous characteristics such as energy efficiency and mechanical shock resistance. Thus, we can imagine that the swap system running over flash memory will show up. However, since the contents of flash memory cannot be overwritten before being erased, we need a flash translation layer (FTL) to use flash memory as a disk transparently. Although FTLs help to deploy flash memory-based storage easily, the kernel and FTL sometimes make bad decisions because FTL cannot access kernel-level information and the kernel is not aware of flash memory states. In this paper, we mainly focus on the swap system running over flash memory. We discuss design and implementation of flash-aware swap system, called FASS, where the kernel manages flash memory-based swap space directly without FTL. This approach can utilize kernel information and flash memory states to optimize the system. On average, we show that our FASS reduces the number of flash read and write operations
[1]
David Woodhouse,et al.
JFFS : The Journalling Flash File System
,
2001
.
[2]
Mendel Rosenblum,et al.
The design and implementation of a log-structured file system
,
1991,
SOSP '91.
[3]
Sang Lyul Min,et al.
A space-efficient flash translation layer for CompactFlash systems
,
2002,
IEEE Trans. Consumer Electron..
[4]
Abraham Silberschatz,et al.
Operating System Concepts
,
1983
.
[5]
Hiroshi Motoda,et al.
A Flash-Memory Based File System
,
1995,
USENIX.
[6]
Daniel Pierre Bovet,et al.
Understanding the Linux Kernel
,
2000
.
[7]
Chanik Park,et al.
Cost-efficient memory architecture design of NAND flash memory embedded systems
,
2003,
Proceedings 21st International Conference on Computer Design.
[8]
Chanik Park,et al.
Energy-aware demand paging on NAND flash-based embedded storages
,
2004,
Proceedings of the 2004 International Symposium on Low Power Electronics and Design (IEEE Cat. No.04TH8758).