李功, 陈岚, 郝晓冉. 基于PDRAM混合内存架构的Linux内存管理算法[J]. 微电子学与计算机, 2014, 31(5): 14-20.
引用本文: 李功, 陈岚, 郝晓冉. 基于PDRAM混合内存架构的Linux内存管理算法[J]. 微电子学与计算机, 2014, 31(5): 14-20.
LI Gong, CHEN Lan, HAO Xiao-ran. Linux Memory Management Algorithm Based on Hybrid MemoryArchitecture PDRAM[J]. Microelectronics & Computer, 2014, 31(5): 14-20.
Citation: LI Gong, CHEN Lan, HAO Xiao-ran. Linux Memory Management Algorithm Based on Hybrid MemoryArchitecture PDRAM[J]. Microelectronics & Computer, 2014, 31(5): 14-20.

基于PDRAM混合内存架构的Linux内存管理算法

Linux Memory Management Algorithm Based on Hybrid MemoryArchitecture PDRAM

  • 摘要: 近些年来,相变存储器(PRAM)凭借其良好的特性极有可能替代动态存储器(DRAM),发展为下一代主流内存技术.由于PRAM在延时和寿命方面的性能退化,因而采用了位于Linux同一物理地址空间的一大块PRAM和一小块DRAM作为主内存.现有的Linux内核并不是针对混合内存架构而开发的,无法降低PDRAM的内存功耗,因而,采用了基于PDRAM混合内存架构的Linux内存管理算法,针对不同页帧进行管理,并根据虚拟地址空间页面的一般访问性质进行选择分配内存页帧,动态迁移内存页帧,将频繁读为主的数据存储在PRAM,频繁写为主的数据存储在DRAM,从而在只增加0.4%的内存延时情况下,降低50%左右的内存功耗,并且没有影响PRAM的寿命.

     

    Abstract: In recent years,phase-change RAM (PRAM) will most likely become the next generation of mainstream memory technology instead of dynamic RAM (DRAM) because of its good properties.In order to minimize the performance degradation on latency and endurance caused by PRAM,we use PRAM with a small size DRAM and both PRAM and DRAM are mapped into single physical main memory address space in Linux.However,the typical Linux kernel is not develop for hybrid memory architecture,which cannot reduce the PDRAM power consumption.Therefore,we use the memory management algorithm based on hybrid memory architecture PDRAM,which not only can manage different page frames,but also can allocate page frames according to the general access characteristics of pages on virtual address space and migrate page frames dynamically.It can store frequently read data in PRAM and frequently written data in DRAM,which can reduces around 50% power consumption of main memory increased by only 0.4% latency and increase the lifetime of PRAM.

     

/

返回文章
返回