From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bD1Ny-0008Kx-EU for qemu-devel@nongnu.org; Tue, 14 Jun 2016 23:20:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bD1Nw-0007Z9-8p for qemu-devel@nongnu.org; Tue, 14 Jun 2016 23:20:57 -0400 References: <1465917916-22348-1-git-send-email-den@openvz.org> <1465917916-22348-6-git-send-email-den@openvz.org> From: Eric Blake Message-ID: <5760C98F.4010600@redhat.com> Date: Tue, 14 Jun 2016 21:20:47 -0600 MIME-Version: 1.0 In-Reply-To: <1465917916-22348-6-git-send-email-den@openvz.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HguE8HFB3jj9VcO4jnKGcJEfFJTlQV0dP" Subject: Re: [Qemu-devel] [PATCH 5/9] mirror: improve performance of mirroring of empty disk List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Denis V. Lunev" , qemu-devel@nongnu.org, qemu-block@nongnu.org Cc: vsementsov@virtuozzo.com, Stefan Hajnoczi , Fam Zheng , Kevin Wolf , Max Reitz , Jeff Cody This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --HguE8HFB3jj9VcO4jnKGcJEfFJTlQV0dP Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 06/14/2016 09:25 AM, Denis V. Lunev wrote: > We should not take into account zero blocks for delay calculations. > They are not read and thus IO throttling is not required. In the > other case VM migration with 16 Tb QCOW2 disk with 4 Gb of data takes > days. >=20 > Signed-off-by: Denis V. Lunev > Reviewed-by: Vladimir Sementsov-Ogievskiy > CC: Stefan Hajnoczi > CC: Fam Zheng > CC: Kevin Wolf > CC: Max Reitz > CC: Jeff Cody > CC: Eric Blake > --- > block/mirror.c | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) Seems reasonable, but I'll let others more familiar with throttling give the final say. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --HguE8HFB3jj9VcO4jnKGcJEfFJTlQV0dP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJXYMmPAAoJEKeha0olJ0Nq4NkH/i76NtCsDTN/UVNo17nesfVh YNSfx1ausOnGTfG1NcaawmfrKLIhM/zdEzTfUCyh5Z3N4cFlXCfPODOk3OFoqolF RP+rDsXiKFdMMgx634QAMt3x0gGGG0lVzzYbwfw2V9yoFcRkyia+ZlSYJ+JJZHBT P4bd3SE5Bew69EZL+bvLJf3e0mK2/gseeC8bSKzSSRRTlFacnOInD810CflubiyV VZfMsXBYMwLozBujwmaztqgJq+KfTrziveXVJ0GF0V9P6bJqn7VfWmNgq4Wo3vlx M2Oi/BU4cZ/hL2kIcLXfY+QorVa5/rWR8h3X8A9nrrdn/HdNG7rOkVKO9+J1Z1A= =Eu0W -----END PGP SIGNATURE----- --HguE8HFB3jj9VcO4jnKGcJEfFJTlQV0dP--