Browse > Article

FlaSim: A FTL Emulator using Linux Kernel Modules  

Choe, Hwa-Young (한국외국어대학교 컴퓨터 및 정보통신공학과)
Kim, Sang-Hyun (한국외국어대학교 컴퓨터 및 정보통신공학과)
Lee, Seoung-Won (한국외국어대학교 정보통신공학과)
Park, Sang-Won (한국외국어대학교 정보통신공학과)
Abstract
Many researchers have studied flash memory in order to replace hard disk storages. Many FTL algorithms have been proposed to overcome physical constraints of flash memory such as erase-before-write, wear leveling, and poor write performance. Therefore, these constraints should be considered for testing FTL algorithms and the performance evaluation of flash memory. As doing the experiments, we suffer from several problems with costs and settings in experimental configuration. When we, for example, replay the traces of Oracle to evaluate the I/O performance with flash memory, it is hard to extract exact traces of I/O operations in Oracle. Since there are only write operations in the log, it is impossible to gather read operations. In MySQL and SQLite, we can gather the read operations by changing I/O functions in the source codes. But it is not easy to search for the exact points about I/O and even if we can find out the points, we might get wrong results depending on how we modify source codes to get I/O traces. The FlaSim proposed in this paper removes the difficulties when we evaluate the performance of FTL algorithms and flash memory. Our Linux drivers emulate the flash memory as a hard disk. And we can easily obtain the usage statistics of flash memory such as the number of write, read, and erase operations. The FlaSim can be gracefully extended to support the additional modules implemented by novel algorithms and ideas. In this paper, we describe the structure of FTL emulator, development tools and operating methods. We expect this emulator to be helpful for many experiments and research with flash memory.
Keywords
Flash Memory; Flash Translation Layer; Database; Linux Module Program;
Citations & Related Records
Times Cited By KSCI : 2  (Citation Analysis)
연도 인용수 순위
1 W. J. Park, S. H. Park, S. W. Park, “Performance Analysis of Flash Translation Layer Algorithms for Windows-based Flash Memory Storage Device,” Journal of KIISE : Computing Practices and Letters, vol.13, no.4, pp.213-225, Aug. 2007 (in Korean)   과학기술학회마을
2 S. W. Park, “Flash memory and Database,” Journal of KIISE, vol.25, no.6, pp.40-47, June. 2007 (in Korean)
3 W. Lee, B. K. Moon, “Design of Flash-Based DBMS: An In-Page Logging Approach” ACM SIGMOD International Conference on Management of Data : Database technology for novel appli-cations, pp.55-66, June. 2007. Bejing, China
4 C. Jim, “NAND Flash 101: An Introduction to NAND Flash and How to Design it In to Your Next Product,” Micron Technology Inc., Technical Note, TN-29-19, Nov. 2006
5 H. Park. J. Y. Jang, Y. J. Seo, W. J. Park, S. W. Park, “Performance Analysis of Flash Translation Layer using TPC-C Benchmark,” Journal of KIISE : Computing Practices and Letters, vol.14, no.2, Apr. 2008 (in Korean)   과학기술학회마을
6 A. Ban “Flash file system optimized for page-mode flash technologies,” United States Patent, patent no.5937425, August 10. 1999
7 J. S. Kim, J. M. Kim. S. H. Noh, S. L. Min, Y. K. Cho, “A space-efficient flash translation layer for Compact Flash systems,” IEEE Transactions on Consumer Electronics, vol.48, no.2, May. 2002   DOI   ScienceOn