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] [PATCH] Fix the very-slow-IDE-IO-speed issue of Qemu0.90

To: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>, "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] Fix the very-slow-IDE-IO-speed issue of Qemu0.90
From: "Ian Pratt" <Ian.Pratt@xxxxxxxxxxxx>
Date: Tue, 29 May 2007 06:25:40 +0100
Delivery-date: Mon, 28 May 2007 22:25:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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: <FE7BBCFBB500984A9A7922EBC95F516E2F425C@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcehGX2iATPOwCb2S/eEWjt/qOrhsAAWxikQ
Thread-topic: [Xen-devel] [PATCH] Fix the very-slow-IDE-IO-speed issue of Qemu0.90
> c/s 15021 updated Qemu to 0.90. In the new Qemu's ide.c, asynchronous
IO
> (AIO) is used to replace the previous DMA thread; here when an AIO
> request is completed, dom0 sends a signal SIGUSR2 to Qemu (see
> block-raw.c: qemu_aio_init(),raw_aio_setup()), then the signal
> interrupts the select() in main_loop_wait() at once, next,
> qemu_aio_poll() is called to reap a completed AIO request.
> 
> However, in certain Linux distributions (i.e., x86_64 RHEL 4u4), if
> Qemu is spawned by the python script image.py of Control Panel, the
SIGUSR2
> of Qemu is blocked by default due to some reasons 

Good work figuring this out! It perfectly explains why most folk weren't
seeing the problem.

Have you got any comparative performance numbers comparing IDE
performance before and after the 0.90 upgrade (with your fix)? Are we
back to roughly where we were?

Thanks,
Ian   


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

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