<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<div class="moz-cite-prefix">On 11/22/2014 09:09 AM, Nipun Arora
wrote:<br>
</div>
<blockquote
cite="mid:CAA9cJVVuOPkPwZ=+mamfnMcAoXA9_E-10Ejx5woKEueNwiX6bQ@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div dir="ltr">Hi All,
<div><br>
</div>
<div>I was wondering if anyone can suggest what is the most
optimal way to do the following</div>
<div><br>
</div>
<div>1. Can anyone clarify if ploop is the best layout for
minimum suspend time during live migration?</div>
</div>
</blockquote>
<br>
Yes (due to ploop copy which only copies the modified blocks).<br>
<br>
<blockquote
cite="mid:CAA9cJVVuOPkPwZ=+mamfnMcAoXA9_E-10Ejx5woKEueNwiX6bQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div>2. I tried migrating a ploop device where I increased the
--diskspace to 5G,<br>
and found that the suspend time taken by live migration
increased to 57 seconds<br>
(mainly undump and restore increased)...<br>
whereas a 2G diskspace was taking 2-3 seconds suspend time...
Is this expected?</div>
<div><br>
</div>
</div>
</blockquote>
<br>
No. Undump and restore times depends mostly on amount of RAM used by
a container.<br>
<br>
Having said that, live migration stages influence each other,
although it's less so<br>
in the latest vzctl release (I won't go into details here if you
allow me -- just make sure<br>
you test with vzctl 4.8).<br>
<br>
<br>
<blockquote
cite="mid:CAA9cJVVuOPkPwZ=+mamfnMcAoXA9_E-10Ejx5woKEueNwiX6bQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>3. I tried running a write intensive workload, and found
that beyond 100-150Kbps,<br>
the suspend time during live migration rapidly increased? Is
this an expected trend?</div>
</div>
</blockquote>
<br>
Sure. With increased writing speed, the amount of data that needs to
be copied after CT<br>
is suspended increases.<br>
<br>
<blockquote
cite="mid:CAA9cJVVuOPkPwZ=+mamfnMcAoXA9_E-10Ejx5woKEueNwiX6bQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div>I am using vzctl 4.7, and ploop 1.11 in centos 6.5</div>
</div>
</blockquote>
<br>
You need to update vzctl and ploop and rerun your tests, there
should be<br>
some improvement (in particular with respect to issue #3).<br>
<br>
<blockquote
cite="mid:CAA9cJVVuOPkPwZ=+mamfnMcAoXA9_E-10Ejx5woKEueNwiX6bQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div>Thanks</div>
<div>Nipun</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@openvz.org">Users@openvz.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openvz.org/mailman/listinfo/users">https://lists.openvz.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>