[CRIU] criu fails to dump JVM processes due to a half-closed socketpair()

Florian Gross Florian.S.Gross at web.de
Tue Jul 2 08:39:51 EDT 2013


On 02.07.2013, at 16:55, Pavel Emelyanov <xemul at parallels.com> wrote:

> Florian, I've reproduced the issue with your-like test program,
> integrated one into our auto-test suite and (hopefully) fixed.
> Can you check whether the current criu HEAD solves your issue
> with Java?

I've just checked it with crtools HEAD. I'm now successfully able to restore the process tree of VNC and eclipse in 1.36 seconds on my meager machine, which is highly awesome. Thanks a lot! :)

Contrast this with starting a new instance of eclipse (without checkpointing), which takes about 29.6 seconds. That's an impressive improvement of 21.76x.

This is already plenty fast for me. However I'm curious: Have you thought about reverting a process (tree) back to a checkpoint without first needing to shut down the processes?

I guess only reverting those parts of process state that have been changed since the checkpoint instead of needing to restore everything from disk might be even faster. (The kernel changes in the repository to track dirty pages sound like they might be heading into that direction?)

Best regards,
Florian Gross




More information about the CRIU mailing list