MNFS: Design of Mobile Multimedia File System based on NAND FLASH Memory

MNFS : NAND 플래시메모리를 기반으로 하는 모바일 멀티미디어 파일시스템의 설계

  • 김효준 (삼성전자 기술총괄 소프트웨어연구소) ;
  • 원유집 (한양대학교 전자컴퓨터통신공학과) ;
  • 김요환 (한양대학교 전자컴퓨터통신공학과)
  • Published : 2008.12.15

Abstract

Mobile Multimedia File System, MNFS, is a file system which extensively exploits NAND FLASH Memory, Since general Flash file systems does not precisely meet the criteria of mobile devices such as MP3 Player, PMP, Digital Camcorder, MNFS is designed to guarantee the optimal performance of FLASH Memory file system. Among many features MNFS provides, there are three distinguishable characteristics. MNFS guarantees, first, constant response time in sequential write requests of the file system, second, fast file system mounting time, and lastly least memory footprint. MNFS implements four schemes to provide such features, Hybrid mapping scheme to map file system metadata and user data, manipulation of user data allocation to fit allocation unit of file data into allocation unit of NAND FLASH Memory, iBAT (in core only Block Allocation Table) to minimize the metadata, and bottom-up representation of directory. Prototype implementation of MNFS was tested and measured its performance on ARM9 processor and 1Gbit NAND FLASH Memory environment. Its performance was compared with YAFFS, NAND FLASH File system, and FAT file system which use FTL. This enables to observe constant request time for sequential write request. It shows 30 times faster mounting time to YAFFS, and reduces 95% of HEAP memory consumption compared to YAFFS.

본 연구는 NAND 플래시 메모리를 기반으로 하는 모바일 멀티미디어 파일시스템(MNFS)에 관한 내용이다. 이 연구에서 제안하는 파일시스템은 기존 범용 플래시 파일시템과는 달리 MP3 플레이어, PMP, 디지털 캠코더 둥과 같은 모바일 멀티미디어 장치에서 최적의 성능을 보장하기 위하여 설계된 파일시스템이다. MNFS는 크게 세 가지의 특징을 갖는데, 첫째 파일시스템의 순차적인 쓰기 요청에 대해 균일한 응답시간을 보장하고, 둘째 파일시스템 마운트 시간이 빠르며, 셋째 최소한의 메모리만을 소모한다. 이를 위해 4가지 새로운 기법들을 사용한다. 파일시스템 메타데이타와 사용자 데이타를 서로 다른 맵핑 기법으로 관리하는 혼합 맵핑 기법과, 파일 데이타 할당 단위를 NAND 플래시 메모리의 블록 단위로 사용한 블록 단위사용자 데이타 할당, 메타데이타를 최소화하기 위한 iBAT, 그리고 상향식 디렉토리 표현기법이다. 프로토타입 MNFS를 ARM9 프로세서와 1G 비트 용량의 NAND 플래시 메모리환경에서 구현하고 성능을 측정한다. 기존의 NAND 플래시 파일시템인 YAFFS와 FTL을 사용하는 FAT 파일시스템과 비교하였으며, 순차적 쓰기 요청에 대해 빠르고 균일한 응답시간을 확인할 수 있다. 또, 같은 조건에서 YAFFS에 비해 30배 빠른 마운트 시간을 보였고, Heap 메모리도 YAFFS의 5%밖에 소모하지 않았다.

Keywords

References

  1. W. Mangione-Smith, P. Ghang, S. Nazareth, P. Lettieri, W. Boring, R. Jain, "A low power architecture for wireless multimedia systems: lessons learned from building a power hog," Proceedings of the 1996 international symposium on Low power electronics and design, pp. 23-28
  2. Samsung Electronics, "16M x 8 Bit NAND Flash Memory," http://www.samsung.com/
  3. SSFDC Forum, "SmartMediaTM Specification," http://www.ssfdc.or.jp
  4. Samsung Electronics, "512 Mb/1Gb OneNANDTM Flash Memory," http://www.samsung.com/
  5. Microsoft, "FAT: General Overview of On-Disk Format," Ver.1.03, 2000
  6. Intel Corporation, "Understanding the flash translation layer (FTL) specification," http://developer. intel.com/
  7. Li-Pin Chang, Tei-Wei Kuo, "An efficient management scheme for large-scale flash-memory storage systems," in Proceedings of the 2004 ACM symposium on Applied computing, 2004, pp. 862-868
  8. D. Woodhouse, "JFFS: The Journaling Flash File System," in Ottawa Linux Symposium, 2001
  9. Aleph One Company, "Yet Another Flash Filing System," http://www.aleph1.co.uk/yaffs
  10. M. Rosenblum, and J. K. Ousterhout, "The Design and Implementation of a Log-Structured File System," ACM Transactions on Computer Systems, Vol. 10, No. 1, 1992, pp. 26-52 https://doi.org/10.1145/146941.146943
  11. Li-Pin Chang, Tei-Wei Kuo, Shi-Wu Lo, "Real- time garbage collection for flash-memory storage systems of real-time embedded systems," in ACM Transactions on Embedded Computing Systems (TECS), Volume 3 Issue 4, 2004, pp. 837-863 https://doi.org/10.1145/1027794.1027801