Workload-Driven Adaptive Log Block Allocation for Efficient Flash Memory Management

효율적 플래시 메모리 관리를 위한 워크로드 기반의 적응적 로그 블록 할당 기법

  • 구덕회 (성균관대학교 정보통신공학부) ;
  • 신동군 (성균관대학교 정보통신공학부)
  • Received : 2009.08.28
  • Accepted : 2009.12.24
  • Published : 2010.04.15

Abstract

Flash memory has been widely used as an important storage device for consumer electronics. For the flash memory-based storage systems, FTL (Flash Translation Layer) is used to handle the mapping between a logical page address and a physical page address. Especially, log buffer-based FTLs provide a good performance with small-sized mapping information. In designing the log buffer-based FTL, one important factor is to determine the mapping structure between data blocks and log blocks, called associativity. While previous works use static associativity fixed at the design time, we propose a new log block mapping scheme which adjusts associativity based on the run-time workload. Our proposed scheme improves the I/O performance about 5~16% compared to the static scheme by adjusting the associativity to provide the best performance.

플래시 메모리는 저전력, 비휘발성, 충격 내구성의 특성 때문에 임베디드 시스템에서 가장 중요한 저장 장치로 사용되고 있다. 하지만, 플래시 메모리는 덮어쓰기가 안 되는 제약 때문에 FTL이라고 하는 주소 변환을 위한 소프트웨어를 사용하며, 효율적인 주소변환을 위해서 로그 버퍼 기반의 FTL이 많이 사용되고 있다. 로그 버퍼 기반 FTL의 설계시에 중요한 사항으로서 데이터 블록과 로그 블록의 연관구조를 결정하는 문제가 있다. 기존의 기법들은 설계시에 결정된 정적인 구조를 사용하지만, 본 논문에서 는 어플리케이션의 시간적 공간적 워크로드의 변화를 고려한 적응적 로그 블록 연관 구조를 제안한다. 제안하는 FTL은 실행시간에 어플리케이션의 워크로드의 변화에 최적화된 로그 블록 연관 구조를 사용함으로써 정적으로 최적의 연관 구조를 선택하는 기존의 기법 대비 5~16%의 성능 향상을 가져왔다.

Keywords

References

  1. Intel Corporation, "Understanding the flash translation layer(FTL) specification," http://developer.intel.com/.
  2. CompactFlash Association. http://www.compactflash.org
  3. Ban. Flash file system optimized for page-mode flash technologies. US Patent 5,937,425, Aug 10, 1999.
  4. Ban. Flash file system. US Patent 5,404,485, Apr 4, 1995.
  5. J. Kim, J. M. Kim, S. H. Noh, S. L. Min, and Y. Cho, "A space-efficient flash translation layer for compact flash systems," IEEE Transactions on Consumer Electronics, vol.48, no.2, pp.366-375, 2002. https://doi.org/10.1109/TCE.2002.1010143
  6. S. W. Lee, D. J. Park, T. S. Chung, W. K. Choi, D. H. Lee, S. W. Park, and H. J. Song, "A log buffer based flash translation layer using fully associative sector translation," ACM Transactions on Embedded Computing Systems, vol.6, no.3, 2007.
  7. Z. Z. Liu, L. H. Yue, P. Wei, P. Q. Jin, and X. O. Xiang, "An Adaptive Block-Set Based Management for Large-Scale Flash Memory," In Proc. of the 2009 ACM Symp. on Applied Computing (SAC 2009), ACM Press, Hawaii, U.S.A., 2009.
  8. Park, W. M. Cheon, J. G. Kang, K. H. Roh, W. H. Cho, and J. S. Kim, "A Reconfigurable FTL (Flash Translation Layer) Architecture for NAND Flash-Based Applications," ACM Transactions on Embedded Computing Systems, vol.7, no.4, 2008.
  9. J. U. Kang, H. Jo, J. S. Kim, and J. Lee, "A superblock-based flash translation layer for NAND flash memory," in Proc. International Conference on Embedded Software, pp.161-170, 2006.
  10. Iozone Filesystem Benchmark, http://www.iozone.org
  11. Samsung Electronics, NAND Flash Memory Datasheet, http://www.samsung.com/Products/Semiconductor/ NANDFlash/SLC_LargeBlock/16Gbit/K9KA G08U0M/ds_k9xxg08uxm_rev10.pdf.