Received: from eggs.gnu.org ([2001:4830:134:3::10]:49802) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vlc1k-0001to-6O for qemu-devel@nongnu.org; Wed, 27 Nov 2013 05:07:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vlc1b-00054a-P6 for qemu-devel@nongnu.org; Wed, 27 Nov 2013 05:07:24 -0500 Received: from mx.ipv6.kamp.de ([2a02:248:0:51::16]:36272 helo=mx01.kamp.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vlc1b-00054F-Du for qemu-devel@nongnu.org; Wed, 27 Nov 2013 05:07:15 -0500 From: Peter Lieven Date: Wed, 27 Nov 2013 11:07:00 +0100 Message-Id: <1385546829-3839-1-git-send-email-pl@kamp.de> Subject: [Qemu-devel] [PATCHv3 1.8 0/9] qemu-img convert optimizations List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, pbonzini@redhat.com, Peter Lieven , stefanha@redhat.com this series adds some optimizations for qemu-img during convert which have been developed recently: - skipping input based on get_block_status - variable I/O buffer size - align write requests to cluster_size v2->v3: - added Paolos comments in Patch 1 - changed the comment in patch 7 [Paolo] - remove the patch to add sector progress output - added a new patch to decrease the progress update interval. v1->v2: - introduce opt_transfer_length in BlockLimits [Paolo] - remove knobs for iobuffer_size and alignment and use them unconditionally [Paolo] - calculate I/O buffer size by BlockLimits information [Paolo] - change the alignment patch to round down to the last and not to the next aligned sector [Paolo] - limit updates in the sector progress output - new patch to increase the default for min_sparse [Paolo] Peter Lieven (9): qemu-img: add support for skipping zeroes in input during convert qemu-img: fix usage instruction for qemu-img convert block/iscsi: set bdi->cluster_size block: add opt_transfer_length to BlockLimits block/iscsi: set bs->bl.opt_transfer_length qemu-img: dynamically adjust iobuffer size during convert qemu-img: round down request length to an aligned sector qemu-img: increase min_sparse to 128 sectors (64kb) qemu-img: decrease progress update interval on convert block/iscsi.c | 10 ++++ include/block/block_int.h | 3 ++ qemu-img.c | 131 +++++++++++++++++++++++++++------------------ qemu-img.texi | 2 +- 4 files changed, 93 insertions(+), 53 deletions(-) -- 1.7.9.5