On Tue, 22 May 2012, Atieh Lotfi wrote:

Hi,

I want to implement local checkpointing for a multicore system with
directory based cache coherency in gem5. I mean I want to let each core
take its checkpoint independently and instead of restoring the whole system
in case of failure just a group of cores rollback to their last recovery
line. I need to store the state of each processor by saving the register
file and cache contents. As I traced the checkpoint code I understood that
in each checkpoint the serialize function for every instantiated simObject
is called. What I am wondering is whether I can perform this by calling
serialize() and unserialize() for some components like RegFile and cpu. Is
it work for my purpose or shall I do something else?
I'd greatly appreciate it if anyone could guide me,


Seems poosible, but serialize and unserialize are tightly linked with SimObject interface. I don't know if things can be made to work correctly by calling these functions for only some of the objects.

You should try using these functions for checkpointing. In case you get stuck in some problem, may be then some one will be able to help you out.

--
Nilay
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to