周耀阳 (Zhou Yaoyang)
周耀阳 (Zhou Yaoyang)
How about running linux with the master branch? cpt-bk branch is out of maintaining. We will add SimPoint profiling and checkpointing functions to master branch soon.
It is scheduled and will be ported and tested in a few weeks. If it is urgent for you, you can port simpoint related functions from cpt-bk to master yourself....
Can you try to put $SPEC06_BBL to the last argument of the command?
Be aware that there might be Intellectual property on this technique
https://gitter.im/OpenXiangShan/community https://groups.google.com/g/openxiangshan
Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.
> > 或者这么算: 总执行时钟数 = Sigma(每个片段所代表的cluster的时钟周期数) 一个片段所代表的cluster的时钟周期数 = 这个片段所代表的cluster的指令数 / 这个片段的CPI 这个片段所代表的cluster的指令数 = 总指令数 * 权重 > > 这个计算方法化简之后和上面说的算加权平均CPI的算法是一样的。 > > 这里的总指令数是NEMU采集simpoint的时候log里打印出来total guest instructions吗? > > ``` > [src/cpu/cpu-exec.c:95,monitor_statistic] total...
This issue should be fixed in #121
> 看起来应该是$SPEC06_BBL这个bbl文件不对,没有改workload的起始地址,没有在workload里使用NEMU自定义指令让NEMU进入checkpoint模式。 我们使用普通的emulation workload,用cpt-bk分支的NEMU做profiling能复现同样的问题,workload做下面说的处理之后就正常了。 > > “workload 的生成 因为checkpoint的原理,我们不支持在 M 态下生成checkpoint([Issue #54](https://github.com/OpenXiangShan/NEMU/issues/54)), 因此 workload 需要运行在 S 态或 U 态下运行,比如 Linux 上运行 SPEC2006。构建的方法可以参考 [Linux Kernel for XiangShan in EMU](https://xiangshan-doc.readthedocs.io/zh_CN/latest/tools/linux-kernel-for-xs/) 。 >...
@sequencer Is there an example integration? For example, with Rocket? If RV64GCBV is enabled, it is possible to test with auto-vectorized benchmarks, like some of SPECCPU benchmarks.