An Analysis on the Performance of TRIM Commands on SSDs and its Application to the Ext4 File System

손효봉, Youngjae Lee, Yongserk Kim, Jin‐Soo Kim · 정보과학회 컴퓨팅의 실제 논문지 · 2015

In this paper, we analyze the performance of the TRIM commands on various SSDs and, based on our analysis results, we enhance the performance of these TRIM commands in the Ext4 file system. We observed that the performance of the TRIM commands improves as the size of the LBA-range increases, the sector number is aligned and continuous or more LBA-ranges are notified via a single TRIM command. However, although the performance is better when multiple LBA-ranges are informed by a single TRIM command, the Ext4 file system issues a single TRIM command for every LBA-range. In this paper, we modify the Ext4 file system to convey at most 64 LBA-ranges per TRIM command. Evaluations through Filebench show that the performance of file deletion operations is improved by up to 35%.

Read the paper · More papers on PaperTik