Received: from eggs.gnu.org ([2001:4830:134:3::10]:49495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVctF-0005oQ-16 for qemu-devel@nongnu.org; Wed, 11 Mar 2015 05:25:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVctB-0004bD-PN for qemu-devel@nongnu.org; Wed, 11 Mar 2015 05:25:20 -0400 Received: from mx2.parallels.com ([199.115.105.18]:59062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVctB-0004b5-Jq for qemu-devel@nongnu.org; Wed, 11 Mar 2015 05:25:17 -0400 Date: Wed, 11 Mar 2015 12:25:04 +0300 From: Roman Kagan Message-ID: <20150311092500.GL6024@rkaganb.sw.ru> References: <1425977481-13317-1-git-send-email-den@openvz.org> <1425977481-13317-28-git-send-email-den@openvz.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1425977481-13317-28-git-send-email-den@openvz.org> Subject: Re: [Qemu-devel] [PATCH 27/27] block/parallels: improve image writing performance further List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Denis V. Lunev" Cc: Kevin Wolf , qemu-devel@nongnu.org, Stefan Hajnoczi On Tue, Mar 10, 2015 at 11:51:21AM +0300, Denis V. Lunev wrote: > Try to perform IO for the biggest continuous block possible. > All blocks abscent in the image are accounted in the same type > and preallocation is made for all of them at once. > > The performance for sequential write is increased from 200 Gb/sec to > 235 Gb/sec on my SSD HDD. > > Signed-off-by: Denis V. Lunev > CC: Roman Kagan > CC: Kevin Wolf > CC: Stefan Hajnoczi > --- > block/parallels.c | 44 ++++++++++++++++++++++++-------------------- > 1 file changed, 24 insertions(+), 20 deletions(-) Reviewed-by: Roman Kagan Roman.