From: hxkhust Subject: Direct IO or dom0 kernel cache Date: Mon, 5 Mar 2012 11:13:32 +0800 (CST) Message-ID: <4e9e717c.55de.135e0d900a9.Coremail.hxkhust@126.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1815934621814589518==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: =?UTF-8?Q?Pasi_K=C3=A4rkk=C3=A4inen?= Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --===============1815934621814589518== Content-Type: multipart/alternative; boundary="----=_Part_58695_911655094.1330917212328" ------=_Part_58695_911655094.1330917212328 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, In some mail which was sent to someone else, you wrote: file: uses dom0 kernel page cache, and thus might give better performance than phy: or tap:aio:, but it's also more insecure because of the caching. tap:aio: uses direct IO, so it bypasses dom0 kernel caches, and works like phy: in that sense. Thus here I come to refer to you.I have two questions: 1.What is difference between tap:qcow2 and tap2:tapdisk:qcow2? 2.Does tap:qcow2: and tap2:tapdisk:qcow2 use direct IO and bypass dom0 kernel caches? 3.If a qcow2 format image is based on a raw format image and this qcow2 format image is configured with "tap:qcow2" or "tap2:tapdisk:qcow2" , Does the VM created by this qcow2 format image use direct IO and bypass dom0 kernel caches? Thank you for any response~ hxk ------=_Part_58695_911655094.1330917212328 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Hi,
 
In some mail which was sent to someone else,  you wrote:
 
file: uses dom0 kernel page cache, and thus might give better performance than phy: or tap:aio:, but it's also more insecure because of the caching.
tap:aio: uses direct IO, so it bypasses dom0 kernel caches, and works like phy: in that sense.

Thus here I come to refer to you.I have two questions:
1.What is difference between tap:qcow2 and tap2:tapdisk:qcow2?
2.Does tap:qcow2: and tap2:tapdisk:qcow2 use direct IO and bypass dom0 kernel caches?
3.If a qcow2 format image is based on a raw format image and this qcow2 format image is configured with "tap:qcow2" or "tap2:tapdisk:qcow2" , Does the VM created by this qcow2 format image use direct IO and bypass dom0 kernel caches?
 
Thank you for any response~
 
hxk


------=_Part_58695_911655094.1330917212328-- --===============1815934621814589518== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============1815934621814589518==--