Skip to contentSkip to conversation

about page cache architecture of the dom0 and domUs in xen platform

DISCUSSION hxkhust 2 participants 4 messages Feb 1, 2012 – Feb 2, 2012

lore
Share & tools
lore

hxkhust

author
#0 lore raw

Hi,
I encounter a problem that has puzzled me for a long time.On a Xen virtualization platform, some VMs ,whose virtual disks are image files ,are running in DomUs.Under this situation ,does the Dom0 cache the pages from the VMs?Does the filesystem in Dom0 see the VMs as general processes?

HXK

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 6 lines · hxkhust

Hi,
I encounter a problem that has puzzled me for a long time.On a Xen virtualization platform, some VMs ,whose virtual disks are image files ,are running in DomUs.Under this situation ,does the Dom0 cache the pages from the VMs?Does the filesystem in Dom0 see the VMs as general processes?

It depends which disk backend driver you're using for the domU disks.. (file: or tap:aio:)

-- Pasi

author
#2 lore raw

Hi,Pasi Kärkkäinen,

In most cases, I use "file:/..." or "tap:qcow2:..." for my VMs.When I use "tap:aio:.." in the configuration,somgthing wrong will happen.At the first time I speculate that the blktap/blktap2 module is not installed successfully.Thus some time ago I try to figure out the problem.However I failed in the end.Could you tell me the difference between "file:" and "tap:aio" from the page cache architecture side? The answer to this question is of importance for me.I need your help.Thank you.

HXK

Quoted 8 lines · At 2012-02-01 15:51:00,"Pasi Kärkkäinen" <[email protected]> wrote:
Quoted 6 lines · hxkhust

Hi,
I encounter a problem that has puzzled me for a long time.On a Xen virtualization platform, some VMs ,whose virtual disks are image files ,are running in DomUs.Under this situation ,does the Dom0 cache the pages from the VMs?Does the filesystem in Dom0 see the VMs as general processes?

Quoted 5 lines

It depends which disk backend driver you're using for the domU disks.. (file: or tap:aio:)

-- Pasi

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#3 lore raw
In reply to Pasi Kärkkäinen

Hi,Pasi Kärkkäinen,

Quoted 8 lines · At 2012-02-01 15:51:00,"Pasi Kärkkäinen" <[email protected]> wrote:
Quoted 6 lines · hxkhust

Hi,
I encounter a problem that has puzzled me for a long time.On a Xen virtualization platform, some VMs ,whose virtual disks are image files ,are running in DomUs.Under this situation ,does the Dom0 cache the pages from the VMs?Does the filesystem in Dom0 see the VMs as general processes?

Quoted 5 lines

It depends which disk backend driver you're using for the domU disks.. (file: or tap:aio:)

-- Pasi

In the last email I top-post and Tim remind me of that ,so I send the same content to you again.

In most cases, I use "file:/..." or "tap:qcow2:..." for my VMs.When I use "tap:aio:.." in the configuration,somgthing wrong will happen.At the first time I speculate that the blktap/blktap2 module is not installed successfully.Thus some time ago I try to figure out the problem.However I failed in the end.Could you tell me the difference between "file:" and "tap:aio" from the page cache architecture side? The answer to this question is of importance for me.I need your help.Thank you.

HXK

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel