{'fraction_non_alphanumeric': 0.02110022607385079, 'fraction_numerical': 0.0, 'mean_word_length': 5.119815668202765, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
DA-GC: A Dynamic Adjustment Garbage Collection Method Considering Wear-leveling for SSD

NAND Flash-based solid-state drive (SSD) typically require a garbage collection operation to reclaim invalid data to reuse invalid pages and also need to introduce wear-leveling mechanisms to avoid excessive wear on some flash blocks. Through these operations, the life and data reliability of the SSD can be improved. In the various garbage collection methods of existing SSD, wear-leveling and garbage collection are generally considered separately, and the garbage collection algorithms are static strategies and will not be adjusted as the SSD status changes. However, in the actual process, the wear level of each flash block in the SSD is changing at any time, so it is necessary to balance the wear-leveling and garbage collection to obtain the optimal performance of the SSD. This paper proposes a dynamic garbage collection method named DA-GC (dynamic adjustment garbage collection), which can dynamically adjust the garbage collection algorithm according to the wear condition of SSD. The experimental evaluation in this paper proves that the DA-GC method reduces the wearing frequency of the SSD and the overhead of the garbage collection process, which can effectively improve the service life and data reliability of the SSD.