From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: about the VM's memory distribution on numa nodes Date: Mon, 15 Apr 2013 16:55:21 +0200 Message-ID: <1366037721.2636.8.camel@Solace> References: <51680CEA.055833.29093@zju.edu.cn> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7854070905436389641==" Return-path: In-Reply-To: <51680CEA.055833.29093@zju.edu.cn> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: butian huang <11221079@zju.edu.cn> Cc: "dan.magenheimer" , "George.Dunlap" , tim , "juergen.gross" , "Ian.Jackson" , xen-devel , JBeulich List-Id: xen-devel@lists.xenproject.org --===============7854070905436389641== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ldTaAS+mBoPFVuaKuQGH" --=-ldTaAS+mBoPFVuaKuQGH Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On ven, 2013-04-12 at 21:32 +0800, butian huang wrote: > hello=EF=BC=8CDario >=20 Hi, > How to know about the virtual machine's memory distribution?=20 > That is,The virtual machine's memory may be distributed on multiple nodes= ,how to get the VM's memory information in distributed node? > Ok, from where, exactly, you want to know that? From host? From guest? At what level (hypervisor, toolstack, user space program running in host/guest)? I have to admit that, in no one of the cases I tried to enumerate, we have a good method in place to gather that information, but answering (and, of course, implementing one) differs a lot in the various cases... Right now, in the host, if you send Xen the 'u' debug key, and then check the console, you'll see just that. It can be achieved with something like this: # xen debug-key u # xen dmesg | tail I really think we must make it easier to retrieve this kind of information, and I'll be up to make that happen ASAP. :-) > And How to move the VM's remote memory to the affinity node and guarantee= to access the local memory? >=20 That is something very difficult. I am working on it, and I released an RFC, with the basic architecture of the solution I'd like to have implemented in the coming months. It is here: http://markmail.org/thread/m3d6f7m3iius6dad Have a look, and feel free to comment! :-P Regards, Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-ldTaAS+mBoPFVuaKuQGH 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.13 (GNU/Linux) iEYEABECAAYFAlFsFNkACgkQk4XaBE3IOsSZAACeOTj9wxYhPqRIP+qZqkHsyx2v 85cAoI0ayc4Zn4Cn5koF+70XCmaf9zsn =yurv -----END PGP SIGNATURE----- --=-ldTaAS+mBoPFVuaKuQGH-- --===============7854070905436389641== 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 --===============7854070905436389641==--