摘要
在计算机系统中,当DRAM内存空间即将用尽时,操作系统将启动内存交换机制将内存中不常用的数据换出至底层存储设备(如硬盘)中,当此数据再次被访问时需将其重新换入至内存中。内存数据的换入换出通常以页(4 KB)为单位进行,当被换出的内存页中包含其他热点数据时,会造成频繁的内存数据换入换出,带来冗余的系统I/O操作,影响系统性能。针对这一问题,利用SSD扩展DRAM内存空间,提出一种以对象为粒度的内存管理方案,在选择被换出内存数据时可以对象为单位,降低热点数据被换出内存的可能性,从而减少不必要的系统I/O操作。与Linux内存交换机制相比,本文提出的内存管理方案可以提升最高73.3%的系统性能。
In operating systems,swapping mechanism provides extended main memory space for memory-intensive applications.However,page-granularity swapping causes extra system I/O when objects are smaller than a page.This paper uses NAND flash-based SSD to extend DRAM main memory,and proposes an object-granularity hybrid main memory management scheme to reduce extra system I/O by caching as many hot objects as possible in DRAM.Compared to Linux-swap system,the proposed memory management scheme improves system performance by up to 47.5%for microbenchmarks and 73.3%for real-world memory-intensive workloads.
作者
郝晓冉
陈岚
倪茂
潘磊
HAO Xiaoran;CHEN Lan;NI Mao;PAN Lei(EDA Center, Institute of Microelectronics, Chinese Academy of Sciences, Beijing 100029, China)
出处
《中国科学院大学学报(中英文)》
CSCD
北大核心
2021年第3期423-432,共10页
Journal of University of Chinese Academy of Sciences
基金
National Internet of Things and Smart City Key Project Docking(Z181100003518002)
Beijing Science and Technology Project(Z171100001117147)
Beijing Natural Science Foundation(4184106)。
关键词
内存扩展
固态硬盘
访存密集型应用
混合内存
memory extension
flash-based SSD
memory-intensive application
hybrid memory