{'fraction_non_alphanumeric': 0.02544529262086514, 'fraction_numerical': 0.0, 'mean_word_length': 5.296, '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}}
A demand-based caching method for garbage collection in flash-memory embedded systems

NAND flash memory has been used for the data storage of mobile devices, Laptops, and various embedded systems, but requires a garbage collection mechanism due to its erase-before-write characteristic. Garbage collection consists of a series of activities (such as read, write, and erase operations) that usually degrade the lifetime and the performance of NAND-based storage systems. In this paper, we propose a demand-based caching method for garbage collection in flash-memory embedded systems. The experimental results show that the proposed method can cache a small part of appropriate information about garbage collection in RAM-limited embedded systems and the performance is still reasonable.