Hi Yi,
Thanks for contacting us.
It is not possible to get two checkpoint images that are bit-by-bit
identical even if the program counter is the same. The reason is that there
is a lot of data (and metadata) in the checkpoint images that is bound to
change even if the program counter is the same.
A better way to check for the compatibility of checkpoint images would be
to compare the relevant program state such as heap, data etc and not
compare the DMTCP specific libraries. The DMTCP libraries typically have
different contents even if the program counter is at the same location.
One possibility is to write a small tool which compares only the relevant
data in the two checkpoint images (by ignoring all DMTCP libraries etc.).
Is this something that you would like to do?
Thanks,
Kapil
On Sun, May 19, 2013 at 11:50 AM, Yi Yuan <[email protected]> wrote:
> Hello,
>
> I want to use DMTCP-Aware to take a checkpoints of an application. Later,
> I want to restart the application again and take a checkpoint at the exact
> same position in the code, and be able to compare the checkpoints to see if
> the program state is the same.
>
> However, when I tried this for my application, and also for the sample
> test/dmtcpaware2.c, the generated checkpoint files are not bit-by-bit
> identical between runs. Is this the behavior that should be expected? If
> so, what are the barriers to making the checkpoint files identical for
> running the same application and taking the checkpoint at the same program
> counter, or perhaps you know of another tool that can do what I'm
> describing? I assume this inconsistency is caused by some OS-level
> non-determinism?
>
> Thanks!
> Yi
>
>
>
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> Dmtcp-forum mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dmtcp-forum
>
>
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Dmtcp-forum mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dmtcp-forum