[CRIU] Restoring Two Copies of a Process

Pavel Emelyanov xemul at parallels.com
Thu Nov 14 02:29:23 PST 2013


On 11/14/2013 01:50 AM, Christopher Covington wrote:
> Hi,
> 
> Is it possible to restore the same image twice (or more times)?

It is, though not always, e.g. TCP  connection cannot be restore twice.
The simplest way of doing this is -- you manually create namespaces with
e.g. unshare tool from shell, then restore the images into them with criu.

> It would be
> interesting from a performance analysis standpoint to run two copies of the
> same program starting from the same place. I'd imagine creating a namespace
> for each restored process might be necessary.
> 
> Thanks,
> Christopher
> 


Thanks,
Pavel


More information about the CRIU mailing list