From: Joe Laws <jlaws@andrew.cmu.edu>
To: xen-devel@lists.xensource.com
Cc: Joe Laws <jlaws@andrew.cmu.edu>
Subject: Dynamic Loading of Domain Memory Image
Date: Tue, 27 Mar 2007 12:09:25 -0400 [thread overview]
Message-ID: <460941B5.1080600@andrew.cmu.edu> (raw)
I am working with Carnegie Mellon University and Intel on their Internet
Suspend and Resume project to decrease the delay of restarting virtual
machines transfered over the Internet. After reading the Xen research
papers, and looking at the xc_linux_restore() and xc_linux_save()
methods, it appears that Xen needs to load in the entire memory image
file before it can begin executing the domain. What I will be working
on is the elimination of the need to have the entire memory image
present and accounted for before the domain can execute.
To accomplish this I am going to first break the memory image into a
series of smaller files, one file for the PTE,PDE, and other important
information, and many individual files for the actual pages. The main
goal will be to have Xen tell the domain that its page is loaded even if
it is not yet present. In the case that it has not actual been read in,
Xen will trap to the hypervisor and load the page from the appropriate
file. This allows the memory pages to arrive after the domain is
started. This technique should allow the domain to run, albeit with a
slower response time, while paging in missing chunks of memory.
Although this project is geared toward decreasing the resume time when
the memory image is sent over the internet, it should also decrease
resume time when loading from the local disk. There is also the
possibility that it will decrease migration resume time since all dirty
pages can be marked as "not present/trap to hypervisor" at which point
they can be dynamically loaded in a similar fashion.
I welcome any comments, questions, tips, and/or suggestions from other
developers working on Xen.
-Joe
next reply other threads:[~2007-03-27 16:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-27 16:09 Joe Laws [this message]
2007-03-27 16:32 ` Dynamic Loading of Domain Memory Image Keir Fraser
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=460941B5.1080600@andrew.cmu.edu \
--to=jlaws@andrew.cmu.edu \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.