Sorry, I meant this to go to the list! Eliot
-------- Forwarded Message -------- Subject: Re: [Dmtcp-forum] Question about DMTCP Date: Fri, 29 May 2015 16:36:47 -0400 From: Eliot Moss <m...@cs.umass.edu> Reply-To: m...@cs.umass.edu To: Gene Cooperman <g...@ccs.neu.edu> On 5/29/2015 3:50 PM, Gene Cooperman wrote: > Hi Alvaro, > Thanks for agreeing to share this dialogue with the dmtcp-forum. > It may help other users looking for information. > If I understand correctly, you should be able to use the technique > mentioned in > http://dmtcp.sourceforge.net/FAQ.html#size > But maybe I'm still not understanding what you want to do. > > Best, > - Gene I would ask the same question, coming from these thoughts: 1) If size is the issue, then gzipping will take care of it -- those long runs of zeroes will turn into virtually nothing in the gzipped version. So if that is the issue, I would not be concerned. Special marking is not really necessary. 2) Again, if size is the issue, AND the current data are non-zero, BUT you do not need the values on restart, then setting the data to zero before checkpointing makes sense to save space. 3) Or perhaps it has to do with something more semantic, where it is somehow *necessary* that the data be zero on restart? I am guessing that the situation is (2) ... In that case you would want to use a pre-checkpoint call-back to clear out data that do not need to be saved (a little bit like some schemes might do to save GC effort before a garbage collection, etc.) Best wishes -- Eliot Moss ------------------------------------------------------------------------------ _______________________________________________ Dmtcp-forum mailing list Dmtcp-forum@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dmtcp-forum