摘要
针对当前持久性内存(PM,Persistent Memory)资源管理方案无法兼顾持久化特性和可字节寻址特性的问题,提出了一种融合Linux系统内核虚拟内存系统和文件系统的持久性内存统一管理系统VMFS(Virtual Memory File System).VMFS中的单个PM分区可同时提供内存分配和文件存储服务,并利用内外存统一管理的特性可实现内存到文件的重映射机制,避免了不必要的数据拷贝,提升了文件读写性能,且维持了原生编程接口.实验结果表明,对比内外存分别使用PM的方案,VMFS有效提升了文件读写性能.在两种实际工作负载下,VMFS相对于使用DRAM(Dynamic Random Access Memory)和PM分别作为内存和存储的方案具有成本优势和一定程度的持久化性能提升.
Current resources management schemes of persistent memory cannot take advantage of data persistence and byte-addressability of PM(Persistent Memory)at the same time.We propose VMFS(Virtual Memory File System),a uni⁃fied management system based on the virtual memory subsystem and a file system of OS kernel.VMFS provides memory al⁃location and file storage services for applications using a single PM partition.Based on the unified management of virtual memory and file storage,VMFS supports the data re-mapping between memory and files.As the re-mapping mechanism re⁃duces the number of data copying times,file read and write latency performance is improved.The test results show that com⁃pared with the system using PM as memory and storage sperately,the proposed method can accelerate file reading and writ⁃ing while the native system call interface was maintained.Under two realistic workloads,VMFS also shows cost and perfor⁃mance advantages over the scheme using DRAM(Dynamic Random Access Memory)as memory and PM as storage.
作者
张佳辰
胡泽瑞
赵盛
施文杰
王刚
刘晓光
ZHANG Jia-chen;HU Ze-rui;ZHAO Sheng;SHI Wen-jie;WANG Gang;LIU Xiao-guang(College of Computer Science,Nankai University,Tianjin 300350,China;Tianjin Key Laboratory of Network and Data Security Technology,Tianjin 300350,China)
出处
《电子学报》
EI
CAS
CSCD
北大核心
2021年第12期2299-2306,共8页
Acta Electronica Sinica
基金
国家自然科学基金项目(No.U1833114,No.61872201)
天津市科技发展计划(No.18ZXZNGX00140,No.18ZXZNGX00200,No.20JCZDJC00610)。
关键词
持久性内存
非易失内存
文件系统
虚拟内存
数据存储
操作系统
persistent memory
non-volatile memory
file system
virtual memory
data storage
operating system