From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Kurz Subject: Re: How much of a mess does OpenVZ make? ;) Was: What can OpenVZ do? Date: Thu, 26 Feb 2009 19:30:16 +0100 Message-ID: <1235673016.5877.62.camel__20969.6357640953$1235673169$gmane$org@bahia> References: <1233076092-8660-1-git-send-email-orenl@cs.columbia.edu> <1234285547.30155.6.camel@nimitz> <20090211141434.dfa1d079.akpm@linux-foundation.org> <1234462282.30155.171.camel@nimitz> <1234467035.3243.538.camel@calx> <20090212114207.e1c2de82.akpm@linux-foundation.org> <1234475483.30155.194.camel@nimitz> <20090212141014.2cd3d54d.akpm@linux-foundation.org> <1234479845.30155.220.camel@nimitz> <20090226162755.GB1456@x200.localdomain> <20090226173302.GB29439@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20090226173302.GB29439-X9Un+BFzKDI@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Ingo Molnar Cc: linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, mpm-VDJrAJ4Gl5ZBDgjK7y7TUQ@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Dave Hansen , linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org, viro-RmSDqhL/yNMiFSDQTTA3OLVCufUGDwFn@public.gmane.org, hpa-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org, Andrew Morton , torvalds-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org, Alexey Dobriyan , xemul-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org List-Id: containers.vger.kernel.org On Thu, 2009-02-26 at 18:33 +0100, Ingo Molnar wrote: > I think the main question is: will we ever find ourselves in the > future saying that "C/R sucks, nobody but a small minority uses > it, wish we had never merged it"? I think the likelyhood of that > is very low. I think the current OpenVZ stuff already looks very We've been maintaining for some years now a C/R middleware with only a few hooks in the kernel. Our strategy is to leverage existing kernel paths as they do most of the work right. Most of the checkpoint is performed from userspace, using regular syscalls in a signal handler or /proc parsing. Restart is a bit trickier and needs some kernel support to bypass syscall checks and enforce a specific id for a resource. At the end, we support C/R and live migration of networking apps (websphere application server for example). >From our experience, we can tell: Pros: mostly not-so-tricky userland code, independent from kernel internals Cons: sub-optimal for some resources -- Gregory Kurz gkurz-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org Software Engineer @ IBM/Meiosys http://www.ibm.com Tel +33 (0)534 638 479 Fax +33 (0)561 400 420 "Anarchy is about taking complete responsibility for yourself." Alan Moore.