DOI QR코드

DOI QR Code

An Efficient Index Buffer Management Scheme for a B+ tree on Flash Memory

플래시 메모리상에 B+트리를 위한 효율적인 색인 버퍼 관리 정책

  • 이현섭 (한양대학교 컴퓨터공학과) ;
  • 주영도 (강남대학교 컴퓨터미디어공학부) ;
  • 이동호 (한양대학교 컴퓨터공학과)
  • Published : 2007.12.31

Abstract

Recently, NAND flash memory has been used for a storage device in various mobile computing devices such as MP3 players, mobile phones and laptops because of its shock-resistant, low-power consumption, and none-volatile properties. However, due to the very distinct characteristics of flash memory, disk based systems and applications may result in severe performance degradation when directly adopting them on flash memory storage systems. Especially, when a B-tree is constructed, intensive overwrite operations may be caused by record inserting, deleting, and its reorganizing, This could result in severe performance degradation on NAND flash memory. In this paper, we propose an efficient buffer management scheme, called IBSF, which eliminates redundant index units in the index buffer and then delays the time that the index buffer is filled up. Consequently, IBSF significantly reduces the number of write operations to a flash memory when constructing a B-tree. We also show that IBSF yields a better performance on a flash memory by comparing it to the related technique called BFTL through various experiments.

최근 NAND 플래시 메모리는 충격에 강한 내구력과, 저 전력 소비, 그리고 비휘발성이라는 특징 때문에 MP3 플레이어, 모바일 폰, 노트북과 같은 다양한 이동 컴퓨팅 장비의 저장 장치로 사용되고 있다. 그러나 플래시 메모리의 특수한 하드웨어적 특징 때문에 디스크 기반의 시스템을 플래시 메모리상에 곧바로 적용 하는 것은 여러 단점들을 발생 시킬 수 있다. 특히 B트리가 구축될 때 레코드의 삽입, 삭제연산 및 노드 분할 연산은 많은 중첩쓰기 연산을 발생하기 때문에 플래시 메모리의 성능을 심각하게 저하시킬 것이다. 본 논문에서는 IBSF로 불리는 효율적인 버퍼 관리 기법을 제안한다. 이것은 색인 단위에서 중복된 색인 단위를 제거하여 버퍼가 채워지는 시간을 지연시키기 때문에 B트리를 구축할 때 플래시 메모리에 데이터를 쓰는 횟수를 줄인다. 또한 다양한 실험을 통하여 IBSF 기법이 기존에 제안되었던 BFTL 기법보다 좋은 성능을 보이는 것을 증명한다.

Keywords

References

  1. Tae-Sun Chung, Dong-Joo Park, Sangwon Park, Dong-Ho Lee, Sang-Won Lee, Ha-Joo Song, 'System Software for Flash Memory: A Survey.', International Conference on Embedded and Ubiquitous Computing, pp394-404, 2006 https://doi.org/10.1007/11802167_41
  2. D. S. Batory, 'B+trees and indexed sequential files: a performance comparison,' ACM SIGMOD international conference on Management of data, pp.30-39, 1981 https://doi.org/10.1145/582318.582323
  3. Chin-Hsien Wu, Li-Pin Chang, Tei-Wei Kuo, 'An Efficient B-Tree Layer for Flash-Memory Storage Systems,' Real - Time and Embedded Computing Systems and Applications (RTCSA), pp.409-430, 2003
  4. Sang-Won Lee, Dong-Joo Park, Tae-Sun Chung., Dong-Ho Lee, Sangwon Park, Ha-Joo Song, 'A Log Buffer based Flash Translation Layer using Fully Associative Sector Translation,' ACM Transactions on Embedded Computing Systems (accepted for publication) https://doi.org/10.1145/1275986.1275990
  5. Intel Corporation, 'Understanding the Flash Translation Layer(FTL) Specification.' Technical report
  6. Jeong-Uk Kang, Heeseung Jo, Jin-Soo Kim, and Joonwon Lee, 'A Superblock-based Flash Translation Layer for NAND Flash Memory,' Proceedings of the 6th Annual ACM Conference on Embedded Software (EMSOFT 2006), pp. 161-170, 2006 https://doi.org/10.1145/1176887.1176911
  7. Keun Soo Yim. et. al, 'A Fast Start-Up Technique for Flash Memory Based Computing Systems,' ACM Symposium on Applied Computing, pp.843-849, 2005 https://doi.org/10.1145/1066677.1066871
  8. C. Bolchini. et. al, 'PoLiDBMS: Design and Prototype Implementation of a DBMS for Portable Devices,' In Proc. Dodicesimo Convegno Nazionale sui Sistemi Evoluti per Basi di Dati, S. Margherita di Pula, I, pp.71-76, 2004
  9. Rajkumar Sen. et. al, 'Efficient Data Management on Lightweight Computing Devices,' IEEE International Conference on Data Engineering, pp.419-420, 2005 https://doi.org/10.1109/ICDE.2005.58
  10. Keun Soo Yim. et. al, 'A Flash Compression Layer for SmartMedia Card Systems,' IEEE Transactions on Consumer Electronics, pp.192-197, 2004 https://doi.org/10.1109/TCE.2004.1277861
  11. ERAN GAL AND SIVAN TOLEDO, 'Algorithms and Data Structures for Flash Memories,' ACM Computing Surveys, Vol.37, No.2, pp.138-163. June 2005 https://doi.org/10.1145/1089733.1089735
  12. Seung-Ho Lim and et. al, 'An Efficient NAND Flash File System for Flash Memory Storage,' IEEE Transactions on Computers, Vol.55, No.7, pp.906-912, July 2006 https://doi.org/10.1109/TC.2006.96
  13. Sunhwa Park and Seong-Young Ohm, 'New Techniques for Real-Time FAT File System in Mobile Multimedia Devices,' IEEE Transactions on Comsumer Electronics, pp.1-9, 2006 https://doi.org/10.1109/TCE.2006.1605017
  14. Sunhwa PARK and et. al, Atomic Write FTL for Robust Flash File System, IEEE International Symposium on Consumer Electronics, pp.155-160, 2005 https://doi.org/10.1109/ISCE.2005.1502361
  15. Samsung Electronics Company, K9F1208R0C 64M*8 bit NAND Flash-Memory Data Sheet, 2007