From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH v6 3/3] tools/libxc: use superpages during restore of HVM guest Date: Wed, 30 Aug 2017 17:53:57 +0200 Message-ID: <20170830155357.GC31711@aepfle.de> References: <20170826103332.24570-1-olaf@aepfle.de> <20170826103332.24570-4-olaf@aepfle.de> <20170830134839.liz6uo56ejjw2bsp@citrix.com> <20170830142719.GB31711@aepfle.de> <20170830151401.rpalev2shohsmgwr@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2099093816346966384==" Return-path: In-Reply-To: <20170830151401.rpalev2shohsmgwr@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Wei Liu Cc: Andrew Cooper , Ian Jackson , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --===============2099093816346966384== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DIOMP1UsTsWJauNi" Content-Disposition: inline --DIOMP1UsTsWJauNi Content-Type: text/plain; charset=utf-8 Content-Disposition: inline On Wed, Aug 30, Wei Liu wrote: > > Can this actually happen with the available senders? If not, this is > > again the missing memory map. > Probably not now, but as said, you shouldn't rely on the structure of > the stream unless it is stated in the spec. Well, what can happen with todays implementation on the sender side is the case of a ballooned guest with enough holes within a batch. These will trigger 1G allocations before the releasing of memory happens. To solve this, the releasing of memory has to happen more often, probably after crossing each 2M boundary. Olaf --DIOMP1UsTsWJauNi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSkRyP6Rn//f03pRUBdQqD6ppg2fgUCWabfkgAKCRBdQqD6ppg2 fowaAJ0SptGXqqxhM7jm8kNUTLUFgRXPDACgqLm66nSYqN0eT/AUzGbxyKyMVNo= =ZDG9 -----END PGP SIGNATURE----- --DIOMP1UsTsWJauNi-- --===============2099093816346966384== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============2099093816346966384==--