From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH 08 of 10 v2] libxl: enable automatic placement of guests on NUMA nodes Date: Wed, 27 Jun 2012 10:15:03 +0200 Message-ID: <1340784903.9444.66.camel@Solace> References: <81f18379bb3d4d9397d1.1339779876@Solace> <4FE348C1.5030407@eu.citrix.com> <1340297032.4856.93.camel@Solace> <20457.38656.696529.142496@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5528006897113593129==" Return-path: In-Reply-To: <20457.38656.696529.142496@mariner.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 Jackson Cc: Andre Przywara , Ian Campbell , Stefano Stabellini , George Dunlap , Juergen Gross , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org --===============5528006897113593129== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-36LPAQ6TjL9c+qaN1ZD7" --=-36LPAQ6TjL9c+qaN1ZD7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2012-06-26 at 12:03 +0100, Ian Jackson wrote: > The conventional approach to this kind of thing is to invent a score > for sorting etc. Something like > score =3D tuning_parameter * log(freemem) - number_of_domains > which does sort of roughly the same as your 10% rule if you squint. > However, if I go for this approach, I think I should stick to floating point arith, as I'm not sure I can properly to things like normalization and take log()-s with integers... :-/ Would that be fine? 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) --=-36LPAQ6TjL9c+qaN1ZD7 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) iEYEABECAAYFAk/qwQcACgkQk4XaBE3IOsSmSACgon+zvf3N0tOyi6QK6kk9kQkG 7NIAoICW+K4/9BA64Xs38arOthce+PKK =wrjf -----END PGP SIGNATURE----- --=-36LPAQ6TjL9c+qaN1ZD7-- --===============5528006897113593129== 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 --===============5528006897113593129==--