Hi all,

I learn a common multi-programmed simulation methodology adopted by many architecture researchers. But I am not clear its implementation internals. I describe its idea in brief as following.

For multi-programmed workload consists of M programs, this methodology firstly fast-forwards N1 instructions. Before detailed measurement, it warms up cache with N2 instruction. Then detailed simulation is carried out until all programs execute N3 instructions. Statistics reports only for the first N3 instructions in detailed simulation.

I want to know how to implement it with Gem5 in practice. As far as I know, gem5 provides '-s' option to support mode switch from TimingSimpleCPU to DetailedCPU (O3). However, I have no idea to control each program to execute fixed N3 instructions. Besides, if some programs finish retiring N3 instructions before others, how to dump the stats to assure it is correct for all programs that have executed N3 instructions.


Many thanks,
Hanfeng
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to