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: Steve Ofsthun <sofsthun@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Performance on QEMU IDE disks
From: Stephen Tweedie <sct@xxxxxxxxxx>
Date: Tue, 18 Jul 2006 10:49:30 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, "P M, Priya \(STSD\)" <pm.priya@xxxxxx>
Delivery-date: Tue, 18 Jul 2006 07:49:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <44B7F363.1050106@xxxxxxxxxxxxxxx>
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> <44B7F363.1050106@xxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
Hi,

On Fri, Jul 14, 2006 at 03:41:23PM -0400, Steve Ofsthun wrote:

> 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.

Thanks!

>  I
> haven't looked at the new device model to see if it already handles this.

I looked last week and it still had the same problem.

Note that O_DIRECT doesn't solve all of the problems either.  You
still end up with the _entire_ device model being blocked while the
disk IO is in progress, which will leads to poor VT guest performance
when trying to mix disk and CPU activity.  But I'd rather have a
performance problem than a data corrupter. :)

--Stephen

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

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