Hi, Is there any detail documentation that can explain how to decode the ckpt_*.dmtcp file ?
i.e. decode 1) the header section 2) the header for each contiguous memory area (addr range, permissions, etc.) 3) the data for each contiguous memory area I want to know exactly where are the heap, the stack and dynamic libraries, etc. in the ckpt_*.dmtcp file Having a documentation is a easier than reverse engineering the code :-) Thank you in advance for your reply. Best regards, Ramy Gad Johannes Gutenberg - Universität Mainz Zentrums für Datenverarbeitung (ZDV) Anselm-Franz-von-Bentzel-Weg 12 55128 Mainz Germany E-Mail: g...@uni-mainz.de Office Phone: +49-6131-39-26437 ________________________________________ From: Gene Cooperman <g...@ccs.neu.edu> Sent: Wednesday, March 18, 2015 6:54 PM To: Gad, Ramy Cc: dmtcp-forum@lists.sourceforge.net Subject: Re: [Dmtcp-forum] How similar is DMTCP checkpoint file to a process core memory dump ? Hi Ramy, DMTCP is very similar to a process core memory dumps, but it uses its own internal format, with certain enhancements. It includes: 1) a header section 2) a header for each contiguous memory area (addr range, permissions, etc.) 3) the data for each contiguous memory area A memory area with zero pages is saved specially to save space. If you want to look at a DMTCP ckpt image, do: gzip -dc ckpt_*.dmtcp > tmp.dmtcp <DMTCP_DIR>/util/readdmtcp.sh tmp.dmtcp You'll see that DMTCP also saves the memory of all resident libraries. In particular, the DMTCP libraries (plugins) will save additional state in their memory, for the kernel state, state of the network, data in flight in sockets, etc. Best, - Gene On Wed, Mar 18, 2015 at 03:45:16PM +0000, Gad, Ramy wrote: > Hi all, > > > How similar is DMTCP checkpoint file to a process core memory dump ? > > > What are the common info and what are the differences ? > > > Best regards, > > Ramy Gad > Johannes Gutenberg - Universität Mainz > Zentrums für Datenverarbeitung (ZDV) > > Anselm-Franz-von-Bentzel-Weg 12 > 55128 Mainz > Germany > E-Mail: g...@uni-mainz.de<mailto:g...@uni-mainz.de> > Office Phone: +49-6131-39-26437 > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Dmtcp-forum mailing list > Dmtcp-forum@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dmtcp-forum ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Dmtcp-forum mailing list Dmtcp-forum@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dmtcp-forum