<p dir="ltr">Thanks for your remind, vasily averin has readdress it for me<br>
</p>
<br><div class="gmail_quote"><div dir="ltr">Kirill Kolyshkin &lt;<a href="mailto:kir@odin.com">kir@odin.com</a>&gt;于2015年7月14日 周二 03:33写道:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>
<p dir="ltr">Wrong list, please use <a href="mailto:criu@openvz.org" target="_blank">criu@openvz.org</a></p>
<div class="gmail_quote"></div></div><div><div class="gmail_quote">On Jul 12, 2015 00:59, Yanbao Cui &lt;<a href="mailto:yygcui@gmail.com" target="_blank">yygcui@gmail.com</a>&gt; wrote:<br type="attribution">
</div></div><div><div class="gmail_quote"><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr">Hi,
<div><br>
</div>
<div>I am working on the docker checkpoint/restore use CRIU, and the <span style="color:rgb(84,84,84);line-height:18.2000007629395px">time consuming is the key point we concerned.</span></div>
<div><font color="#545454"><span style="line-height:18.2000007629395px"><br>
</span></font></div>
<div><font color="#545454"><span style="line-height:18.2000007629395px">I found a strange phenomenon that the created socket need additional at least 0.5 seconds to reconnect after the docker restore done.</span></font></div>
<div><font color="#545454"><span style="line-height:18.2000007629395px"><br>
</span></font></div>
</div></div></blockquote></div></div><div><div class="gmail_quote"><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr"><div><font color="#545454"><span style="line-height:18.2000007629395px">But if I create a new socket after restoring the docker , it will connect to the peer immediately.</span></font></div>
<div><font color="#545454"><span style="line-height:18.2000007629395px"><br>
</span></font></div>
<div><font color="#545454"><span style="line-height:18.2000007629395px">No matter the connection uses TCP or UDP.</span></font></div>
<div><font color="#545454"><span style="line-height:18.2000007629395px"><br>
</span></font></div>
<div><font color="#545454"><span style="line-height:18.2000007629395px">From the CRIU source code, I found that it will create a new socket with SO_REUSEADDR, and change the original fd to this new one. but I have no idea that why it need more time to recovery.</span></font></div>
<div><font color="#545454"><span style="line-height:18.2000007629395px"><br>
</span></font></div>
<div><font color="#545454"><span style="line-height:18.2000007629395px">Could someone help me to explain it or give me some points?</span></font></div>
<div><font color="#545454"><span style="line-height:18.2000007629395px"><br>
</span></font></div>
<div><font color="#545454"><span style="line-height:18.2000007629395px">Thanks very much!<br clear="all">
</span></font>
<div><br>
</div>
-- <br>
<div><font color="#3333ff"></font>
<div><font color="#3333ff">Best Regards</font></div>
<div><font color="#3333ff">Cui Yanbao | 崔言宝</font></div>
<div><font color="#3333ff">--</font></div>
龍生玖天,豈能安於凡塵!</div>
</div>
</div></div></blockquote></div></div><div><div class="gmail_quote"><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr"></div>
</div>
</blockquote>
</div>
</div>

_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openvz.org" target="_blank">Users@openvz.org</a><br>
<a href="https://lists.openvz.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/users</a><br>
</blockquote></div>