Garbage Management System Project
Efficient Garbage Collection Policy and Block Management Method for NAND Flash Memory
Recently NAND flash memories are widely used as storage alternatives to hard disks in embedded systems. Different characteristics of NAND flash memories from hard disks include: a limited block erase count, the impossibility of in-place update, and asymmetry in operation granularity. Thus various garbage collection techniques for the NAND flash memories have been proposed. https://codeshoppy.com/shop/product/location-based-garbage-management-system-for-smart-city/ However, existing garbage collection techniques impede block wear leveling because they use the same method for both hot and cold data. In this paper, we propose efficient garbage collection and block management methods to improve block wear leveling and garbage collection speed. First of all, data are classified into three types according to modification frequency–hot data, cold data, and warm data-and different types of data are stored in different blocks. The erase cost is calculated considering data type, and then garbage collection is performed for the blocks whose erase costs exceed the threshold value. In addition, different block lists are created in RAM by data type, and the blocks are arranged in the order of their erase cost. In experiment results, the proposed methods show that the deviation value of block erase count is sharply reduced in comparison with other algorithms. The average time of the garbage collection decreases by up to 22.1 % compares to the Greedy algorithm and up to 19.5% compares to the PCP algorithm.
Existing garbage collection methods have to search for blocks that have the optimum erase cost after determining the erase cost of each block before deleting blocks. Thus, the garbage collection time increases in proportion to the flash memory size. Furthermore, they do not show good performance for wear leveling because the existence of hot and cold data cannot be reflected. In this study, data are classified into hot data, warm data, and cold data based on the frequency of the data updates, and each data is stored in different blocks by data type. In addition, different erase costs are applied to different data types, and block lists are separately created in RAM according to data type to promote efficient garbage collection. Finally, an effective free block allocation method based on data type is proposed for wear leveling of all blocks. Experiment results show that the standard deviation of the erase count is low regardless of the flash memory usage. In addition, the garbage collection time is shortened by reducing the time for searching for the target blocks for the garbage collection.
Comments
Post a Comment