Skip to content
Discussion options

You must be logged in to vote

TFC version 1.0.4 contains a new feature in TFCUtils called criuCheckpoint. It can be used like this

from tfc.utils.TFCUtils import criuCheckpoint
criuCheckpoint()

There are some arguments to criuCheckpoint the user can use to modify the behavior. See the criuCheckpoint API for more details.

This will create a checkpoint in the criu_checkpoint with CRIU directory that contains the data needed to restart the program from the same point using CRIU. A message will be printed when running this function that will instruct the user how to restart at a later time.

Warnings/known limitations

  • The user must ensure no external sockets are used. This happens most commonly with matplotlib. Either dis…

Replies: 1 comment

Comment options

leakec
May 28, 2023
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by leakec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
1 participant