Hi Muzamil, I guess switching CPU could be an option according to your requirement (see "-s" flag in Options.py). Based on my limited experience, fast forward flag only skip the statistic counting. Running with fast forward, I only see the stats file is showing no statistics (all of them are showing 0) of that many instructions you specified. I think the main part to save your simulation time is to boot a system with simple CPU and switch it to O3 cpu, then simulate benchmarks from that stage.
You may also do check pointing if you don't use ruby that much. Thanks, Wei ----- Original Message ----- From: "Muzamil Rafique" <[email protected]> To: [email protected] Sent: Friday, March 3, 2017 6:09:58 PM Subject: [gem5-users] Fast Forwarding in Simulation Hi All, I am trying to run a simple configuration script consisting of SimpleCPU, caches and main memory. I have added SPEC CPU2006 benchmark as a workload and it runs just fine. I want to add options like "--fast-forward" and "maxinsts" to reduce total simulation time and fast-forward to specific instruction count and execute in detail mode from that point. I am able to add "maxinsts" option with a simple code: system.cpu.max_insts_any_thread = options.maxinsts and getting required results. The problem is in implementing "--fast-forward" option. I am not sure how to use this option to fast-forward certain number of instructions. Can anyone give me some insight into or refer me to certain documentation? Thanks Muzamil _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
