There's a simconfig option -fast-fwd-checkpoint that should accomplish what
you're looking to do.

The way things work, because you put stop_insns at 200m and fast forward at
250m, the stop gets hit first.

You would want to do fast-forward 250m and stop_insns 450m

On Tue, Sep 8, 2015 at 9:41 PM, 陳芷涵 <[email protected]> wrote:

> Hello,
> I'm new to MARSS. I want to know if I can enter the simulation mode after
> the caches pass cold start phase to prevent the initialization phase from
> affecting the results? At first, I use -stopinsns 300m to stop simulation
> after 300M instructions. However, I found that 300M instructions may not be
> enough. Is -fast-fwd-insns one way to solve this problem?
>
> I've googled and tried many times about fast-fowd-insns but it still
> doesn't work. First, I boot up the VM and use ./create_checkpoint to create
> the checkpoint.
> ./create_checkpoint bzip2_chk ; <benchmark_exe>; ./stop_sim;
> Then, I create simconfig file which is shown as follows:
>
> -machine single_core
> -fast-forward-insns 250m
> -stopinsns 200m
>
> The simulation does not stop at the point it should be stopped. Following
> messages are printed again and again in ptlsim.log
>
> Stopped after 313863665 cycles, 200000001 instructions and 1134 seconds of
> sim time (cycle/sec: 276775 Hz, insns/sec: 176366, insns/cyc:
> 0.6372193512747008)
> Total Tags: single_core,ic5.theda.cad,2015-09-09,total
> Stats Summary:
> user.base_machine.ooo_0_0.thread0.commit.ipc = 1.05659
> kernel.base_machine.ooo_0_0.thread0.commit.ipc = 0.147432
> total.base_machine.ooo_0_0.thread0.commit.ipc = 0.637219
> Stopping simulation loop at specified limits (313863666 cycles, 200000001
> commits)
>
> Could you please tell me in which step I am wrong or what could cause this
> kind of problem.
> Moreover, how can I know if the fast-forwarding is successful or not.
>
> Thanks for reading this long problem description.
> I would be very appreciate if you could help me with this problem.
> Thank you very much!
>
> Regards,
> Amy
>
>
>
> _______________________________________________
> http://www.marss86.org
> Marss86-Devel mailing list
> [email protected]
> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
>
>
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to