login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
October
»
27
Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Andrey Mirkin
Subject:
Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart
Date: Monday, October 27, 2008 - 7:45 am
On Monday 20 October 2008 20:37 Daniel Lezcano wrote:
quoted text
> Oren Laadan wrote: > > Daniel Lezcano wrote: > >> Louis Rilling wrote: > >>> On Fri, Oct 17, 2008 at 04:33:03PM -0700, Dave Hansen wrote: > >>>> On Wed, 2008-09-03 at 14:57 +0400, Andrey Mirkin wrote: > >>>>> This patchset introduces kernel based checkpointing/restart as it is > >>>>> implemented in OpenVZ project. This patchset has limited > >>>>> functionality and are able to checkpoint/restart only single process. > >>>>> Recently Oren Laaden sent another kernel based implementation of > >>>>> checkpoint/restart. The main differences between this patchset and > >>>>> Oren's patchset are: > >>>> > >>>> Hi Andrey, > >>>> > >>>> I'm curious what you want to happen with this patch set. Is there > >>>> something specific in Oren's set that deficient which you need > >>>> implemented? Are there some technical reasons you prefer this code? > >>> > >>> To be fair, and since (IIRC) the initial intent was to start with > >>> OpenVZ's approach, shouldn't Oren answer the same questions with > >>> respect to Andrey's patchset? > >>> > >>> I'm afraid that we are forgetting to take the best from both > >>> approaches... > >> > >> I agree with Louis. > >> > >> I played with Oren's patchset and tryed to port it on x86_64. I was able > >> to sys_checkpoint/sys_restart but if you remove the restoring of the > >> general registers, the restart still works. I am not an expert on asm, > >> but my hypothesis is when we call sys_checkpoint the registers are saved > >> on the stack by the syscall and when we restore the memory of the > >> process, we restore the stack and the stacked registers are restored > >> when exiting the sys_restart. That make me feel there is an important > >> gap between external checkpoint and internal checkpoint. > > > > This is a misconception: my patches are not "internal checkpoint". My > > patches are basically "external checkpoint" by design, which *also* > > accommodates self-checkpointing (aka internal). The same holds for the > > restart. The implementation is demonstrated with "self-checkpoint" to > > avoid complicating things at this early stage of proof-of-concept. > > Yep, I read your patchset :) > > I just want to clarify what we want to demonstrate with this patchset > for the proof-of-concept ? A self CR does not show what are the > complicate parts of the CR, we are just showing we can dump the memory > from the kernel and do setcontext/getcontext. > > We state at the container mini-summit on an approach: > > 1. Pre-dump > 2. Freeze the container > 3. Dump > 4. Thaw/Kill the container > 5. Post-dump > > We already have the freezer, and we can forget for now pre-dump and > post-dump. > > IMHO, for the proof-of-concept we should do a minimal CR (like you did), > but conforming with these 5 points, but that means we have to do an > external checkpoint. > > If the POC conforms with that, the patchset will be a little different > and that will show what are the difficult part for restarting a process, > especially to restart it at the frozen state :) and that will give an > idea from 10000 feets of the big picture. > > > For multiple processes all that is needed is a container and a loop > > on the checkpoint side, and a method to recreate processes on the > > restart side. Andrew suggests to do it in kernel space, I still have > > doubts. > > A question to Andrey, do you, in OpenVZ, restart "externally" or it is > the first process of the pid namespace which calls sys_restart and then > populates the pid namespace ?
In OpenVZ we are creating first task and namespaces from sys_restart. Andrey
quoted text
> > > While I held out the multi-process part of the patch so far because I > > was explicitly asked to do it, it seems like this would be a good time > > to push it out and get feedback. > > IMHO it is too soon... > > _______________________________________________ > Containers mailing list >
Containers@lists.linux-foundation.org
>
https://lists.linux-foundation.org/mailman/listinfo/containers
> > _______________________________________________ > Devel mailing list >
Devel@openvz.org
>
https://openvz.org/mailman/listinfo/devel
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 0/9] OpenVZ kernel based checkpointing/restart
, Andrey Mirkin
, (Wed Sep 3, 3:57 am)
[PATCH 1/9] Introduce trivial sys_checkpoint and sys_resto ...
, Andrey Mirkin
, (Wed Sep 3, 3:57 am)
[PATCH 2/9] Make checkpoint/restart functionality modular
, Andrey Mirkin
, (Wed Sep 3, 3:57 am)
[PATCH 3/9] Introduce context structure needed during chec ...
, Andrey Mirkin
, (Wed Sep 3, 3:57 am)
[PATCH 4/9] Introduce container dump function
, Andrey Mirkin
, (Wed Sep 3, 3:57 am)
[PATCH 5/9] Introduce function to dump process
, Andrey Mirkin
, (Wed Sep 3, 3:57 am)
[PATCH 6/9] Introduce functions to dump mm
, Andrey Mirkin
, (Wed Sep 3, 3:57 am)
[PATCH 7/9] Introduce function for restarting a container
, Andrey Mirkin
, (Wed Sep 3, 3:57 am)
[PATCH 8/9] Introduce functions to restart a process
, Andrey Mirkin
, (Wed Sep 3, 3:57 am)
[PATCH 9/9] Introduce functions to restore mm
, Andrey Mirkin
, (Wed Sep 3, 3:57 am)
Re: [PATCH 1/9] Introduce trivial sys_checkpoint and sys_r ...
, Cedric Le Goater
, (Wed Sep 3, 4:44 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart
, Cedric Le Goater
, (Wed Sep 3, 5:28 am)
Re: [PATCH 3/9] Introduce context structure needed during ...
, Matthieu Fertré
, (Wed Sep 3, 5:29 am)
Re: [Devel] Re: [PATCH 1/9] Introduce trivial sys_checkpoi ...
, Andrey Mirkin
, (Wed Sep 3, 6:05 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart
, Louis Rilling
, (Wed Sep 3, 6:49 am)
Re: [PATCH 3/9] Introduce context structure needed during ...
, Louis Rilling
, (Wed Sep 3, 6:56 am)
Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpoint ...
, Andrey Mirkin
, (Wed Sep 3, 6:59 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart
, Louis Rilling
, (Wed Sep 3, 7:06 am)
Re: [PATCH 3/9] Introduce context structure needed during ...
, Andrey Mirkin
, (Wed Sep 3, 7:07 am)
Re: [PATCH 3/9] Introduce context structure needed
, Andrey Mirkin
, (Wed Sep 3, 7:11 am)
Re: [PATCH 3/9] Introduce context structure needed during ...
, Cedric Le Goater
, (Wed Sep 3, 7:13 am)
Re: [PATCH 6/9] Introduce functions to dump mm
, Louis Rilling
, (Wed Sep 3, 7:17 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart
, Serge E. Hallyn
, (Wed Sep 3, 7:18 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart
, Andrey Mirkin
, (Wed Sep 3, 7:19 am)
Re: [PATCH 4/9] Introduce container dump function
, Serge E. Hallyn
, (Wed Sep 3, 7:23 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart
, Cedric Le Goater
, (Wed Sep 3, 7:26 am)
Re: [PATCH 2/9] Make checkpoint/restart functionality modular
, Serge E. Hallyn
, (Wed Sep 3, 7:27 am)
Re: [PATCH 3/9] Introduce context structure needed
, Andrey Mirkin
, (Wed Sep 3, 7:29 am)
Re: [PATCH 8/9] Introduce functions to restart a process
, Louis Rilling
, (Wed Sep 3, 7:32 am)
Re: [PATCH 4/9] Introduce container dump function
, Andrey Mirkin
, (Wed Sep 3, 7:45 am)
Re: [PATCH 2/9] Make checkpoint/restart functionality modular
, Andrey Mirkin
, (Wed Sep 3, 7:51 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart
, Andrey Mirkin
, (Wed Sep 3, 7:53 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart
, Oren Laadan
, (Thu Sep 4, 1:14 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart
, Dave Hansen
, (Thu Sep 4, 7:05 am)
Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpoint ...
, Dave Hansen
, (Thu Sep 4, 3:55 pm)
Re: [PATCH 8/9] Introduce functions to restart a process
, Pavel Machek
, (Sat Sep 13, 10:34 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart
, Dave Hansen
, (Fri Oct 17, 4:33 pm)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart
, Louis Rilling
, (Mon Oct 20, 4:10 am)
Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpoint ...
, Andrey Mirkin
, (Mon Oct 20, 5:14 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart
, Daniel Lezcano
, (Mon Oct 20, 6:25 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart
, Cedric Le Goater
, (Mon Oct 20, 6:48 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart
, Daniel Lezcano
, (Mon Oct 20, 6:49 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart
, Oren Laadan
, (Mon Oct 20, 8:53 am)
Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpoint ...
, Dave Hansen
, (Mon Oct 20, 8:55 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart
, Dave Hansen
, (Mon Oct 20, 9:36 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart
, Daniel Lezcano
, (Mon Oct 20, 9:37 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart
, Serge E. Hallyn
, (Mon Oct 20, 9:51 am)
Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpoint ...
, Oren Laadan
, (Mon Oct 20, 10:17 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart
, Serge E. Hallyn
, (Mon Oct 20, 10:23 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart
, Oren Laadan
, (Mon Oct 20, 5:18 pm)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart
, Serge E. Hallyn
, (Mon Oct 20, 5:58 pm)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart
, Cedric Le Goater
, (Tue Oct 21, 2:36 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart
, Daniel Lezcano
, (Tue Oct 21, 6:24 am)
Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpoint ...
, Andrey Mirkin
, (Mon Oct 27, 7:07 am)
Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpoint ...
, Andrey Mirkin
, (Mon Oct 27, 7:38 am)
Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpoint ...
, Oren Laadan
, (Mon Oct 27, 7:39 am)
Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpoint ...
, Andrey Mirkin
, (Mon Oct 27, 7:45 am)
Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpoint ...
, Andrey Mirkin
, (Wed Oct 29, 11:02 pm)
Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpoint ...
, Louis Rilling
, (Thu Oct 30, 4:47 am)
Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpoint ...
, Serge E. Hallyn
, (Thu Oct 30, 7:08 am)
Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpoint ...
, Dave Hansen
, (Thu Oct 30, 10:03 am)
Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpoint ...
, Dave Hansen
, (Thu Oct 30, 10:08 am)
Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpoint ...
, Oren Laadan
, (Thu Oct 30, 10:45 am)
Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpoint ...
, Louis Rilling
, (Thu Oct 30, 11:01 am)
Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpoint ...
, Louis Rilling
, (Thu Oct 30, 11:14 am)
Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpoint ...
, Oren Laadan
, (Thu Oct 30, 11:28 am)
Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpoint ...
, Oren Laadan
, (Thu Oct 30, 11:32 am)
Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpoint ...
, Louis Rilling
, (Fri Oct 31, 3:37 am)
Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpoint ...
, Oren Laadan
, (Mon Nov 3, 12:35 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Michael Trimarchi
Re: [PATCH] VFS: make file->f_pos access atomic on 32bit arch
Miklos Szeredi
[patch 14/15] vfs: more path_permission() conversions
Serge E. Hallyn
Re: [RFC v5][PATCH 7/8] Infrastructure for shared objects
Bernd Schmidt
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Takashi Iwai
[PATCH 2/2] input: Add LED support to Synaptics device
git
:
Junio C Hamano
Re: mingw, windows, crlf/lf, and git
Eyvind Bernhardsen
Re: Where has "git ls-remote" reference pattern matching gone?
Shawn O. Pearce
Re: Switching from CVS to GIT
Todd Zullinger
Re: [PATCH 2/2] send-email: rfc2047-quote subject lines with non-ascii characters
Santi Béjar
Re: How to use git-fmt-merge-msg?
linux-netdev
:
Ramkrishna Vepa
[net-2.6 PATCH 1/10] Neterion: New driver: Driver help file
Mark Anthony
invitation / inquiry
Ingo Molnar
Re: [PATCH 08/16] dma-debug: add core checking functions
David Miller
Re: [PATCH 1/3] f_phonet: dev_kfree_skb instead of dev_kfree_skb_any in TX callback
Sascha Hauer
[PATCH 03/12] fec: do not typedef struct types
git-commits-head
:
Linux Kernel Mailing List
amba: struct device - replace bus_id with dev_name(), dev_set_name()
Linux Kernel Mailing List
MIPS: Yosemite: Convert SMP startup lock to arch spinlock.
Linux Kernel Mailing List
ARM: S5PC100: IRQ and timer
Linux Kernel Mailing List
davinci: edma: clear interrupt status for interrupt enabled channels only
Linux Kernel Mailing List
x86, mm, kprobes: fault.c, simplify notify_page_fault()
openbsd-misc
:
Daniel A. Ramaley
Re: [semi-OT] Can anyone recommend an OpenBSD-compatible colour laser printer?
Matthias Kilian
Re: can't get vesa @ 1280x800 or nv
Tobias Ulmer
Re: Problem after upgrade 4.5 to 4.6: ERR M
Philip Guenther
Re: SIGCHLD and libpthread.so
J.C. Roberts
Re: [semi-OT] Can anyone recommend an OpenBSD-compatible colour laser printer?
Colocation donated by:
Syndicate