skip to main content
research-article

PSA-Cache: A Page-state-aware Cache Scheme for Boosting 3D NAND Flash Performance

Published:06 March 2023Publication History
Skip Abstract Section

Abstract

Garbage collection (GC) plays a pivotal role in the performance of 3D NAND flash memory, where Copyback has been widely used to accelerate valid page migration during GC. Unfortunately, copyback is constrained by the parity symmetry issue: data read from an odd/even page must be written to an odd/even page. After migrating two odd/even consecutive pages, a free page between the two migrated pages will be wasted. Such wasted pages noticeably lower free space on flash memory and cause extra GCs, thereby degrading solid-state-disk (SSD) performance. To address this problem, we propose a page-state-aware cache scheme called PSA-Cache, which prevents page waste to boost the performance of NAND Flash-based SSDs. To facilitate making write-back scheduling decisions, PSA-Cache regulates write-back priorities for cached pages according to the state of pages in victim blocks. With high write-back-priority pages written back to flash chips, PSA-Cache effectively fends off page waste by breaking odd/even consecutive pages in subsequent garbage collections. We quantitatively evaluate the performance of PSA-Cache in terms of the number of wasted pages, the number of GCs, and response time. We compare PSA-Cache with two state-of-the-art schemes, GCaR and TTflash, in addition to a baseline scheme LRU. The experimental results unveil that PSA-Cache outperforms the existing schemes. In particular, PSA-Cache curtails the number of wasted pages of GCaR and TTflash by 25.7% and 62.1%, respectively. PSA-Cache immensely cuts back the number of GC counts by up to 78.7% with an average of 49.6%. Furthermore, PSA-Cache slashes the average write response time by up to 85.4% with an average of 30.05%.

REFERENCES

  1. [1] Cai Yu, Yalcin Gulay, Mutlu Onur, Haratsch Erich F., Cristal Adrian, Unsal Osman S., and Mai Ken. 2013. Error analysis and retention-aware error management for nand flash memory. Intel. Technol. J. 17, 1 (2013), 140165.Google ScholarGoogle Scholar
  2. [2] Chang Li-Pin, Kuo Tei-Wei, and Lo Shi-Wu. 2004. Real-time garbage collection for flash-memory storage systems of real-time embedded systems. ACM Trans. Embed. Comput. Syst. 3, 4 (2004), 837863.Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. [3] Chang W., Lim Y., and Cho J.. 2014. An efficient copy-back operation scheme using dedicated flash memory controller in solid-state disks. In Proceedings of the International Journal of Electrical Energy, Vol. 2.Google ScholarGoogle ScholarCross RefCross Ref
  4. [4] Deng Yuhui and Zhou Jipeng. 2011. Architectures and optimization methods of flash memory based storage systems. J. Syst. Arch. 57, 2 (2011), 214227. DOI:Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. [5] Gao Congming, Shi Liang, Li Qiao, Liu Kai, Xue Chun Jason, Yang Jun, and Zhang Youtao. 2019. Aging capacitor supported cache management scheme for solid-state drives. IEEE Trans. Comput.-Aided Design Integr. Circ. Syst. 39, 10 (2019), 22302239.Google ScholarGoogle ScholarCross RefCross Ref
  6. [6] Hong Duwon, Kim Myungsuk, Park Jisung, Jung Myoungsoo, and Kim Jihong. 2019. Improving SSD performance using adaptive restricted-copyback operations. In Proceedings of the IEEE Non-Volatile Memory Systems and Applications Symposium. 16.Google ScholarGoogle ScholarCross RefCross Ref
  7. [7] Hu Xiameng, Wang Xiaolin, Li Yechen, Zhou Lan, Luo Yingwei, Ding Chen, Jiang Song, and Wang Zhenlin. 2015. LAMA: Optimized locality-aware memory allocation for key-value cache. In Proceedings of the USENIX Annual Technical Conference. 5769.Google ScholarGoogle Scholar
  8. [8] Hu Yang, Jiang Hong, Feng Dan, Luo Hao, and Tian Lei. 2015. PASS: A proactive and adaptive SSD buffer scheme for data-intensive workloads. In Proceedings of the IEEE International Conference on Networking, Architecture, and Storage. 5463.Google ScholarGoogle ScholarCross RefCross Ref
  9. [9] Hu Yang, Jiang Hong, Feng Dan, Tian Lei, Luo Hao, and Zhang Shuping. 2011. Performance impact and interplay of SSD parallelism through advanced commands, allocation strategy and data granularity. In Proceedings of the 25th International Conference on Supercomputing. 96107.Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. [10] Jang Jaehoon, Kim Han-Soo, Cho Wonseok, Cho Hoosung, Kim Jinho, Shim Sun Il, Jeong Jae-Hun, Son Byoung-Keun, Kim Dong Woo, Shim Jae-Joo, et al. 2009. Vertical cell array using TCAT (terabit cell array transistor) technology for ultra high density NAND flash memory. In Proceedings of the IEEE Symposium on VLSI Technology. 192193.Google ScholarGoogle Scholar
  11. [11] Jeong Jaehyeong and Song Yong Ho. 2012. A technique to improve garbage collection performance for NAND flash-based storage systems. IEEE Trans. Consum. Electr. 58, 2 (2012), 470478.Google ScholarGoogle ScholarCross RefCross Ref
  12. [12] Kim H. and Ahn S.. 2008. BPLRU: A buffer management scheme for improving random writes in flash storage. In Proceedings of the 15th USENIX Conference on File and Storage Technologies. 114.Google ScholarGoogle Scholar
  13. [13] Software Laboratory for Advanced System. 2007. UMASS Trace Repository. Retrieved from http://traces.cs.umass.edu/index.php/Storage/Storage.Google ScholarGoogle Scholar
  14. [14] Lee Junghee, Kim Youngjae, Shipman Galen M., Oral Sarp, Wang Feiyi, and Kim Jongman. 2011. A semi-preemptive garbage collector for solid state drives. In Proceedings of the IEEE International Symposium on Performance Analysis of Systems and Software. 1221.Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. [15] Liu Chun Yi, Kotra Jagadish B., Jung Myoungsoo, and Kandemir Mahmut T.. 2018. Pen: Design and evaluation of partial-erase for 3D NAND-based high density SSDs. In Proceedings of the 16th USENIX Conference on File and Storage Technologies. 6782. Google ScholarGoogle Scholar
  16. [16] Manuel Antonio and D’Abreu. 2015. Partial block erase for a three dimensional (3D) memory. (May 192015). U.S. Patent 9286989.Google ScholarGoogle Scholar
  17. [17] Oh Eun Chu and Kong Junjin. 2015. Nonvolatile memory device and sub-block managing method thereof. (Feb. 242015). U.S. Patent 8964481.Google ScholarGoogle Scholar
  18. [18] ONFI. 2021. Open NAND Flash Interface Specification Revision 5.0. Retrieved from https://www.onfi.org/specifications.Google ScholarGoogle Scholar
  19. [19] Samsung. Samsung 980 Pro NVMe SSD. Retrieved from https://www.samsung.com/cn/memory-storage/nvme-ssd/980-pro-nvme-m-2-1tb-mz-v8p500bw.Google ScholarGoogle Scholar
  20. [20] Samsung. Samsung k9xxg08uxa Nand Flash Memory Datasheet. Retrieved from http://www.samsung.com/products/semiconductor/flash/technicallinfo/datasheets.Google ScholarGoogle Scholar
  21. [21] Shim Hyotaek, Seo Bon-Keun, Kim Jin-Soo, and Maeng Seungryoul. 2010. An adaptive partitioning scheme for DRAM-based cache in solid state drives. In Proceedings of the 26th IEEE Symposium on Mass Storage Systems and Technologies. 112.Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. [22] Shu Jiwu, Li Fei, Li Siyang, and Lu Youyou. 2020. Towards unaligned writes optimization in cloud storage with high-performance SSDs. IEEE Trans. Parallel Distrib. Syst. 31, 12 (2020), 29232937. Google ScholarGoogle ScholarCross RefCross Ref
  23. [23] IOTTA SNIA. 2007. MSR Cambridge Traces. Retrieved from http://iotta.snia.org/traces/block-io/388?only=386.Google ScholarGoogle Scholar
  24. [24] TOSHIBA. 2013. NAND Memory Toggle DDR1.0 Technical Data Sheet. Tokyo, Japan.Google ScholarGoogle Scholar
  25. [25] TOSHIBA. 2016. 3D Flash Memory Toggle DDR2.0 Technical Data Sheet. Tokyo, Japan.Google ScholarGoogle Scholar
  26. [26] Wang Shunzhuo, Zhou You, Zhou Jiaona, Wu Fei, and Xie Changsheng. 2021. An efficient data migration scheme to optimize garbage collection in SSDs. IEEE Trans. Comput.-Aided Design Integr. Circ. Syst. 40, 3 (2021), 430443. Google ScholarGoogle ScholarCross RefCross Ref
  27. [27] Wu Fei, Zhou Jiaona, Wang Shunzhuo, Du Yajuan, Yang Chengmo, and Xie Changsheng. 2018. FastGC: Accelerate garbage collection via an efficient copyback-based data migration in SSDs. In Proceedings of the 55th Design Automation Conference. 16. Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. [28] Wu Suzhen, Mao Bo, Lin Yanping, and Jiang Hong. 2017. Improving performance for flash-based storage systems through GC-aware cache management. IEEE Trans. Parallel Distrib. Syst. 28, 10 (2017), 28522865. Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. [29] Wu Suzhen, Zhu Weidong, Han Yingxin, Jiang Hong, Mao Bo, Huang Zhijie, and Chen Liang. 2020. GC-steering: GC-aware request steering and parallel reconstruction optimizations for SSD-based RAIDs. IEEE Trans. Comput.-Aided Design Integr. Circ. Syst. 39, 12 (2020), 45874600. Google ScholarGoogle ScholarCross RefCross Ref
  30. [30] Yan Shiqin, Li Huaicheng, Hao Mingzhe, Tong Michael Hao, Sundararaman Swaminatahan, Chien Andrew A., and Gunawi Haryadi S.. 2017. Tiny-tail flash: Near-perfect elimination of garbage collection tail latencies in NAND SSDs. In Proceedings of the 15th USENIX Conference on File and Storage Technologies. 1528. Google ScholarGoogle ScholarDigital LibraryDigital Library
  31. [31] Yang Ming-Chang, Chang Yu-Ming, Tsao Che-Wei, Huang Po-Chun, Chang Yuan-Hao, and Kuo Tei-Wei. 2014. Garbage collection and wear leveling for flash memory: Past and future. In Proceedings of the International Conference on Smart Computing. 6673.Google ScholarGoogle ScholarCross RefCross Ref
  32. [32] Zhang Genxiong, Deng Yuhui, Zhou Yi, Pang Shujie, Yue Jianhui, and Zhu Yifeng. 2023. Cocktail: Mixing data with different characteristics to reduce read reclaims for NAND flash memory. IEEE Trans. Comput.-Aided Design Integr. Circ. Syst. 42, 1 (2023), 114. DOI:Google ScholarGoogle ScholarCross RefCross Ref
  33. [33] Zhang Wenhui, Cao Qiang, Jiang Hong, and Yao Jie. 2020. Improving overall performance of TLC SSD by exploiting dissimilarity of flash pages. IEEE Trans. Parallel Distrib. Syst. 31, 2 (2020), 332346.Google ScholarGoogle ScholarDigital LibraryDigital Library
  34. [34] Zhou Ke, Zhang Yu, Huang Ping, Wang Hua, Ji Yongguang, Cheng Bin, and Liu Ying. 2020. Efficient SSD cache for cloud block storage via leveraging block reuse distances. IEEE Trans. Parallel Distrib. Syst. 31, 11 (2020), 24962509. Google ScholarGoogle ScholarCross RefCross Ref
  35. [35] Zhou You, Wu Fei, Huang Ping, He Xubin, Xie Changsheng, and Zhou Jian. 2017. Understanding and alleviating the impact of the flash address translation on solid state devices. ACM Trans. Stor. 13, 2 (2017). Google ScholarGoogle Scholar

Index Terms

  1. PSA-Cache: A Page-state-aware Cache Scheme for Boosting 3D NAND Flash Performance

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in

        Full Access

        • Published in

          cover image ACM Transactions on Storage
          ACM Transactions on Storage  Volume 19, Issue 2
          May 2023
          269 pages
          ISSN:1553-3077
          EISSN:1553-3093
          DOI:10.1145/3585541
          Issue’s Table of Contents

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 6 March 2023
          • Online AM: 6 December 2022
          • Accepted: 22 November 2022
          • Revised: 14 November 2022
          • Received: 5 April 2022
          Published in tos Volume 19, Issue 2

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader

        Full Text

        View this article in Full Text.

        View Full Text

        HTML Format

        View this article in HTML Format .

        View HTML Format