Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #1215

Re: Use of checkpoints for parallel data processing?

Newsgroups comp.programming.threads
Date 2012-11-01 18:39 -0700
References (1 earlier) <alpine.LNX.2.00.1210290942540.2984@coulomb.univ-paris12.fr> <fb0706c2-09d1-46b7-bc82-0a4f18a90381@googlegroups.com> <alpine.LNX.2.00.1210291726590.2984@coulomb.univ-paris12.fr> <5c142f28-f08c-4569-ab8e-e17257e6afd0@googlegroups.com> <50926BBD.7000105@web.de>
Message-ID <6ce18a39-f0b1-4c53-b21e-ff2dc6794032@googlegroups.com> (permalink)
Subject Re: Use of checkpoints for parallel data processing?
From Robert Miles <robertmilesxyz@gmail.com>

Show all headers | View raw


On Thursday, November 1, 2012 7:31:58 AM UTC-5, Markus Elfring wrote:
> > I don't expect any changes to be needed for the main purpose of the program, only the very many places I need to change for adding a checkpoint feature.
> 
> 
> 
> Can you reuse any software library for the needed functionality "checkpointing"?
> 
> 
> 
> Regards,
> 
> Markus

I doubt it.  Checkpointing is writing the current state of the program to a disk file, so that the program can restart from that state later if some interruption makes it necessary.  Deciding what to write is very program-dependent; I do not expect any software library to do a decent job at deciding this.

It is REQUIRED that no other threads are still changing the state of the program while this is done.

At least under Windows, the memory will probably be rearranged when the program restarts, so just writing everything back to the same addresses in memory will not work - some of its previous memory is now likely to already be in use by some other program.

Back to comp.programming.threads | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

A book for learning threads? Robert Miles <milesrf@Usenet-News.net> - 2012-10-28 19:26 -0500
  Re: A book for learning threads? Lucas Levrel <lucas.levrel@u-pec.fr> - 2012-10-29 09:45 +0100
    Re: A book for learning threads? Mark <i@dontgetlotsofspamanymore.invalid> - 2012-10-29 09:45 +0000
    Re: A book for learning threads? Robert Miles <robertmilesxyz@gmail.com> - 2012-10-29 07:42 -0700
      Re: A book for learning threads? Lucas Levrel <lucas.levrel@u-pec.fr> - 2012-10-29 17:35 +0100
        Re: A book for learning threads? Robert Miles <robertmilesxyz@gmail.com> - 2012-10-29 23:49 -0700
          Re: A book for learning threads? Lucas Levrel <lucas.levrel@u-pec.fr> - 2012-10-30 10:43 +0100
            Re: A book for learning threads? Robert Miles <robertmilesxyz@gmail.com> - 2012-10-30 07:27 -0700
          Re: Use of checkpoints for parallel data processing? Markus Elfring <Markus.Elfring@web.de> - 2012-11-01 13:31 +0100
            Re: Use of checkpoints for parallel data processing? Robert Miles <robertmilesxyz@gmail.com> - 2012-11-01 18:39 -0700
              Re: Use of checkpoints for parallel data processing? Markus Elfring <Markus.Elfring@web.de> - 2012-11-05 19:58 +0100
              Re: Use of checkpoints for parallel data processing? Markus Elfring <Markus.Elfring@web.de> - 2012-11-05 20:00 +0100
          Re: A book for learning threads? Rui Maciel <rui.maciel@gmail.com> - 2012-11-01 17:55 +0000
          Re: A book for learning threads? Ian Collins <ian-news@hotmail.com> - 2012-11-03 14:52 +1300
            Re: A book for learning threads? Robert Miles <robertmilesxyz@gmail.com> - 2012-11-02 23:46 -0700
              Re: A book for learning threads? Ian Collins <ian-news@hotmail.com> - 2012-11-07 10:37 +1300
  Re: A book for learning threads? Rui Maciel <rui.maciel@gmail.com> - 2012-10-29 12:52 +0000
    Re: A book for learning threads? Robert Miles <robertmilesxyz@gmail.com> - 2012-10-29 07:45 -0700

csiph-web