WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Performance on QEMU IDE disks

To: "P M, Priya (STSD)" <pm.priya@xxxxxx>
Subject: Re: [Xen-devel] Performance on QEMU IDE disks
From: Steve Ofsthun <sofsthun@xxxxxxxxxxxxxxx>
Date: Fri, 14 Jul 2006 15:41:23 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 14 Jul 2006 12:42:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <EC1A9FC8C953C34EA0DB9151F00D6D7786D38F@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <EC1A9FC8C953C34EA0DB9151F00D6D7786D38F@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)
P M, Priya (STSD) wrote:

We have disabled the Write Cache using sdparm and hdparm utilities. But if you see the results in Linux Full Virtualization, the Sequential Write IOPs are better than Native performance. I am wondering how is this possible? Is there anywhere the caching is happening in the full virtualization case? If you have an idea about this behavior, please let me know.

QEMU does indeed use the buffer cache in Domain 0.  In doing so, it also
will take advantage of Domain 0 read ahead/write behind.  The down side is
that the disk write ordering guarantees expected by DomU filesystems are
violated as well.  If XEN or Domain 0 crashes, your DomU filesystems may
be toast.

To fix this you would need to patch QEMU to used O_DIRECT when accessing
the virtual disk backing store object (block device, file, etc).  We are
currently testing just such a patch for the old QEMU device model.  I
haven't looked at the new device model to see if it already handles this.

Steve
--
Steve Ofsthun - Virtual Iron Software, Inc.

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

<Prev in Thread] Current Thread [Next in Thread>