摘要: change the following files: gem5/configs/common/CacheConfig.py gem5/configs/common/Caches.py gem5/configs/common/Options.py gem5/src/mem/cache/Cache.p 阅读全文
posted @ 2021-06-15 21:52 ZY_Hou 阅读(109) 评论(0) 推荐(0)
摘要: 1. 安装和配置ssh sudo apt install openssh-server sudo apt install openssh-client 配置ssh_config: sudo vi /etc/ssh/ssh_config 将PasswordAuthentication设置为yes,之后 阅读全文
posted @ 2021-04-16 21:24 ZY_Hou 阅读(5014) 评论(0) 推荐(0)
摘要: 1. gem5 cache: 若采用gem5的classic缓存模型,是不支持多bank模式的,需自己配置。操作如下: src/mem/cache/ a.【src/mem/cache/Cache.py】cache 的声明源代码:定义了cache的基本参数,以及三个文件:cache.hh, base. 阅读全文
posted @ 2021-04-08 16:20 ZY_Hou 阅读(1447) 评论(1) 推荐(0)
摘要: 1. 局部性原理(locality) cache中局部地址对应的数据较为常用,而该局部地址以外的数据较少使用。局部性是cache的巨大特性。把常用数据的地址,放到cache中,避免CPU不停的到MEM中寻找数据。 2. cache的命中率 指 CPU在任意时刻从cache中可靠读取数据的概率, 能在 阅读全文
posted @ 2021-04-07 20:20 ZY_Hou 阅读(1266) 评论(0) 推荐(0)
摘要: Bug 1 $ import m5 error: import-im6.q16: attempt to perform an operation not allowed by the security policy `PS' @ error/constitute.c/IsCoderAuthorize 阅读全文
posted @ 2021-03-12 10:32 ZY_Hou 阅读(632) 评论(0) 推荐(0)
摘要: 为了项目,接触gem5,从昨天开始尝试在服务器上安装gem5,过程几经波折。一开始就像无头苍蝇,毫无头绪;在gem5官网、百度、CSDN等平台的帮助下,渐渐摸清了在CentOS6服务器上安装gem5的一般步骤。 阶段性的记录一下。 1. 弄清所用服务器的系统及版本。(因为gem5对软件包的版本是有要 阅读全文
posted @ 2021-02-27 20:21 ZY_Hou 阅读(541) 评论(0) 推荐(0)