<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://criu.org/index.php?action=history&amp;feed=atom&amp;title=CLI%2Fopt%2F--lazy-pages</id>
	<title>CLI/opt/--lazy-pages - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://criu.org/index.php?action=history&amp;feed=atom&amp;title=CLI%2Fopt%2F--lazy-pages"/>
	<link rel="alternate" type="text/html" href="https://criu.org/index.php?title=CLI/opt/--lazy-pages&amp;action=history"/>
	<updated>2026-05-13T18:09:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.6</generator>
	<entry>
		<id>https://criu.org/index.php?title=CLI/opt/--lazy-pages&amp;diff=5158&amp;oldid=prev</id>
		<title>Kir: fix a typo</title>
		<link rel="alternate" type="text/html" href="https://criu.org/index.php?title=CLI/opt/--lazy-pages&amp;diff=5158&amp;oldid=prev"/>
		<updated>2021-06-15T20:56:11Z</updated>

		<summary type="html">&lt;p&gt;fix a typo&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:56, 15 June 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l21&quot; &gt;Line 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 21:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Serve local memory dump to a remote [[CLI/cmd/lazy-pages|&amp;lt;code&amp;gt;lazy-pages&amp;lt;/code&amp;gt;]] daemon.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Serve local memory dump to a remote [[CLI/cmd/lazy-pages|&amp;lt;code&amp;gt;lazy-pages&amp;lt;/code&amp;gt;]] daemon.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In this mode the &amp;lt;code&amp;gt;page-server&amp;lt;/code&amp;gt; reads local memory dump and allows the remote &amp;lt;code&amp;gt;lazy-pages&amp;lt;/code&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;deamon &lt;/del&gt;to request memory pages in random order.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In this mode the &amp;lt;code&amp;gt;page-server&amp;lt;/code&amp;gt; reads local memory dump and allows the remote &amp;lt;code&amp;gt;lazy-pages&amp;lt;/code&amp;gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;daemon &lt;/ins&gt;to request memory pages in random order.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kir</name></author>
	</entry>
	<entry>
		<id>https://criu.org/index.php?title=CLI/opt/--lazy-pages&amp;diff=4397&amp;oldid=prev</id>
		<title>Rppt: Created page with &quot;The &lt;code&gt;--lazy-pages&lt;/code&gt; option may be used with &lt;code&gt;dump&lt;/code&gt;, &lt;code&gt;restore&lt;/code&gt; and &lt;code&gt;page-server&lt;/code&gt; actions. Specifying this option enables functionalit...&quot;</title>
		<link rel="alternate" type="text/html" href="https://criu.org/index.php?title=CLI/opt/--lazy-pages&amp;diff=4397&amp;oldid=prev"/>
		<updated>2017-08-08T13:19:41Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The &amp;lt;code&amp;gt;--lazy-pages&amp;lt;/code&amp;gt; option may be used with &amp;lt;code&amp;gt;dump&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;restore&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;page-server&amp;lt;/code&amp;gt; actions. Specifying this option enables functionalit...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The &amp;lt;code&amp;gt;--lazy-pages&amp;lt;/code&amp;gt; option may be used with &amp;lt;code&amp;gt;dump&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;restore&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;page-server&amp;lt;/code&amp;gt; actions.&lt;br /&gt;
Specifying this option enables functionality necessary for [[Userfaultfd|lazy memory restore]] and [[Lazy migration]].&lt;br /&gt;
&lt;br /&gt;
The actual meaning of the &amp;lt;code&amp;gt;--lazy-pages&amp;lt;/code&amp;gt; option depends what &amp;lt;code&amp;gt;criu&amp;lt;/code&amp;gt; actions has been called with that option.&lt;br /&gt;
&lt;br /&gt;
== Dump ==&lt;br /&gt;
Perform the dump procedure without writing memory pages into the image files and prepare to service page requests over the network.&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;dump&amp;lt;/code&amp;gt; runs in this mode it presumes that [[CLI/cmd/lazy-pages|&amp;lt;code&amp;gt;lazy-pages&amp;lt;/code&amp;gt;]] daemon will connect to it and fetch memory pages in order to lazily inject them into the restored process address space.&lt;br /&gt;
&lt;br /&gt;
This option is intended for [[Lazy migration|post-copy (lazy) migration]] and should be used in conjunction with &amp;lt;code&amp;gt;restore&amp;lt;/code&amp;gt; with appropriate options.&lt;br /&gt;
&lt;br /&gt;
== Restore ==&lt;br /&gt;
Restore the processes without filling out the entire memory contents.&lt;br /&gt;
&lt;br /&gt;
When this option is used, &amp;lt;code&amp;gt;restore&amp;lt;/code&amp;gt; sets up the infrastructure required to fill memory pages either on demand when the process accesses them or in the background without stopping the restored process.&lt;br /&gt;
&lt;br /&gt;
This option requires running [[CLI/cmd/lazy-pages|&amp;lt;code&amp;gt;lazy-pages&amp;lt;/code&amp;gt;]] daemon.&lt;br /&gt;
&lt;br /&gt;
== Page server ==&lt;br /&gt;
Serve local memory dump to a remote [[CLI/cmd/lazy-pages|&amp;lt;code&amp;gt;lazy-pages&amp;lt;/code&amp;gt;]] daemon.&lt;br /&gt;
&lt;br /&gt;
In this mode the &amp;lt;code&amp;gt;page-server&amp;lt;/code&amp;gt; reads local memory dump and allows the remote &amp;lt;code&amp;gt;lazy-pages&amp;lt;/code&amp;gt; deamon to request memory pages in random order.&lt;/div&gt;</summary>
		<author><name>Rppt</name></author>
	</entry>
</feed>