[Devel] Re: Userspace checkpoint/restart hack: cryo

Nadia Derbey Nadia.Derbey at bull.net
Mon Jun 9 08:02:42 PDT 2008


Serge E. Hallyn wrote:
> Quoting Nadia Derbey (Nadia.Derbey at bull.net):
> 
>>Cedric Le Goater wrote:
>>
>>> 
>>>
>>>
>>>>Looks like it has worked for me (msg1 creates 1000 msg queues, sleeps
>>>>for a while and then removes the msg queues).
>>>
>>>
>>>cool. which kernel are you using ? 
>>>
>>>C.
>>>
>>>
>>
>>2.6.25-mm1 (sorry for the late answer - plenty of days off in France in 
>>May).
>>
>>Regards,
>>Nadia
> 
> 
> I'm playing with features in cryo, and keeping a git tree at:
> 
> git://git.sr71.net/~hallyn/cryodev.git
> 
> It's meant to exploit the extras which are in the -lxc kernel at
> lxc.sf.net.  Current latest kernel patch is at
> http://lxc.sourceforge.net/patches/2.6.26/2.6.26-rc2-mm1-lxc4/ This -lxc
> tree contains, for instance, Nadia's next_id patches, exploitation for
> setting ids for sysvipc and for tasks at fork, and updated ipc_setall
> patches (also using next_id).  The version of cryo in my git tree
> exploits these.  If you're root when you restart a task, it will clone a
> new set of namespaces and recreate your sysvipc objects, and it will
> reset your pids (even if you're not root if the pids are available).

Serge,

I noticed that the sys_hijack() has disappeared from the lxc dev tree: 
would you mind putting it back. I think it might be useful if we want to 
start a task in a newly defined cgroup, checkpoint it and then try to 
restart it. We will need to 'join' the restarted container to check if 
everything has correctly be restarted. Or may be is there another way to 
do that?

Regards,
Nadia


> 
> Cryo is still rather touchy - I'm trying to track this down.  Older
> distros seem to actually have the most success (I'm told FC6 is somewhat
> useful, while my FC8 kvm image is practically useless with cryo).
> 
> So if you want to play with it, please clone and do so, and send me any
> patches you think should go in.
> 
> thanks,
> -serge
> _______________________________________________
> Containers mailing list
> Containers at lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/containers
> 
> 


_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list