From: Tim Deegan <tim@xen.org>
To: hxkhust <hxkhust@126.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: A Problem with Page Cache in Xen
Date: Thu, 2 Feb 2012 11:01:24 +0000 [thread overview]
Message-ID: <20120202110124.GD48883@ocelot.phlegethon.org> (raw)
In-Reply-To: <78371237.7e0e.13532919b2f.Coremail.hxkhust@126.com>
Hello,
Please don't top-post.
At 15:01 +0800 on 31 Jan (1328022097), hxkhust wrote:
> Is the (prototype) memory-sharing code mentioned in your last email
> already offered in Xen resource code?
Yes; see changeset 20693:617071a8c638 and thereabouts. But that code
went in about two years ago, and has been unmaintained since then, so I
would be very surprised if it's working now.
You should also look at the recent patches that Andres Lagar-Cavilla has
been sending, whioch update the hypervisor side of the page-sharing
code.
Cheers,
Tim.
> At 2012-01-30 17:47:31,"Tim Deegan" <tim@xen.org> wrote:
> >Hi,
> >
> >At 16:11 +0800 on 30 Jan (1327939919), hxkhust wrote:
> >> On a physical machine with xen virtualization platform installed ,VM
> >> A,VM B are VM C's virtual disks are all image files,among which VM A
> >> and VM B's virtual disks are QCOW2 format and VM C's disk is RAW
> >> format. And VM A and VM B's virtual disk image files are based on VM
> >> C's virtual disk image file.Now these three VMs are running on the
> >> same physical machine with xen installed. In the process of running VM
> >> A get a page data from VM C's virtual disk image file. After that ,VM
> >> B also need to get the same page data as VM A got just now.Under this
> >> situation, does VMM copy the page data from VM A's memory to VM B's
> >> memory or get the page data from VM C's virtual disk image file in the
> >> physical disk again?
> >
> >It reads it from the disk again, unless you're using the (prototype)
> >memory-sharing code that's in blktap.
> >
> >> Or if I would like to figure out this problem,what shall I do?
> >
> >Instrument the disk, or read the code.
prev parent reply other threads:[~2012-02-02 11:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-30 8:11 A Problem with Page Cache in Xen hxkhust
2012-01-30 9:47 ` Tim Deegan
2012-01-30 16:18 ` Ian Campbell
2012-01-30 19:30 ` hxkhust
2012-01-31 7:01 ` hxkhust
2012-02-02 11:01 ` Tim Deegan [this message]
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=20120202110124.GD48883@ocelot.phlegethon.org \
--to=tim@xen.org \
--cc=hxkhust@126.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).