Re: checkpoint/restart ABI

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Oren Laadan
Date: Thursday, August 21, 2008 - 8:43 am

Arnd Bergmann wrote:
 >

By pre-copying I refer to the first stage of live-migration: to reduce
down time, much of the state of a container can be saved while tasks
are still running (most notably memory, but also file system snapshot,
if need be). Since the state may change, this is repeated - to save the
what changed in the meanwhile - until the delta is small enough. During
all this time the tasks continue to execute. At this point, we freeze
the container, save the last delta, and resume (in case of snapshot) or
or kill (in case of live-migration) the container. I'm not convinced that
execve() is the best way to handle this iterative process.

Also, with multiple tasks in a container, data for consecutive tasks
will appear in order in the checkpoint image. Moreover, a future
optimization would be the have multiple threads checkpoint the container,
with data interleaved in the checkpoint image stream. Here, too, I'm
not sure how execve()-like approach plays.

Finally there is the case of shared objects: v2 demonstrates this in
checkpoint/objhash.c (see also Documentation/checkpoint.txt). Again,
I'm not sure how execve() can adapt to this need.

I definitely agree that using something like execve() is elegant and
has its advantages. It just isn't clear to me that it is truly suitable
for the needs. Suggestions are welcome.

Oren.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC][PATCH 0/4] kernel-based checkpoint restart, Dave Hansen, (Thu Aug 7, 3:40 pm)
[RFC][PATCH 2/4] checkpoint/restart: x86 support, Dave Hansen, (Thu Aug 7, 3:40 pm)
Re: [RFC][PATCH 0/4] kernel-based checkpoint restart, Arnd Bergmann, (Fri Aug 8, 2:25 am)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Arnd Bergmann, (Fri Aug 8, 5:09 am)
Re: [RFC][PATCH 0/4] kernel-based checkpoint restart, Dave Hansen, (Fri Aug 8, 11:06 am)
Re: [RFC][PATCH 0/4] kernel-based checkpoint restart, Arnd Bergmann, (Fri Aug 8, 11:18 am)
Re: [RFC][PATCH 0/4] kernel-based checkpoint restart, Oren Laadan, (Fri Aug 8, 12:44 pm)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Oren Laadan, (Fri Aug 8, 1:28 pm)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Arnd Bergmann, (Fri Aug 8, 3:29 pm)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Oren Laadan, (Fri Aug 8, 4:04 pm)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Dave Hansen, (Fri Aug 8, 5:38 pm)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Oren Laadan, (Fri Aug 8, 6:20 pm)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Dave Hansen, (Fri Aug 8, 7:20 pm)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Oren Laadan, (Fri Aug 8, 7:35 pm)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Arnd Bergmann, (Fri Aug 8, 11:43 pm)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Jeremy Fitzhardinge, (Sun Aug 10, 7:55 am)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Dave Hansen, (Mon Aug 11, 8:36 am)
Re: [RFC][PATCH 2/4] checkpoint/restart: x86 support, Jeremy Fitzhardinge, (Mon Aug 11, 9:07 am)
checkpoint/restart ABI, Dave Hansen, (Mon Aug 11, 12:48 pm)
Re: checkpoint/restart ABI, Arnd Bergmann, (Mon Aug 11, 2:47 pm)
Re: checkpoint/restart ABI, Oren Laadan, (Mon Aug 11, 2:54 pm)
Re: checkpoint/restart ABI, Jonathan Corbet, (Mon Aug 11, 4:14 pm)
Re: checkpoint/restart ABI, Dave Hansen, (Mon Aug 11, 4:23 pm)
Re: checkpoint/restart ABI, Jeremy Fitzhardinge, (Mon Aug 11, 4:38 pm)
Re: checkpoint/restart ABI, Peter Chubb, (Mon Aug 11, 4:54 pm)
Re: checkpoint/restart ABI, Serge E. Hallyn, (Tue Aug 12, 7:49 am)
Re: checkpoint/restart ABI, Dave Hansen, (Tue Aug 12, 7:58 am)
Re: checkpoint/restart ABI, Dave Hansen, (Tue Aug 12, 8:11 am)
Re: checkpoint/restart ABI, Jeremy Fitzhardinge, (Tue Aug 12, 9:32 am)
Re: checkpoint/restart ABI, Dave Hansen, (Tue Aug 12, 9:46 am)
Re: checkpoint/restart ABI, Jeremy Fitzhardinge, (Tue Aug 12, 10:04 am)
Re: checkpoint/restart ABI, Oren Laadan, (Wed Aug 20, 2:52 pm)
Re: checkpoint/restart ABI, Oren Laadan, (Wed Aug 20, 2:54 pm)
Re: checkpoint/restart ABI, Dave Hansen, (Wed Aug 20, 3:11 pm)
Re: checkpoint/restart ABI, Oren Laadan, (Wed Aug 20, 10:56 pm)
Re: checkpoint/restart ABI, Arnd Bergmann, (Thu Aug 21, 1:43 am)
Re: checkpoint/restart ABI, Oren Laadan, (Thu Aug 21, 8:43 am)
Re: checkpoint/restart ABI, Eric W. Biederman, (Thu Aug 28, 4:40 pm)