From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH 0 of 3 v5/leftover] Automatic NUMA placement for xl Date: Mon, 23 Jul 2012 12:23:02 +0200 Message-ID: <1343038982.4998.1.camel@Solace> References: <50093C0E.9030809@cantab.net> <5009446E.3000900@amd.com> <1342785606.26734.106.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6282179405969640752==" Return-path: In-Reply-To: <1342785606.26734.106.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Andre Przywara , Stefano Stabellini , George Dunlap , Juergen Gross , Ian Jackson , xen-devel , David Vrabel List-Id: xen-devel@lists.xenproject.org --===============6282179405969640752== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-V3Sh/CmDDYrMv6fqGtV+" --=-V3Sh/CmDDYrMv6fqGtV+ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2012-07-20 at 13:00 +0100, Ian Campbell wrote: > On Fri, 2012-07-20 at 12:43 +0100, Andre Przywara wrote: > > On 07/20/2012 01:07 PM, David Vrabel wrote: > > > On 16/07/12 18:13, Dario Faggioli wrote: > > >> Hello again, > > >> > > > I think the tests should test a representative sample of common syste= m > > > configurations, available memory and VM memory requirements. I'd > > > suggest you'd be looking at 100s of test cases here for reasonable co= verage. > > > > > > One method would be to start with various 'empty' systems and pile as > > > many differently sized VMs as will fit. You may want both fixed test= of > > > reproducible tests and random ones. > >=20 > > 1. If we focus on placement only, I have good experience with=20 > > ttylinux.iso. Those live distros can be killed easily at any time and= =20 > > you just need one instance of the .iso file on the disk. > > 2. # xl vcpu-list | sed -e 1d | sort -n -k 7 | tr -s \ | cut -d\ -f7 = |=20 > > uniq -c > > This gives the number of VCPUs per node (sort of ;-) >=20 > Ideally you wouldn't need a xen system at all for this, you just want a > database of input configurations (host NUMA setup, existing guest > layout) and hypothetical new guests and their mapping to the expected > output. You can then feed these offline to the algorithmn and validate > that the output is the expected one. >=20 Ok, I see. I like this and I think it should be done. I'll look into it. Thanks and Regards, Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://retis.sssup.it/people/faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-V3Sh/CmDDYrMv6fqGtV+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEABECAAYFAlANJgYACgkQk4XaBE3IOsTNIQCfYvPeYWY1oEKm6eojuKcTfDxL 3nAAoJghthBXAR/ei0f+poPlgC5v6/65 =Yof9 -----END PGP SIGNATURE----- --=-V3Sh/CmDDYrMv6fqGtV+-- --===============6282179405969640752== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============6282179405969640752==--