From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KyMi1-0000zN-OH for qemu-devel@nongnu.org; Fri, 07 Nov 2008 03:28:49 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KyMhy-0000xi-3f for qemu-devel@nongnu.org; Fri, 07 Nov 2008 03:28:49 -0500 Received: from [199.232.76.173] (port=55124 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KyMhx-0000xe-SM for qemu-devel@nongnu.org; Fri, 07 Nov 2008 03:28:45 -0500 Received: from mx20.gnu.org ([199.232.41.8]:10736) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KyMhx-0003uq-Of for qemu-devel@nongnu.org; Fri, 07 Nov 2008 03:28:45 -0500 Received: from mx2.suse.de ([195.135.220.15]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KyMhw-0006Uc-Fz for qemu-devel@nongnu.org; Fri, 07 Nov 2008 03:28:44 -0500 Message-ID: <4913FCE2.3010705@suse.de> Date: Fri, 07 Nov 2008 09:31:30 +0100 From: Kevin Wolf MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 0/4] qcow2: Improve cluster refcount update References: <1225990556.6576.10.camel@frecb07144> <49133D17.3050100@codemonkey.ws> In-Reply-To: <49133D17.3050100@codemonkey.ws> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Laurent Vivier Anthony Liguori schrieb: > Laurent Vivier wrote: >> This series of patches improves qcow2 performance with O_DIRECT >> when the qcow2 file is empty and we begin to fill it. >> > > I really dislike this series and any future series that does similar > things. The real problem is that non-aligned accesses are so slow, but > there's no reason that they must be so slow. It's because we're doing > synchronous IO operations instead of using posix-aio like we should. > That's the real problem. Just doing a memory copy to an aligned buffer > is not going to cause that much performance delay. Even if you don't like the alignment part, patches 1 and 2 are still useful, IMHO. Kevin