Skip to content

SquareAndCompass-2/VAS-CRIU

 
 

Repository files navigation

VAS-CRIU

VAS-CRIU is built for fast in-memory checkpoint/restore for processes. It snapshots memory state of a process into a process indepedent address space which can used for restore.

Dependencies of VAS-CRIU

  • Linux 4.10+ kernel with support Multiple Virtual Address Spaces(MVAS)
  • libmvas, a library containing wrappers for VAS system calls
  • mvas CLI, a command line to tool to list, create, remove VASes

VAS-CRIU supports the same CLI options as CRIU.

Eg: $>criu dump -t PID -vvv dump.log

List VASes in the system, each new checkpoint will be stored in a VAS with a unique ID. This VAS ID is store in mm.img file.

$>mvas -la /sys/kernel/vas/1/ user: 0 mode: 0600 group: 0 name: CP-24694-4576337492

/sys/kernel/vas/2/ user: 0 mode: 0600 group: 0 name: CP-3374-4576337560

$>criu restore -vvv restore.log

CRIU (Checkpoint and Restore in Userspace)

An utility to checkpoint/restore tasks. Using this tool, you can freeze a running application (or part of it) and checkpoint it to a hard drive as a collection of files. You can then use the files to restore and run the application from the point it was frozen at. The distinctive feature of the CRIU project is that it is mainly implemented in user space.

The project home is at http://criu.org.

Pages worth starting with are:

A video tour on basic CRIU features

CRIU introduction

How to contribute

About

VAS-CRIU: Process checkpoint/restore with fast in-memory snapshotting of memory using MVAS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 88.3%
  • Python 5.3%
  • Shell 2.7%
  • Makefile 2.3%
  • Assembly 0.8%
  • C++ 0.5%
  • Other 0.1%