Consistent asynchronous checkpointing of multithreaded application programs based on active replication
Abstract
A method for checkpointing a multithreaded application program, based on the egalitarian and competitive active replication strategy. The invention enables different threads to be checkpointed at different times in such a way that the checkpoints restore a consistent state of the threads at a new or recovering replica, even though the threads operate concurrently and asynchronously. Separate checkpoints are generated for the local state of each thread and for the data that are shared between threads and are protected by mutexes. The checkpoint of the shared data is communicated in a special message that also determines the order in which the claims of mutexes are granted to the threads. A source-code preprocessor tool is described for inserting code into an application program to checkpoint the state of the thread during normal operation and to restore the state of the thread from the checkpoint subsequently.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 73.
Claims (2 — 2 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of checkpointing an object, process or other component of a multithreaded application program subject to active replication, comprising: controlling access to shared data by threads of a replica of said object, which claim mutexes to gain access to said shared data; ordering the processing of messages by, and the granting of mutexes to, said threads of said replica of said object competitively based on the first said processing or granting, wherein all replicas process messages and are granted mutexes in the same order; providing separate checkpointing for the local state of each said
- Claim 2Independent Claim
A method as recited in c
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 73 total)
References Cited — Backward Prior Art (20)
Non-Patent Literature (2)
- Dieter, WR. and Lumpp, J.E.; A User-level Checkpointing Library for POSIX Threads Programs; Twenty-Ninth Annual International Symposium on Falut Tolerant Computing; 1999; pp. 224-227.
- Stallings, William; Operating Systems: Internals and Design Principles, Third Edition; 1998; Prentice-Hall, Inc.; pp. 276-277.