Linux Container Development
 help / color / mirror / Atom feed
From: ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org (Eric W. Biederman)
To: "Serge E. Hallyn" <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: Linux Containers
	<containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org>,
	Daniel Lezcano <dlezcano-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
Subject: Re: C/R minisummit notes
Date: Thu, 24 Jul 2008 02:58:54 -0700	[thread overview]
Message-ID: <m1r69ja9i9.fsf@frodo.ebiederm.org> (raw)
In-Reply-To: <20080724032616.GB9839-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> (Serge E. Hallyn's message of "Wed, 23 Jul 2008 22:26:16 -0500")

"Serge E. Hallyn" <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> writes:

> No no, the idea (IIUC) is that if you want to do a very short-downtime
> migrate, you stay in step 1 for a long time, writing the container
> memory to disk, checking how different the disk img is from the memory
> image, updating the version on disk, checking again, etc.  Then when
> you decide that the disk and memory are very close together, you
> quickly do steps 2-4, where 4 in this case is kill.  In the meantime
> you would have been loading the disk data into memory ahead of time
> at the new machine, so you can also quickly complete the restart.
>
> So 3, 'Dump', in this case really becomes "dump the metadata and any
> more changes that have happened."  Presumably, if when you get to 3,
> you find that there was suddenly a lot of activity and there is too
> much data to write quickly, you bail on the migrate and step 4 is
> a resume rather than kill.  Then you start again at step 1.
>
> At least that was my understanding.

Yes.  Too some extent you need those steps separate in the kernel so you can
coordinate with filesystem snapshots and the like.

Despite being in one large syscall we still have a few small other pieces
of userspace we need to coordinate with.

Eric

  parent reply	other threads:[~2008-07-24  9:58 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-23 11:30 C/R minisummit notes Daniel Lezcano
     [not found] ` <4887163F.5090801-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2008-07-23 14:20   ` Eric W. Biederman
2008-07-23 18:55   ` Oren Laadan
     [not found]     ` <48877EA7.1050206-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
2008-07-23 20:18       ` Serge E. Hallyn
2008-07-23 20:23       ` [Devel] " Denis V. Lunev
2008-07-23 20:24       ` Daniel Lezcano
2008-07-23 21:18   ` Serge E. Hallyn
     [not found]     ` <20080723211818.GA10295-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2008-07-23 21:38       ` Oren Laadan
     [not found]         ` <4887A4CC.5070009-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
2008-07-24  1:41           ` sukadev-r/Jw6+rmf7HQT0dZR+AlfA
     [not found]             ` <20080724014122.GA23105-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2008-07-24  3:26               ` Serge E. Hallyn
     [not found]                 ` <20080724032616.GB9839-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2008-07-24  9:58                   ` Eric W. Biederman [this message]
2008-07-24  9:55   ` C/R minisummit notes (namespace naming) Eric W. Biederman
     [not found]     ` <m1zlo7a9nq.fsf-B27657KtZYmhTnVgQlOflh2eb7JE58TQ@public.gmane.org>
2008-07-25 19:13       ` Serge E. Hallyn
     [not found]         ` <20080725191356.GE28136-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2008-07-25 19:26           ` Daniel Lezcano
     [not found]             ` <488A28E4.6080902-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2008-07-25 19:34               ` Serge E. Hallyn
     [not found]                 ` <20080725193458.GA12356-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2008-07-25 19:52                   ` Oren Laadan
2008-07-25 20:09                   ` Daniel Lezcano
     [not found]                     ` <488A32FC.7020803-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2008-07-26  7:32                       ` Eric W. Biederman
2008-07-24 20:28   ` C/R minisummit notes Oren Laadan
     [not found]     ` <4888E5D3.807-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
2008-07-25  2:14       ` Daniel Lezcano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1r69ja9i9.fsf@frodo.ebiederm.org \
    --to=ebiederm-as9lmozglivwk0htik3j/w@public.gmane.org \
    --cc=containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org \
    --cc=dlezcano-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org \
    --cc=serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox