Browse > Article
http://dx.doi.org/10.5626/KTCP.2015.21.1.52

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

Son, Hyobong (Sungkyunkwan Univ.)
Lee, Youngjae (Sungkyunkwan Univ.)
Kim, Yongserk (Sungkyunkwan Univ.)
Kim, Jin-Soo (Sungkyunkwan Univ.)
Publication Information
KIISE Transactions on Computing Practices / v.21, no.1, 2015 , pp. 52-57 More about this Journal
Abstract
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%.
Keywords
solid state drive; NAND flash memory; TRIM command; Ext4 file system;
Citations & Related Records
연도 인용수 순위
  • Reference
1 C. Hyun, J. Choi, D. Lee, and S. H. Noh, "To TRIM or not to TRIM:Judicious triming for solid state drives," Poster presentation in the 23rd ACM Symposium on Operating Systems Principles, 2011.
2 M. Saxena and M. M. Swift, "FlashVM: Virtual memory management on flash," Proc. of the 2010 USENIX Annual Technical Conference, pp. 187-200. 2010.
3 J. Kim, H. Kim, S. Lee, and Y. Won, "FTL design for TRIM command," Proc. of the 5th International Workshop on Software Support for Portable Storage, pp. 7-12, 2010.
4 F. Shu and N. Obr, "Data set management commands proposal for ATA8-ACS2," INCITS T13/ e07153r6 (Revision 6), Dec. 2007.
5 N. Agrawal, V. Prabhakaran, T. Wobber, J. D. Davis, M. Manasse, and R. Panigrahy, "Design tradeoffs for SSD performance," Proc. of 2008 USENIX Annual Technical Conference, pp. 57-70, 2008.
6 N. Jeremic, G. Muhl, A. Busse, and J. Richling, "Operating system support for dynamic over-provisioning of solid state drives," Proc. of the 27th Annual ACM Symposium on Applied Computing, pp. 1753- 1758. 2012.
7 D. Kang and Y. Eom, "Analyses of the Characteristics of Trim Command in Solid State Drive," Proc. of the KIISE Korea Computer Congress 2014, pp. 1448-1449. 2014. (in Korean)
8 The OpenSSD Project. [Online]. Available: http://www.openssd-project.org (downloaded 2014, Aug. 31)