参考:Questions about Cache Warmup Option in Gem5
说明:当使用如下命令执行时:
$GEM5/build/X86/gem5.opt -d Output/m5out_test $GEM5/configs/example/se.py --cpu-type \"detailed\" --caches --l2cache -n 1 --bench "omnetpp" -F 2000000000 --standard-switch=100000000 --warmup-insts 100000000 -I 100000000 --l2_size='1MB' --l2_assoc=4
–warmup-insts表示将运行这么多指令后,统计数据将reset,即实际上你的模拟是从warmup后开始的,所有统计数据都是从这里开始计算的。
-I即–maxinsts表示每个核最大的运行指令数,如果设置–maxinsts=100, cpu=4, 那么stats.txt中的sim_insts的值为小于等于400。

本文详细解释了在Gem5环境中如何利用CacheWarmupOption进行缓存预热,包括warmup-insts参数的作用及maxinsts参数的含义,并提供了实例演示。
1422

被折叠的 条评论
为什么被折叠?



