CRIU

From Wikipedia, the free encyclopedia

Template:Short description

Page Module:Message box/ambox.css has no content.

Page Module:Infobox/styles.css has no content.

CRIU
[[Programmer|DeveloperTemplate:Pluralize from text]]OpenVZ Team at Virtuozzo
Initial release23 July 2012; 14 years ago (2012-07-23)[1]
Template:Infobox software/simple
Written inC and Assembly
Operating systemLinux
Platformx86-64, ARM, Power ISA, IBM System/390
TypeApplication checkpointing
LicenseGNU GPL v.2
Websitecriu.org

Script error: No such module "Check for conflicting parameters".

Lua error in mw.title.lua at line 404: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal'). Checkpoint/Restore In Userspace (CRIU) (pronounced kree-oo, Script error: No such module "IPA".), is a software tool for the Linux operating system. Using this tool, it is possible to freeze a running application (or part of it) and checkpoint it to persistent storage as a collection of files. One 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, rather than in the kernel.

History

The initial version of CRIU software was presented to the Linux developers community by Pavel Emelyanov, the OpenVZ kernel team leader, on 15 July 2011.[2]

In September 2011, the project was presented at the Linux Plumbers Conference.[3] In general, most of the attendees took a positive view of the project, which is proven by the fact that a number of kernel patches required for implementing the project were included in the mainline kernel. Andrew Morton, however, was a bit skeptical:

Template:Quote

Use

The CRIU tool is being developed as part of the OpenVZ project, with the aim of replacing the in-kernel checkpoint/restore. Though its main focus is to support the migration of containers, allowing users to check-point and restore the current state of running processes and process groups. The tool can currently be used on x86-64 and ARM systems and supports the following features:

As of September 2013, no kernel patching is required because all of the required functionality has already been merged into the Linux kernel mainline since kernel version 3.11, which was released on September 2, 2013.[4][5]

TCP connection migration

One of the initial project goals was to support the migration of TCP connections, the biggest challenge being to suspend and then restore only one side of a connection. This was necessary for performing the live migration of containers (along with all their active network connections) between physical servers, the main scenario of using the checkpoint/restore feature in OpenVZ. To cope with this problem, a new feature, "TCP repair mode", was implemented. The feature was included in version 3.5 of the Linux kernel mainline[6] and provides users with additional means to disassemble and reconstruct TCP sockets without the necessity of exchanging network packets with the opposite side of the connection.

References

Page Template:Reflist/styles.css has no content.

  1. ^ Page Module:Citation/CS1/styles.css has no content.Pavel Emelyanov (2012-07-23). "Checkpoint-restore tool v0.1".
  2. ^ Page Module:Citation/CS1/styles.css has no content.Pavel Emelyanov (2011-07-15). "Checkpoint/restore mostly in the userspace".
  3. ^ Page Module:Citation/CS1/styles.css has no content."Checkpoint/restart in the userspace". Linux Plumbers Conf 2011.
  4. ^ Page Module:Citation/CS1/styles.css has no content."Installation: Linux Kernel". Linux kernel v3.11 or newer is required, with some specific options set
  5. ^ Page Module:Citation/CS1/styles.css has no content."Linux kernel 3.11, Section 1.5. Detailed tracking of which pages a task writes". kernelnewbies.org. 2013-09-02. Retrieved 2016-05-03.
  6. ^ Page Module:Citation/CS1/styles.css has no content.Pavel Emelyanov (2012-02-29). "TCP connection repair". Linux Netdev Mailing List.

Further reading

Lua error in package.lua at line 80: module 'Module:Navbox/configuration' not found. Lua error in package.lua at line 80: module 'Module:Navbox/configuration' not found.