[CRIU] [PATCH] opts: add --no-restore-cgroup option

Serge Hallyn serge.hallyn at ubuntu.com
Mon Aug 4 11:10:32 PDT 2014


Quoting Pavel Emelyanov (xemul at parallels.com):
> On 08/04/2014 08:08 PM, Saied Kazemi wrote:
> > Yes, in practice it would be the responsibility of an "agent" (Docker, LXC, migration agent, etc.) to create the cgroups before attempting to restore the process.  In fact if restore is done on a different machine, the cgroups properties of the source machine may not even apply on the destination machine.
> > 
> > That said, I think we can/should do without --no-restore-cgroup option because the cgroups restore logic in CRIU should detect that everything is already setup and there is no need for it to do anything (effectively it becomes a noop).
> > 
> > In short, CRIU usage will be easier with less options.
> 
> I agree, but how about dump -- if we can ask criu not to dump cgroups, this would be
> less cpu cycles on dump, it will be faster :)

Is that meaningful percentage of dump time?  It ought to be quite quick.


More information about the CRIU mailing list