hello,Dario How to know about the virtual machine's memory distribution? That is,The virtual machine's memory may be distributed on multiple nodes,how to get the VM's memory information in distributed node? And How to move the VM's remote memory to the affinity node and guarantee to access the local memory? Thanks, Regards, Butine huang Zhejiang University 2013-04-12 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
Dario Faggioli
2013-Apr-15 14:55 UTC
Re: about the VM''s memory distribution on numa nodes
On ven, 2013-04-12 at 21:32 +0800, butian huang wrote:> hello,Dario >Hi,> How to know about the virtual machine''s memory distribution? > 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? >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 -- <<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
hello Dario, My question is about the virtual machine's memory distribution,I want to get the information from guest os. For example,when the VM has intalled the Win7 or Redhat,how to get the memory distribution? And if know this,then the application on the OS can optimize the performance and access the affinity node. ======= 2013-04-15 22:55:21 Dario wrote:======>On ven, 2013-04-12 at 21:32 +0800, butian huang wrote: >> hello,Dario >> >Hi, > >> How to know about the virtual machine's memory distribution? >> 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? >> >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 > >-- ><<This happens because I choose it to happen!>> (Raistlin Majere) >----------------------------------------------------------------- >Dario Faggioli, Ph.D, http://about.me/dario.faggioli >Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)= = = = = = = = = = = = = = = = = = = Thanks, Regards, Butine huang 2013-04-19 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
Dario Faggioli
2013-Apr-22 10:46 UTC
Re: about the VM''s memory distribution on numa nodes
On ven, 2013-04-19 at 10:00 +0100, butian huang wrote:> hello Dario, >Hi,> My question is about the virtual machine''s memory distribution,I want to get the information from guest os. >Ok, then the answer is: that is not possible. :-( Of course, this in only true because no one yet has implemented the set of features required for this to became true, it would be wonderful to receive some help with it! :-)> For example,when the VM has intalled the Win7 or Redhat,how to get the memory distribution? > And if know this,then the application on the OS can optimize the performance and access the affinity node. >Exactly. See here: http://wiki.xen.org/wiki/Xen_NUMA_Roadmap#Virtual_NUMA_topology_exposure_to_guests If you have some time to spend on the issue, you''re welcome to join the crew! If that is the case, feel free to ask me directly (xen-devel is of course fine, but no need to bother all the other people you''re Cc-ing) for anything you need. :-) Thanks and Regards, Dario -- <<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel