Consistent asynchronous checkpointing of multithreaded application programs based on semi-active or passive replication
Abstract
A method and mechanisms for checkpointing objects, processes and other components of a multithreaded application program, based on the leader-follower strategy of semi-active or passive replication, where it is not possible to stop and checkpoint all of the threads of the object, process or other component simultaneously. 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 invention enables different threads to be checkpointed at different times in such a way that the checkpoints restore a consistent state of the threads between the existing replicas and a new or recovering replica, even though the threads operate concurrently and asynchronously. The checkpoint of the shared data is piggybacked onto regular messages along with ordering information that determines the order in which the mutexes are granted to the threads.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 42.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of checkpointing objects, processes or components of a multithreaded application program subject to semi-active or passive replication strategies, comprising: controlling access to shared data by threads of said objects, processes or component, which claim mutexes to gain access to said shared data; separately checkpointing the local state of each of said threads and each data shared between threads where said shared data are protected by a mutex; and piggybacking mutex ordering information and checkpoints for shared data onto regular messages so that the values of the shared data of
- Claim 2Depends on #1
A method as recited in claim 1 : wherein said mutex provides said thread with exclusive access to said data; and wherein said thread releases said mutex when it has finished accessing said dat
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 42 total)
References Cited — Backward Prior Art (13)
Non-Patent Literature (5)
- J. Srouji, P. Schuster, M. Bach and Y. Kuzmin; A Transparent Checkpoint Facility on NT, Proceedings of the 2<SUP>nd </SUP>USENIX Windows NT Symposium, Seattle, WA, Aug. 1998, pp. 77-85.
- M. Kasbekar and C.R. Das; Selective Checkpointing and Rollbacks in Multithreaded Distributed Systems, Proceedings fo the IEEE 21<SUP>st </SUP>International Conference on Distributed Computing Systems, Mesa, AZ, Apr. 2001, pp. 39-46.
- Stallings, William; Operating Systems, Third Edition, published 1998, pp. 72, 276-277.
- W. R. Dieter and J. E. Lumpp, Jr.; User-level checkpointing for LinuxThreads programs, Proceedings of the FREENIX Track, USENIX Annual Technical Conference, Boston, MA, Jun. 2001, pp. 81-92.
- Y. Huang and C.M.R. Kintala; Software Implemented Fault Tolerance: Technologies and Experience, Proceedings of the IEEE 23<SUP>rd </SUP>International Symposium on Fault-Tolerant Computing, Toulouse, France, Jun. 1993, pp. 2-9.