DOI QR코드

DOI QR Code

A group based management method of flash memory for enhancing wear-leveling

Wear-leveling 향상을 위한 플래시 메모리의 그룹단위 관리 방법

  • 장시웅 (동의대학교 컴퓨터과학과/부산 IT융합 부품연구소) ;
  • 김영주 (신라대학교 컴퓨터공학과) ;
  • 유윤식 (동의대학교 물리학과/부산 IT융합 부품연구소)
  • Published : 2009.02.28

Abstract

Since flash memory can not be overwritten on updating data, new data are updated in new area and old data should be invalidated and erased for garbage collection. With develop of flash memory technology, capacity of flash memory is rapidly increasing. It increases rapidly execution time of CPU to search an entire flash memory of large capacity when choosing the block to erase in garbage collection. To solve the problem that is increasing execution time of CPU, flash memory is partitioned into several groups, the block to erase in garbage collection is searched within the corresponding group. In workload of access locality, we enhanced wear-leveling within group by allocating hot data to hot group and cold data to cold group respectively and enhanced wear-leveling among groups by exchanging periodically hot group and cold group.

플래시 메모리는 데이터 변경 시에 덮어쓰기가 되지 않아 해당 데이터를 새로운 영역에 쓰기 이전에 존재하던 데이터는 무효화시켜야 하고 가비지 컬렉션 시 소거해야 한다. 플래시 메모리의 빠른 발전속도에 힘입어 플래시메모리의 용량은 급속도로 증가하고 있다. 플래시 메모리의 용량이 대용량화됨에 따라 소거대상 블록을 선택할 때 전체 플래시 메모리를 대 상으로 탐색을 실시하면 CPU의 수행시간이 많이 증가하는 문제점이 있다. 이 단점을 개선하기 위해 플래시 메모리를 그룹으로 분할하여 관리하고 소거대상 블록을 선택할 때 해당 그룹을 대상으로 탐색을 수행한다. 접근 지역성을 가지는 작업부하에 대해 hot 데이터는 hot 그룹에 배치하고, cold 데이터는 cold 그룹에 배치하여 그룹 내에서의 wear-leveling을 개선하고, 주기적으로 hot 그룹의 역할과 cold 그룹의 역할을 교환하여 전체플래시 메모리의 wear-leveling과 성능을 개선하였다.

Keywords

References

  1. Mei-Ling Chiang and Ruei-Chuan Chang, 'Cleaning Policies in Mobile Computers Using Flash Memory.' Journal of Systems and Software. Vol.48, No.3, pp.213-231, 1999 https://doi.org/10.1016/S0164-1212(99)00059-X
  2. Fred Douglis et al. 'Storage Alternatives for Mobile Computers,' In OSDI, November 14-17, Monterey, California, USA
  3. Jen-Wei Hsieh, Li-Pin Chang and Tei-Wei Kuo. 'Efficient On-line Identification of Hot Data for Flash-Memory Management", In SAC, pp.838-842, 2005
  4. Y. Ryu and K. Lee. Improvement of space utilization in nand flash memory storages. Lecture Notes in Computer Science, 3820:766-775, 2005 https://doi.org/10.1007/11599555_74
  5. Chang, L, Kuo, T., and Lo, S., 'Real-Time Garbage Collection for Flash-Memory Storage Systems of Real-Time Embedded Systems,' In ACM Trans. on Embedded Computing Systems, November 2004, pp. 837-863
  6. Li-Pin Chang, Tei-Wei Kuo and Shi-Wu Lo. 'A Real-Time Garbago Collection for Flash-Memory Storage Systems of Real-Time Embedded Systems.' ACM Trans. in Embedded Computing Systems, Vol.3, No.4, pp.837-863, 2004 https://doi.org/10.1145/1027794.1027801
  7. ERAN GAL AND, SIVAN TOLEDO, 'Algorithms and Data Structures for Flash Memories', ACM Computing Surveys, Vol.37, Issue.2, pp.138-163, June, 2005 https://doi.org/10.1145/1089733.1089735
  8. L.Z Han, Y.S Ryu, T.S Chung, M.H Lee, S.W Hong, 'An Intelligent Garbage Collection Algorithm for Flash Memory Storages,' Lecture Notes in Computer Science, 3980:1019-1027, 2006 https://doi.org/10.1007/11751540_111
  9. Atsuo Kawaguchi, Shingo Nishioka, and Hiroshi Motoda, 'Flash Memory Based File System,' Proceedings of USENIX Technical Conference, New Orleans, LA, pp.155-164, 1995
  10. 박제호, 'K 분할 기반 플래시 메모리 균등소거 방법론,' 한국정보처리학회 논문지D, 제13-D권, 제3호, pp.377-382, 2006
  11. 장시웅, '접근 지역성을 가지는 작업부하에서 플래시 파일시스템의 wear-leveling 향상 기법,' 한국해양정보통신학회, 제12권, 제1호, pp.108-114, 2008