On Mon, Mar 26, 2012 at 10:12 PM, Yebin Lee <[email protected]> wrote:

> Hello,
>
> I executed marss with -fast-fwd-user-insns and -fast-fwd-checkpoint
> options to make a fast-forwarded checkpoint.
> However, it is switched to simulation mode immediately when the vm is just
> booted up even I didn't run create_checkpoint file in a vm image.
> Actually, I'm still not familiar with the marss so I have no much
> knowledge that how to use fast-forwarding related options.
> Could any one show me an example to make a checkpoint with fast-forwarding
> capabilities or to use them in a console?
>

When you give fast-forwarding option, Marss will start counting
instructions right-away.  So if you give fast-forwarding option and boot
the VM, Marss will start counting instruction in boot also.  Because of
that when the counter reaches to your specified limit, it will switch to
simulation mode.  In order to avoid such issues, create a checkpoint after
OS is booted completely and you are logged into terminal.  After then use
fast-forwarding option and load the booted checkpoint and issue your
benchmark command.

I have created a small utility file that uses ptlcall to issue fast-fwd and
checkpoint command like 'start_sim' and 'stop_sim'. Its source code is
here: https://gist.github.com/2218676.  Use it to create a checkpoint after
specific amount of user-level instructions.

- Avadh


> Regards,
> Yebin
>
> _______________________________________________
> 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