DOI QR코드

DOI QR Code

An Empirical Study on Linux I/O stack for the Lifetime of SSD Perspective

SSD 수명 관점에서 리눅스 I/O 스택에 대한 실험적 분석

  • 정남기 (성균관대학교 반도체디스플레이공학과) ;
  • 한태희 (성균관대학교 정보통신대학)
  • Received : 2015.06.09
  • Accepted : 2015.09.03
  • Published : 2015.09.25

Abstract

Although NAND flash-based SSD (Solid-State Drive) provides superior performance in comparison to HDD (Hard Disk Drive), it has a major drawback in write endurance. As a result, the lifetime of SSD is determined by the workload and thus it becomes a big challenge in current technology trend of such as the shifting from SLC (Single Level Cell) to MLC (Multi Level cell) and even TLC (Triple Level Cell). Most previous studies have dealt with wear-leveling or improving SSD lifetime regarding hardware architecture. In this paper, we propose the optimal configuration of host I/O stack focusing on file system, I/O scheduler, and link power management using JEDEC enterprise workloads in terms of WAF (Write Amplification Factor) which represents the efficiency perspective of SSD life time especially for host write processing into flash memory. Experimental analysis shows that the optimum configuration of I/O stack for the perspective of SSD lifetime is MinPower-Dead-XFS which prolongs the lifetime of SSD approximately 2.6 times in comparison with MaxPower-Cfq-Ext4, the best performance combination. Though the performance was reduced by 13%, this contributions demonstrates a considerable aspect of SSD lifetime in relation to I/O stack optimization.

낸드 플래시 기반의 SSD (Solid-State Drive)는 HDD (Hard Disk Drive) 대비 월등한 성능에도 불구하고 쓰기 회수 제한이라는 태생적 단점을 가지고 있다. 이로 인해 SSD의 수명은 워크로드에 의해 결정되어 SSD의 기술 변화 추세인 SLC (Single Level Cell) 에서 MLC (Multi Level Cell) 로의 전환, MLC에서 TLC (Triple Level Cell) 로의 전환에 있어 큰 도전이 될 수 있다. 기존 연구들은 주로 wear-leveling 또는 하드웨어 아키텍처 측면에서 SSD의 수명 개선을 다루었으나, 본 논문에서는 호스트가 요청한 쓰기에 대해 SSD가 낸드플래시 메모리를 통해 처리하는 수명관점의 효율성을 대변하는 WAF (Write Amplification Factor) 관점에서 Host I/O 스택 중 파일 시스템, I/O 스케줄러, 링크 전력에 대해 JEDEC 엔터프라이즈 워크로드를 이용해 I/O 스택 최적 구성에 대해 실험적 분석을 수행하였다. WAF는 SSD의 FTL의 효율성을 측정하는 지표로 수명관점에서 가장 객관적으로 사용한다. I/O 스택에 대한 수명 관점의 최적 구성은 MinPower-Dead-XFS로 최대 성능 조합인 MaxPower-Cfq-Ext4에 비해 성능은 13% 감소하였지만 수명은 2.6 배 연장됨을 확인하였다. 이는 I/O 스택의 최적화 구성에 있어, SSD 성능 관점뿐만 아니라 수명 관점의 고려에 대한 유의미를 입증한다.

Keywords

References

  1. M. Goldman, K. Pangal, G. Naso, and A. Goda, "25nm 64Gb 130mm2 3bpc NAND Flash Memory," in Proceedings of the International Memory Workshop, pp. 1-4, May 2011.
  2. Y. J. Woo and J. S. Kim, "Diversifying Wear Index for MLC NAND Flash Memory to Extend the Lifetime of SSDs," in Proceedings of the International Conference on Embedded Software, pp. 1-10, October 2013.
  3. S. W. Lee, D. J. Park, T. S. Chung, D. H. Lee, S. W. Park, and H. J. Song, "A Log Buffer-based Flash Translation Layer Using Fully Associative Sector Translation," ACM Transactions on Embedded Computing Systems, vol. 6, no. 3, July 2007.
  4. F. Chen, T. Luo, and X. D. Zhang, "CAFTL: A Content-aware Flash Translation Layer Enhancing the Lifespan of Flash Memory Based Solid State Drives," In Proceedings of the 9th USENIX Conference on File and Storage Technologies, p. 6, February 2011.
  5. Y. J. Park and J. S. Kim, "Compression Support for Flash Translation Layer," in Proceedings of the International Workshop on Software Support for Portable Storage, pp. 19-24, August 2010.
  6. G. Soundararajan, V. Prabhakaran, M. Balakrishnan, and T. Wobber, "Extending SSD Lifetimes with Disk-Based Write Caches," In Proceedings of the 8th USENIX Conference on File and Storage Technologies, p. 8, February 2010.
  7. W. Shin, Q. C. Chen, M. W. Oh, H. S. Eom, and H. Y. Yeom, "OS IO Path Optimizations for Flash Solid-state Drives", In Proceedings of USENIX Annual Technical Conference, pp. 483-488, June 2014.
  8. K. Zhou, P. Huang, C. H. Li, and H. Wang, "An Empirical Study on the Interplay Between Filesystems and SSD," in Proceedings of IEEE 7th International Conference on Networking, Architecture and Storage, pp. 124-133, June 2012.
  9. H. Sun, X. Qin, and C. S. Xie, "Exploring Optimal Combination of a File System and an I/O Scheduler for Underlying Solid State Disks," Journal of Zhejiang University Science C, vol. 15, issue. 8. pp. 607-621, August, 2014. https://doi.org/10.1631/jzus.C1300314
  10. P. Sehgal, V. Tarasov, and E. Zadok, "Evaluating Performance and Energy in File System Server Workload," In Proceedings of 8th USENIX Conference on File and Storage Technologies, pp. 19-19, February 2010.
  11. H. Cook, J. Ellithorpe, L. Keys, and A. Waterman "IotaFS: Exploring File System Optimizations for SSDs," University of California at Berkeley, 2008.
  12. Technical Committee T13 AT Attachment, http://www.t13.org.
  13. http://en.wikipedia.org/wiki/I/O_scheduling
  14. Active-State Power Management, http://access.redhat.com.
  15. A. Foong, B. Veal, and F. Hady. "Towards SSD-Ready Enterprise Platforms," In Proceedings of 36th the International Conference on Very Large Data Bases, September 2010.
  16. http://www.jedec.org/sites/default/files/docs/JESD218A.pdf
  17. Vasudevan, Venkatesh, Hanmant Belgal, and Neal Mielke. "Verification and Management of Endurance in NAND SSDs." Flash Memory Summit, August, 2012.