OpenVZ Forum


Home » Mailing lists » Devel » Re: MCR
Re: TCP checkpoint/restart (Re: MCR) [message #17078 is a reply to message #17058] Fri, 15 December 2006 10:56 Go to previous messageGo to previous message
Daniel Lezcano is currently offline  Daniel Lezcano
Messages: 417
Registered: June 2006
Senior Member
Cedric Le Goater wrote:
> Thanks Daniel for moving that thread on the containers@ list.
> 
> When you have some time, could you just recap the main topics
> of this discussion on tcp stack checkpoint/restart. I'm pretty
> sure the openvz team as plenty to say.

Sure.

Actually we are working on the network isolation. There are 2 aspects:

   * Full network isolation/virtualization acting at the layer 2 (device)
   * Network isolation at IP layer, we call it layer 3

The network isolation is the mandatory mechanism to ensure the 
checkpoint/restart because we must identify the network ressourcess 
associated to a container and avoid these ressources to overlap with 
other containers.

To be able to take a snapshot of the network container, we must ensure 
it is freezed during the checkpoint, because we must ensure the 
consistency in the host and with the peers network stack.

We began the checkpoint/restart discussion with this point: how do we do 
container's network freeze ?

  * The first step is to drop the traffic
    - shall it be done with the sk_filter fields of the socket ?
    - or with the netfilter NF_DROP/NF_STOLEN ?

  * The second step is to stop tcp timers to avoid socket destruction 
while checkpointing it

Et voilą !

    -- Daniel








_______________________________________________
Containers mailing list
Containers@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [RFC][PATCH 2/2] pipe: checkpoint and restart entity
Next Topic: Re: [PATCH] namespaces: fix exit race by splitting exit
Goto Forum:
  


Current Time: Tue Aug 26 02:57:52 GMT 2025

Total time taken to generate the page: 0.06065 seconds