Received: from eggs.gnu.org ([2001:4830:134:3::10]:52965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuNyr-0004vH-B9 for qemu-devel@nongnu.org; Mon, 18 May 2015 12:33:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YuNyl-0003Z3-RZ for qemu-devel@nongnu.org; Mon, 18 May 2015 12:33:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42316) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuNyl-0003Yr-MY for qemu-devel@nongnu.org; Mon, 18 May 2015 12:33:23 -0400 Date: Mon, 18 May 2015 17:33:19 +0100 From: Stefan Hajnoczi Message-ID: <20150518163319.GK27654@stefanha-thinkpad.redhat.com> References: <1430207220-24458-1-git-send-email-den@openvz.org> <1430207220-24458-28-git-send-email-den@openvz.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HTLCc13+3hfAZ6SL" Content-Disposition: inline In-Reply-To: <1430207220-24458-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 --HTLCc13+3hfAZ6SL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 28, 2015 at 10:47:00AM +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. >=20 > The performance for sequential write is increased from 200 Mb/sec to > 235 Mb/sec on my SSD HDD. >=20 > Signed-off-by: Denis V. Lunev > Reviewed-by: Roman Kagan > CC: Kevin Wolf > CC: Stefan Hajnoczi > --- > block/parallels.c | 43 +++++++++++++++++++++++-------------------- > 1 file changed, 23 insertions(+), 20 deletions(-) Reviewed-by: Stefan Hajnoczi --HTLCc13+3hfAZ6SL Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVWhRPAAoJEJykq7OBq3PI5YcH/RprjyF2kOOIEFzS2VYny50G A2Zi3aTAaO+WGdp4F3msufenN9ee6b+Ac0n+VTdx1CqDKueYBEB1XtUp6SYoD/47 NUPgrl5Li71CopXQalxHensj6cMsliJYHPYSHibc9TyhZc2nSkX/xH9JbJhplM2b n0Yla4a/x1fn07QKuTLqMACozhu9fsXDlUKFrxhT28KpRuRa2HHLN7wtxAuKXnBW JZ6nhbz0aCHXGGun2Ps/i5GfJG+fTpO6ckIZ7ciwB2Z/FDDf7govWCKMqeIql4dZ 04nTY7FHkMJ/WWhM7RCfChX9f1nKkaDDQWauBjnEDAoS4Wjl1esNNGgKfGl+cPo= =XJUw -----END PGP SIGNATURE----- --HTLCc13+3hfAZ6SL--