电子学报2024,Vol.52Issue(9) :3038-3051.DOI:10.12263/DZXB.20221257

一种可重构异构内存架构和控制器

A Reconfigurable Heterogeneous Memory Architecture and Memory Controller

靳晓忠 刘海坤 赖皓 毛伏兵 张宇 廖小飞 金海
电子学报2024,Vol.52Issue(9) :3038-3051.DOI:10.12263/DZXB.20221257

一种可重构异构内存架构和控制器

A Reconfigurable Heterogeneous Memory Architecture and Memory Controller

靳晓忠 1刘海坤 1赖皓 1毛伏兵 1张宇 1廖小飞 1金海1
扫码查看

作者信息

  • 1. 大数据技术与系统国家地方联合工程研究中心/服务计算与系统教育部重点实验室/集群与网格计算湖北省重点实验室,华中科技大学,湖北 武汉 430074;华中科技大学计算机科学与技术学院,湖北 武汉 430074
  • 折叠

摘要

融合传统动态随机访问存储器(Dynamic Random Access Memory,DRAM)与新型非易失性内存(Non-Volatile Memory,NVM)可构建平行架构或层次架构的异构内存系统.平行架构的异构内存系统往往需要通过页迁移技术把热点数据从NVM迁移到DRAM以提高访存性能,然而在操作系统中实现热页监测和迁移会带来巨大的软件性能开销.硬件实现的层次架构由于增加了访存层次,对于访存局部性差的大数据应用反而增加了访存延迟.为此,本文提出可重构的异构内存架构,可以运行时在平行和层次架构间进行转换以动态适配不同应用的访存特性.设计了基于新型指令集架构RISC-V(Reduced Instruction Set Computing-V)的DRAM/NVM异构内存控制器,利用少量硬件计数器实现了访存踪迹统计和分析,并实现了DRAM和NVM物理页间的动态映射和高效迁移机制.实验表明,DRAM/NVM异构内存控制器可提高43%的应用性能.

Abstract

Heterogeneous memory systems composed of traditional dynamic random access memory(DRAM)and new non-volatile memory(NVM)can be organized in a horizontal architecture or a hierarchical architecture.The horizontal DRAM/NVM architecture often requires page migration technologies to improve memory access performance.However,hot page monitoring and migration implemented in operating systems would cause significant software performance over-head.The hardware-supported hierarchical architecture even increases the memory access latency for big data applications with poor data locality due to the deeper memory hierarchy.To this end,this paper proposes a reconfigurable heterogeneous memory architecture that can be converted between horizontal and hierarchical architectures at runtime to dynamically adapt the memory access characteristics of different applications.We design a DRAM/NVM heterogeneous memory con-troller(HMC)based on the new instruction set architecture RISC-V(Reduced Instruction Set Computing-V).The HMC us-es a few hardware counters for memory access monitoring and analyzing,and achieves dynamic address mapping and eff icient page migration between DRAM and NVM pages.Experimental results show that the DRAM/NVM hybrid memory controller can improve application performance by 43%.

关键词

非易失性内存/异构内存系统/异构内存控制器/内存访问监测/页迁移

Key words

non-volatile memory/heterogeneous memory systems/heterogeneous memory controller/memory ac-cess monitoring/page migration

引用本文复制引用

基金项目

国家自然科学基金(62072198)

湖北省自然科学基金(2021CFA037)

出版年

2024
电子学报
中国电子学会

电子学报

CSTPCD北大核心
影响因子:1.237
ISSN:0372-2112
段落导航相关论文