1 Star 1 Fork 0

Ria / gem5-nvmain-hybrid-simulator

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

gem5-nvmain-hybrid-simulator

  1. DRAM-NVM Hybrid-Simulator

1.1 Full System Simultor : gem5

1.2 Memory System Simulator: NVMain

1.3 how to attach nvmain with gem5

    (1) environment requirement
  • python version < 3.0
  • scons >= 0.98.1
  • gcc >= 4.6.0;

(2) compile gem5 with nvmain (patch file can be found in gem5-stable/final_patch/nvmain-classic-gem5-9850)

  • patch gem5 with nvmain patch file : patch -p1 < final_patch/nvmain-classic-gem5-9850

  • compile with scons : scons EXTRAS=nvmain-path -jn (n represents compiling threads num)

      (3) run system with nvmain memory
  • you can refer to example in directory rapp-test/gcc:--mem-type=nvmain --nvmain-config=nvmain-config-file-path

  1. Cache Optimization Module in gem5-nvmain-hybrid-simulator

(1)Architecture and Principle of Cache Optimization in DRAM-PCM hybrid memory 

principle of cache optimization

  • adjust cache replacement policy according to cache miss penalty in DRAM-PCM hybrid memory system , for example: evict data block in LLC cache which fetched from PCM is expensive than data block fetched from DRAM . When evicting cache block from LLC cache , evict data block from DRAM first;

  • recalculate cache replacement priority according to penalty of cache miss in memory system and reuse probability of cache block;

      (2)related source code
  • gem5-stable/src/mem/cache/tags/

  1. Rank-Based-Page-Placement Module in hybrid simulator implemented by multi-level-queue

    (1)Principle of Rank-Based-Page-Placement Strategy

principle of Rank-Based-Page-Placement

  • classfy memory pages into hot-pages and cold-pages according to access time;

  • page access information is managed by multi-level-queue;

      (2)related source code
  • nvmain/Utils/MultiQueMigrator/

  • Decoders/Migrator/

  • configuration file example: Config/Hybrid_example.config

  • simple example scripts running CPU SPEC2006 benchmarks are placed in directory: gem5-stable/rapp-test

  1. Programmer-Specific-Page-Migration in Hybrid memory system

空文件

简介

gem5-nvmain hybrid simulator supporting simulation of DRAM-NVM hybrid memory system 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/shuyroy/gem5-nvmain-hybrid-simulator.git
git@gitee.com:shuyroy/gem5-nvmain-hybrid-simulator.git
shuyroy
gem5-nvmain-hybrid-simulator
gem5-nvmain-hybrid-simulator
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891