From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kpkxc-0003Tn-Eu for qemu-devel@nongnu.org; Tue, 14 Oct 2008 10:33:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KpkxZ-0003Sg-IQ for qemu-devel@nongnu.org; Tue, 14 Oct 2008 10:33:19 -0400 Received: from [199.232.76.173] (port=59889 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpkxZ-0003Sd-DJ for qemu-devel@nongnu.org; Tue, 14 Oct 2008 10:33:17 -0400 Received: from e4.ny.us.ibm.com ([32.97.182.144]:34608) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KpkxZ-0005oT-2l for qemu-devel@nongnu.org; Tue, 14 Oct 2008 10:33:17 -0400 Received: from d01relay07.pok.ibm.com (d01relay07.pok.ibm.com [9.56.227.147]) by e4.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id m9EEX6D0011864 for ; Tue, 14 Oct 2008 10:33:06 -0400 Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by d01relay07.pok.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id m9EEX5Mb1978580 for ; Tue, 14 Oct 2008 10:33:05 -0400 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m9EEWtt2022548 for ; Tue, 14 Oct 2008 08:32:55 -0600 Date: Tue, 14 Oct 2008 09:32:54 -0500 From: Ryan Harper Subject: Re: [Qemu-devel] Re: [RFC] Disk integrity in QEMU Message-ID: <20081014143254.GO21410@us.ibm.com> References: <48EE38B9.2050106@codemonkey.ws> <20081013170610.GF21410@us.ibm.com> <6A99DBA5-D422-447D-BF9D-019FB394E6C6@lvivier.info> <20081013194328.GJ21410@us.ibm.com> <48F46ED2.6000508@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48F46ED2.6000508@suse.de> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: Chris Wright , Mark McLoughlin , kvm-devel , Laurent Vivier , qemu-devel@nongnu.org, Ryan Harper , Laurent Vivier * Kevin Wolf [2008-10-14 05:10]: > Ryan Harper schrieb: > > * Laurent Vivier [2008-10-13 13:52]: > >> What file type do you use (qcow2, raw ?). > > > > Raw. > > I guess the image is preallocated? What about sparse files (or qcow2, > anything that grows), do have numbers on those? In the past, I > experienced O_DIRECT to be horribly slow on them. > > Well, looking at your numbers, they _are_ quite bad, so maybe it > actually was sparse. Then the preallocated case would be interesting. It was pre-allocated. I'm incliding to think there is an alignment or some sort of bug/edge-case in the write path to the file on top of the lvm volume considering I don't see such horrible performance against the file in host via O_DIRECT. I imagine until I figure out the issue, sparse or preallocated will perform the same. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 ryanh@us.ibm.com