xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: hxkhust  <hxkhust@126.com>
To: Tim Deegan <tim@xen.org>
Cc: xen-devel@lists.xensource.com
Subject: Re: A Problem with Cache in Xen
Date: Tue, 24 Jan 2012 01:56:10 +0800 (CST)	[thread overview]
Message-ID: <21ab2d2d.22ed.1350bb5fdad.Coremail.hxkhust@126.com> (raw)
In-Reply-To: <20120119110726.GB66164@ocelot.phlegethon.org>


[-- Attachment #1.1: Type: text/plain, Size: 1925 bytes --]

I am terribly sorry for the mistake that i made in my last latter.I express my question incorrectly.
The following is the correct one:
 
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? 

At 2012-01-19 19:07:38,"Tim Deegan" <tim@xen.org> wrote:
>Hi, 
>At 08:55 +0800 on 13 Jan (1326444953), 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 B and VM C's virtual disk image files are based on VM
>>  A'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 B get a page data from VM A's virtual
>>  disk image file. After that ,VM C also need to get the same page data
>>  as VM B got just now.Under this situation, does VMM copy the page
>>  data from VM B's memory to VM C's memory or get the page data from VM
>>  A's virtual disk image file in the physical disk again?
>
>Since VM C's disk is not QCOW, reads will always come directly from VM
>C's image -- never from VM A's image (since the tools wouldn't know how
>to do that) and never by copying from VM B.
>
>Tim.

[-- Attachment #1.2: Type: text/html, Size: 3387 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

      parent reply	other threads:[~2012-01-23 17:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-13  0:55 A Problem with Cache in Xen hxkhust
2012-01-19 11:07 ` Tim Deegan
2012-01-23 17:56 ` hxkhust [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=21ab2d2d.22ed.1350bb5fdad.Coremail.hxkhust@126.com \
    --to=hxkhust@126.com \
    --cc=tim@xen.org \
    --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).