Flash-aware cluster allocation method based on filename extension for FAT file system

  • Authors:
  • Seungwoo Ryu;Chul Lee;Sanghyun Yoo;Sungjong Seo

  • Affiliations:
  • Samsung Electronics Co., Ltd.;Samsung Electronics Co., Ltd.;Samsung Electronics Co., Ltd.;Samsung Electronics Co., Ltd.

  • Venue:
  • Proceedings of the 2010 ACM Symposium on Applied Computing
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

To support conventional file systems such as FAT, the NAND flash memory needs the FTL to provide transparent block device emulation to the file system. However, the log-block FTL, the most popularly used FTL, suffers from the performance decline in workloads that contain many random writes. When the file system is not aware of the NAND flash, it often allocates files fragmented in the NAND flash, and this causes many random writes. Consequently, to improve the performance of the FTL, the file system must allocate files defragmented in the NAND flash. In this paper, we propose a NAND flash-aware cluster allocation method for FAT file system, named FECA (Flash-aware Extension-based Cluster Allocation). FECA exploits the following two observations. The first one is that the effort to defragment small-sized files may not improve the performance at all times. The second one is that there is a very strong correlation between the size and the filename extension of files in most cases. Based on those observations, FECA predicts sizes of files by using their extensions and determines the allocation policy for them. To evaluate the effectiveness of FECA, we devise two defragmentation metrics considering the features of the NAND flash. We prove that FECA outperforms previous methods in terms of both metrics through extensive experiments. The results show that FECA improves the performance by 10 % and reduces the garbage collection frequency up to 35% compared to the previous methods.