From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBSRV-0002jb-2Z for qemu-devel@nongnu.org; Fri, 01 Mar 2013 11:04:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UBSRT-00036H-PJ for qemu-devel@nongnu.org; Fri, 01 Mar 2013 11:04:17 -0500 Received: from mx1.redhat.com ([209.132.183.28]:3380) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBSRT-000365-GK for qemu-devel@nongnu.org; Fri, 01 Mar 2013 11:04:15 -0500 Message-ID: <5130D179.8070207@redhat.com> Date: Fri, 01 Mar 2013 09:04:09 -0700 From: Eric Blake MIME-Version: 1.0 References: <5130ADC0.9070402@dlhnet.de> <5130B29C.3060301@redhat.com> <5130B5D8.7030308@dlhnet.de> <5130B677.1060604@redhat.com> <5130B789.7050709@dlhnet.de> <5130B9D7.2050108@redhat.com> <5130C04F.9090803@dlhnet.de> In-Reply-To: <5130C04F.9090803@dlhnet.de> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2CKNXGTCQUORBCQGQSAII" Subject: Re: [Qemu-devel] [PATCH] migration: use XBZRLE only after bulk stage List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Lieven Cc: Orit Wasserman , "qemu-devel@nongnu.org" , Paolo Bonzini This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2CKNXGTCQUORBCQGQSAII Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03/01/2013 07:50 AM, Peter Lieven wrote: > just a quick test on my desktop: >=20 > ~/git/qemu$ x86_64-softmmu/qemu-system-x86_64 -k de -enable-kvm -m 1024= > -drive > if=3Dvirtio,file=3Discsi://172.21.200.31/iqn.2001-05.com.equallogic:0-8= a0906-16470e107-713001aa6de511e0-001-test/0 > -vnc :1 -boot dc -monitor stdio >=20 > using ubuntu 12.04.1 desktop and the example from docs/xbzrle.txt Thanks. Reformatting a bit: >=20 > a) with the patch designated with '+' > b) without the patch designated with '-' + total time: 22185 milliseconds - total time: 22410 milliseconds Shaved 0.3 seconds, better than 1%! + downtime: 29 milliseconds - downtime: 21 milliseconds Not sure why downtime seemed worse, but probably not the end of the world= =2E + transferred ram: 706034 kbytes - transferred ram: 721318 kbytes Fewer bytes sent - good. + remaining ram: 0 kbytes - remaining ram: 0 kbytes + total ram: 1057216 kbytes - total ram: 1057216 kbytes + duplicate: 108556 pages - duplicate: 105553 pages + normal: 175146 pages - normal: 179589 pages + normal bytes: 700584 kbytes - normal bytes: 718356 kbytes Fewer normal bytes... + cache size: 67108864 bytes - cache size: 67108864 bytes + xbzrle transferred: 3127 kbytes - xbzrle transferred: 630 kbytes =2E..and more compressed pages sent - good. + xbzrle pages: 117811 pages - xbzrle pages: 21527 pages + xbzrle cache miss: 18750 - xbzrle cache miss: 179589 And very good improvement on the cache miss rate. + xbzrle overflow : 0 - xbzrle overflow : 0 Thanks, this proves it's a good patch. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2CKNXGTCQUORBCQGQSAII Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJRMNF5AAoJEKeha0olJ0NqnBMIAKMwCiOGAUqd0AZZYfHozY/v svtScfMIqI4I+vqBSOo0GPmNqH0iY+N4Tg7J1tar8fIr2GP5zDH1Lur1rcmATlni 3g4Wss+nFuMjdeAe3RfGe2fHoIPA0D4K05fbD0sFW0gjftebP4xUMxLGuSHMCeEP mVNVOWUw2Px2hnirHKHJR4z3efxKXPshRhMHSGvbXmgvEO51X3nDZQhHxKmaaaif KH2ImHi2OyjhMlsbMkRzRTZcxd+uF1TNBKEB9VPepFqq7ZuTIv5A4FVnkDaE7PJ7 PIcPukpUdeZ6B+iesWYF7/rhFOjHOuqaC90uCwy9MmeL8ZZMgz+oU9+Ex2rUtSM= =VRGK -----END PGP SIGNATURE----- ------enig2CKNXGTCQUORBCQGQSAII--