Hi Atieh,
  This is a much more complicated question to answer.  It really depends
what level of the simulation you're looking at.  For instance, if you're
running in full-system (FS) mode with an operating system (e.g. Linux) that
supports process migration, then it can handle the migration and you can do
it interactively just as you would on a regular system.  However, if you're
talking about migration between taking and restoring from a checkpoint,
that's going to require manual intervention with the checkpoints.
  Hope this helps,
  Joel

On Wed, May 11, 2011 at 4:50 PM, Atieh Lotfi <[email protected]> wrote:

> Hi,
>
> Thank you for your attention and complete answer.
>
> My goal is to reduce the number and  volume of checkpoints in a
> multicore environment. So I want to leave out the unnecessary
> information to be stored in checkpoints. For example if I want  to
> save the state of one thread in one core, I just need to store the
> state of cores that are in communication with that thread. Considering
> your answer, I think this simulator is suitable for my purpose.
>
> I have also another question. Is it possible to perfom thread/process
> migration in M5? I’d apreciate it if you help me.
>
> Best Regards,
> Atieh
>
>
> On 5/11/11, Joel Hestness <[email protected]> wrote:
> > Hi Atieh,
> >   Can you describe what you mean by checkpointing each core?
> >   A couple notes: First, an M5 checkpoint stores the current state of
> each
> > core separately, so you can view that state separately.  If that's all
> > you're looking for, you could parse that state out of the checkpoint
> files.
> >  Second, the checkpoints store the current state of memory of the system
> > (excluding caches), so if you have multiple cores sharing memory, their
> data
> > and instruction memory may be mixed on the image.  This might not be a
> big
> > deal unless you're also trying to tease apart which portions of memory
> each
> > core is using.
> >   Joel
> >
> >
> > On Tue, May 10, 2011 at 12:32 AM, Atieh Lotfi <[email protected]>
> wrote:
> >
> >> Dear All,
> >>
> >> I have a question about checkpointing in M5. It would be kind of you if
> >> you
> >> could guide me. I want to know is it possible to take checkpoint for
> each
> >> individual core in M5 simulator separately?
> >> Thanks in advance,
> >>
> >> Regards,
> >>
> >> Atieh
> >>
> >> _______________________________________________
> >> m5-users mailing list
> >> [email protected]
> >> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
> >>
> >
> >
> >
> > --
> >   Joel Hestness
> >   PhD Student, Computer Architecture
> >   Dept. of Computer Science, University of Texas - Austin
> >   http://www.cs.utexas.edu/~hestness
> >
> _______________________________________________
> m5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
>



-- 
  Joel Hestness
  PhD Student, Computer Architecture
  Dept. of Computer Science, University of Texas - Austin
  http://www.cs.utexas.edu/~hestness
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to