
CLC number: TP212
On-line Access: 2024-08-27
Received: 2023-10-17
Revision Accepted: 2024-05-08
Crosschecked: 2023-03-01
Cited: 0
Clicked: 3517
Citations: Bibtex RefMan EndNote GB/T7714
Zhiwang YU, Runyu ZHANG, Chaoshu YANG, Shun NIE, Duo LIU. An efficient wear-leveling-aware multi-grained allocator for persistent memory file systems @article{title="An efficient wear-leveling-aware multi-grained allocator for persistent memory file systems %0 Journal Article TY - JOUR
一种磨损感知的持久化内存文件系统高效多粒度分配器1贵州大学计算机科学与技术学院公共大数据国家重点实验室,中国贵阳市,550000 2重庆大学计算机学院,中国重庆市,404100 摘要:持久化内存文件系统通过充分利用持久化内存所具有的非易失性、可字节寻址以及与动态随机存取存储器(DRAM)相媲美的访问延迟等特性,极大提升了文件系统性能。然而,由于持久化内存普遍存在写耐受度低的缺陷,现有持久化内存文件系统空间管理策略导致的不平衡写操作极易将底层持久化内存磨损穿,严重威胁数据可靠性。因此,本文提出一种磨损均衡感知的多粒度分配器(Wear-leveling-aware Multi-grained Allocator,简称WMAlloc),以实现持久化内存的磨损均衡,同时提高文件系统性能。WMAlloc采用不同粒度的最小堆来管理持久化内存的未使用空间。对于每次分配请求,WMAlloc可快速从相应粒度的最小堆中分配磨损较少的块。此外,为避免WMAlloc中空闲块插回多粒度最小堆时触发的节点冗余分割和低效遍历查询可用堆等问题,本文提出一种基于位图的多粒度堆树(BMT)结构来改善WMAlloc,称作WMAlloc-BMT。我们在Linux内核集成的一种典型持久化内存文件系统NOVA中实现了所提WMAlloc和WMAlloc-BMT。实验结果表明,与原始NOVA以及目前持久化内存文件系统最优秀的磨损均衡感知分配器DWARM相比,WMAlloc将持久化内存在4个工作负载下的平均使用寿命分别提高至4.11倍和1.81倍,将平均性能分别提高至1.02倍和1.64倍。此外,与WMAlloc相比,WMAlloc-BMT将文件系统在4个工作负载下的平均性能提高至1.08倍,并将持久化内存平均使用寿命提高至1.17倍。 关键词组: Darkslateblue:Affiliate; Royal Blue:Author; Turquoise:Article
Reference[1]Chen XZ, Sha EHM, Zeng YS, et al., 2018. Efficient wear leveling for inodes of file systems on persistent memories. Design, Automation & Test in Europe Conf & Exhibition, p.1524-1527. ![]() [2]Condit J, Nightingale EB, Frost C, et al., 2009. Better I/O through byte-addressable, persistent memory. Proc ACM SIGOPS 22nd Symp on Operating Systems Principles, p.133-146. ![]() [3]Dulloor SR, Kumar S, Keshavamurthy A, et al., 2014. System software for persistent memory. Proc 9th European Conf on Computer Systems, Article 15. ![]() [4]Gogte V, Wang W, Diestelhorst S, et al., 2019. Software wear management for persistent memories. Proc 17th USENIX Conf on File and Storage Technologies, p.45-63. ![]() [5]Hakert C, Chen KH, Yayla M, et al., 2020. Software-based memory analysis environments for in-memory wear-leveling. Proc 25th Asia and South Pacific Design Automation Conf, p.651-658. ![]() [6]Huang FT, Feng D, Xia W, et al., 2016. Security RBSG: protecting phase change memory with security-level adjustable dynamic mapping. IEEE Int Parallel and Distributed Processing Symp, p.1081-1090. ![]() [7]Huang FT, Feng D, Hua Y, et al., 2017. A wear-leveling-aware counter mode for data encryption in non-volatile memories. Design, Automation & Test in Europe Conf & Exhibition, p.910-913. ![]() [8]Huang JC, Peng M, Wu LB, et al., 2022. Lamina: low overhead wear leveling for NVM with bounded tail. Proc 27th Asia and South Pacific Design Automation Conf, p.377-382. ![]() [9]Intel, 2015. 3D XPoint Unveiled: the Next Breakthrough in Memory Technology. https://builders.intel.com/datacenter/social-hub/video/3d-xpoint-unveiled-the-next-breakthrough-in-memory-technology [Accessed on Oct. 11, 2022]. ![]() [10]Kadekodi R, Lee SK, Kashyap S, et al., 2019. SplitFS: reducing software overhead in file systems for persistent memory. Proc 27th ACM Symp on Operating Systems Principles, p.494-508. ![]() [11]Li W, Shuai ZQ, Xue CJ, et al., 2019. A wear leveling aware memory allocator for both stack and heap management in PCM-based main memory systems. Design, Automation & Test in Europe Conf & Exhibition, p.228-233. ![]() [12]Liu D, Lin Y, Huang PC, et al., 2017. Durable and energy efficient in-memory frequent-pattern mining. IEEE Trans Comput-Aided Des Integr Circ Syst, 36(12):2003-2016. ![]() [13]Moraru I, Andersen DG, Kaminsky M, et al., 2013. Consistent, durable, and safe memory management for byte-addressable non volatile main memory. Proc 1st ACM SIGOPS Conf on Timely Results in Operating Systems, Article 1. ![]() [14]Network Appliance, Inc., 2022. The Postmark Filesystem Benchmark. https://github.com/wolfwood/postmark [Accessed on Oct. 11, 2022]. ![]() [15]Nie S, Yang CS, Zhang RY, et al., 2020. WMAlloc: a wear-leveling-aware multi-grained allocator for persistent memory file systems. IEEE 26th Int Conf on Parallel and Distributed Syst, p.510-517. ![]() [16]Ou JX, Shu JW, Lu YY, 2016. A high performance file system for non-volatile main memory. Proc 11th European Conf on Computer Systems, Article 12. ![]() [17]Palangappa PM, Li JY, Mohanram K, 2016. WOM-code solutions for low latency and high endurance in phase change memory. IEEE Trans Comput, 65(4):1025-1040. ![]() [18]Qureshi MK, Karidis JP, Franceschini M, et al., 2009. Enhancing lifetime and security of PCM-based main memory with start-gap wear leveling. Proc 42nd Annual IEEE/ACM Int Symp on Microarchitecture, p.14-23. ![]() [19]Qureshi MK, Seznec A, Lastras LA, et al., 2011. Practical and secure PCM systems by online detection of malicious write streams. Proc 17th Int Conf on High Performance Computer Architecture, p.478-489. ![]() [20]Seong NH, Woo DH, Lee HH, 2011. Security Refresh: protecting phase-change memory against malicious wear out. IEEE Micro, 31(1):119-127. ![]() [21]Sha EHM, Chen XZ, Zhuge QF, et al., 2016. A new design of in-memory file system based on file virtual address framework. IEEE Trans Comput, 65(10):2959-2972. ![]() [22]Tarasov V, Zadok E, Shepler S, 2016. Filebench: a flexible framework for file system benchmarking. Login, 41(1):6-12. ![]() [23]Wu L, Zhuge QF, Sha EHM, et al., 2018. DWARM: a wear-aware memory management scheme for in-memory file systems. Fut Gener Comput Syst, 88:1-15. ![]() [24]Xu J, Swanson S, 2016. NOVA: a log-structured file system for hybrid volatile/non-volatile main memories. Proc 14th USENIX Conf on File and Storage Technologies, p.323-338. ![]() [25]Yang CS, Liu D, Zhang RY, et al., 2020a. Efficient multi-grained wear leveling for inodes of persistent memory file systems. Proc 57th ACM/IEEE Design Automation Conf, p.1-6. ![]() [26]Yang CS, Liu D, Zhang RY, et al., 2020b. Optimizing performance of persistent memory file systems using virtual superpages. Design, Automation & Test in Europe Conf & Exhibition, p.714-719. ![]() [27]Yu SP, Xiao N, Deng MZ, et al., 2015. WAlloc: an efficient wear-aware allocator for non-volatile main memory. Proc 34th IEEE Int Performance Computing and Communications Conf, p.1-8. ![]() Journal of Zhejiang University-SCIENCE, 38 Zheda Road, Hangzhou
310027, China
Tel: +86-571-87952783; E-mail: cjzhang@zju.edu.cn Copyright © 2000 - 2025 Journal of Zhejiang University-SCIENCE | ||||||||||||||


ORCID:
Open peer comments: Debate/Discuss/Question/Opinion
<1>