You can mitigate this inconvenience to some extent by using the
checkpointing scheme. Basically you can create a checkpoint right before the
point where marss kicks into simulation mode. This way, you don't have to
wait for the machine to boot up and you don't have to re-type the command at
the command line.



On Thu, May 12, 2011 at 11:12 AM, Hui Kang <[email protected]> wrote:

> Hi, Erdem
> By the way, when I add -kill-after-run, I can get the stats output
> successfully. However, I have to  re-launch the Qemu again, which is not
> very convenient.
>
> - Hui
>
> On May 12, 2011, at 1:46 AM, Erdem Aktas wrote:
>
> > Hi Hui;
> >
> > I just downloaded the marss and qemu image from the marss web page and
> > tried and after 10m instructions (in case you gave -stopinsns 10m)  I
> > am able to use the QEMU console. But when you use -kill-after-run, you
> > don't need to go back to the QEMU console. QEMU will be killed and you
> > will have the stat files at the host machine.
> >
> > If you are still having the problems, could you write:
> > 1- Are you using the latest version of marss
> > 2- How do you run the qemu?
> > 3-Which image are you running?
> > 4-Are you running any benchmark in the guest OS?
> > 5-Are you trying to go back to native mode or just trying to get the stat
> files?
> >
> > -Erdem
> >
> > On Thu, May 12, 2011 at 1:21 AM, Hui Kang <[email protected]>
> wrote:
> >> Hi, Erdem
> >> I do not think qemu switches back to the native mode after the
> simulation completes, even without -kill-after-run.
> >> The console has no response to my input.
> >>
> >> - Hui
> >>
> >>
> >> On May 12, 2011, at 1:16 AM, Erdem Aktas wrote:
> >>
> >>> Hi Hui;
> >>>
> >>> After the simulation stops , in your example after 10m instructions,
> >>> it will switch back to the native mode but I guess you don't need to
> >>> go back to the native mode. Just use -kill-after-run parameter. stats
> >>> files will be in the host machine where you run the qemu-system-x86_64
> >>> command.
> >>>
> >>> -Erdem
> >>>
> >>> On Thu, May 12, 2011 at 12:45 AM, Hui Kang <[email protected]>
> wrote:
> >>>> Hi,
> >>>> I have a question about switching to the native QEMU mode after
> simulation.
> >>>> Suppose I have this simulation command
> >>>>         simconfig -run -stopinsns 10m -stats my.stats
> >>>> It seems that I must add -kill-after-run to make the ptlsim stop
> completely
> >>>> such that ptlstat can be used to convert the stats file to a readable
> >>>> format. However, -kill-after-run will kill the QEMU process.
> >>>> So how can I switch to native mode in QEMU, as well as have the
> readable
> >>>> pltstat results. Thanks.
> >>>> - Hui
> >>>> _______________________________________________
> >>>> 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
>
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to