From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53460) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwvyY-0004yd-U0 for qemu-devel@nongnu.org; Thu, 02 Aug 2012 10:02:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwvyX-00052D-MS for qemu-devel@nongnu.org; Thu, 02 Aug 2012 10:02:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:61986) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwvyX-00051v-EI for qemu-devel@nongnu.org; Thu, 02 Aug 2012 10:02:05 -0400 Message-ID: <501A8855.9050006@redhat.com> Date: Thu, 02 Aug 2012 08:01:57 -0600 From: Eric Blake MIME-Version: 1.0 References: <1343911494-7784-1-git-send-email-owasserm@redhat.com> <1343911494-7784-11-git-send-email-owasserm@redhat.com> In-Reply-To: <1343911494-7784-11-git-send-email-owasserm@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig91F23C69064E95EB73935AB0" Subject: Re: [Qemu-devel] [PATCH 10/11] Add XBZRLE statistics List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Orit Wasserman Cc: peter.maydell@linaro.org, aliguori@us.ibm.com, quintela@redhat.com, stefanha@gmail.com, qemu-devel@nongnu.org, mdroth@linux.vnet.ibm.com, blauwirbel@gmail.com, Petter Svard , Benoit Hudzia , avi@redhat.com, Aidan Shribman , pbonzini@redhat.com, lcapitulino@redhat.com, chegu_vinod@hp.com This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig91F23C69064E95EB73935AB0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 08/02/2012 06:44 AM, Orit Wasserman wrote: > Signed-off-by: Benoit Hudzia > Signed-off-by: Petter Svard > Signed-off-by: Aidan Shribman > Signed-off-by: Orit Wasserman > Signed-off-by: Juan Quintela > --- > =20 > +6. Migration is being performed and XBZRLE is active: > + > +-> { "execute": "query-migrate" } > +<- { > + "return":{ > + "status":"active", > + "capabilities" : [ { "capability": "xbzrle", "state" : true }= ], > + "ram":{ > + "total":1057024, > + "remaining":1053304, > + "transferred":3720, > + "duplicate": 10, > + "normal": 3333 > + }, > + "xbzrle-cache":{ > + "cache-size": 1024, Is this value in bytes? It should be. Which means that this example is bogus - 1024 is smaller than one page, but your caching code rounded to page boundaries. Sounds like you forgot a scaling factor somewhere. Also, s/: /:/ --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enig91F23C69064E95EB73935AB0 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.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJQGohVAAoJEKeha0olJ0Nqv9IIAKBJ8Y54rN4toOU4yLV2tsuE QGHt3wCZBnOY/vDNmcvgOcfqC4iwXUPIszYvoBdb1JQFW4u+KQw4UZkZMzsVxL81 dwQ3Tk5ttx9ybYNYjF94HD9Z2obbXQPwsVR/eAgwwnCZi9RGIqOqrBvA6zgnaP3g Pvin4VxVO5n3bHYPVWawBe0tv2hZnJ0Z4Ifb/eDIKoXR+DmaPIXXlDOt17izcrdm rpq6KcM8xjsKe12Iv9twI3NSAzZ77c2WkSFI5RpgQHCd8OhSNxBZSEB5ECUdB+yL Wd/6nS9GOcRfQ9Fz2DzeZN9yMD0rvOxxyGRSUOKSuj4msba7UrvUWUOVISwKk8w= =nLAM -----END PGP SIGNATURE----- --------------enig91F23C69064E95EB73935AB0--