gem5 ruby中的L2 latency
来源:互联网 发布:淘宝开书店是什么类目 编辑:程序博客网 时间:2024/06/07 08:17
下面是本人使用gem5 ruby过程中遇到的问题:
1. 在使用ruby过程中,笔者采用protocol:MESI_CMP_directory编译和运行,运行后的
输出有config.ini, ruby.stats, 以及stats.txt三个文件,一切正常;
然后,我修改MESI_CMP_directory.py:
class L2Cache(RubyCache):
latency = 15
将上述的latency = 15 修改为 20,我本来期望看到性能的差别,即stats.txt中的sim_ticks中
看到明显增加,因为l2的latency增加了嘛,但是实际上在l2的latency的修改前后,两者的值
一样,没有差别;
====
另外在修改L2的latency后,运行产生的config.ini的确显示l2的latency为20;
网上搜了下,看到下面的内容:
https://www.mail-archive.com/gem5-users@gem5.org/msg06258.html
HI Jordan,
The protocol files themselves specified latencies for the different
ports, rather than pulling them from the config files. For example in
the MESI_CMP_directory-L1cache.sm file:
int l2_select_num_bits,
int l1_request_latency = 2,
int l1_response_latency = 2,
int to_l2_latency = 1,
these variables are used to indicate the latency of a protocol message
when it is enqueued to a port. Thus, each port for the same cache
could have different access latencies.
Malek
On Fri, Dec 21, 2012 at 5:14 PM, Jordan Fix <j...@cs.princeton.edu> wrote:
> Hello,
>
> I'm doing simulations with the Ruby memory system. I found a comment in
> configs/ruby/MESI_CMP_directory.py that says:
>
> "# Note: the L2 Cache latency is not currently used"
>
> Does this mean that the ruby memory system for MESI_CMP_directory is not
> timing accurate when going to the L2? What about latency when going to main
> memory?
>
> Thanks.
原来l2 cache的延时并没有在性能计算中被使用到,难怪我前面修改latency从15ns 到 20ns,并没有明显效果。
那要产生效果的话,应该根据实际需要,修改MESI_CMP_directory-L2cache.sm中的相关参数和过程。
0 0
- gem5 ruby中的L2 latency
- GEM5: Different cache latency for read and write access 设置不同的读写latency
- something about Ruby in GEM5
- gem5中的ruby memory system能使用的cpu类型 timing simple
- gem5: 使用ruby memory system中的mesh结构 出现AssertionError错误
- gem5
- gem5三级缓存配置,其中L1和L2为cpu独享
- gem5: 在缓存代码中如何识别缓存是L1,L2还是L3呢?
- 高并发系统中的尾延迟Tail Latency
- Ruby Symbol (Ruby中的冒号)
- [代码阅读]gem5中的classic cache 初步(1)
- gem5中的O3 Pipeline Viewer Visualization实现方法
- L2
- L2
- 什么是 Latency
- clock latency
- clock latency
- memory latency
- 软考之软件工程
- [转载] google ProtoBuf开发者指南
- 决策树ID3和C4.5算法Python实现源码
- 文件数据输入字节流的运用
- reviewboard run!
- gem5 ruby中的L2 latency
- myeclipse连接mysql数据库详细步骤
- 数据挖掘笔记-分类-决策树-MapReduce实现-2
- Android代码工具集——json相关操作
- Jquery的$命名冲突
- name-->resID
- 乱码问题总结
- 何必要那么多的借口。。让我内疚自己还爱的不够
- android手机安全性测试手段