All of lore.kernel.org
 help / color / mirror / Atom feed
* about the VM's memory distribution on numa nodes
@ 2013-04-12 13:32 butian huang
  2013-04-15 14:55 ` Dario Faggioli
  0 siblings, 1 reply; 4+ messages in thread
From: butian huang @ 2013-04-12 13:32 UTC (permalink / raw)
  To: dario.faggioli
  Cc: dan.magenheimer, George.Dunlap, tim, juergen.gross, Ian.Jackson,
	xen-devel, JBeulich

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: about the VM's memory distribution on numa nodes
  2013-04-12 13:32 butian huang
@ 2013-04-15 14:55 ` Dario Faggioli
  0 siblings, 0 replies; 4+ messages in thread
From: Dario Faggioli @ 2013-04-15 14:55 UTC (permalink / raw)
  To: butian huang
  Cc: dan.magenheimer, George.Dunlap, tim, juergen.gross, Ian.Jackson,
	xen-devel, JBeulich


[-- Attachment #1.1: Type: text/plain, Size: 1661 bytes --]

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)


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: about the VM's memory distribution on numa nodes
@ 2013-04-19  9:00 butian huang
  2013-04-22 10:46 ` Dario Faggioli
  0 siblings, 1 reply; 4+ messages in thread
From: butian huang @ 2013-04-19  9:00 UTC (permalink / raw)
  To: Dario Faggioli
  Cc: andre.przywara, juergen.gross, Ian.Jackson, xen-devel, stephen,
	JBeulich

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: about the VM's memory distribution on numa nodes
  2013-04-19  9:00 about the VM's memory distribution on numa nodes butian huang
@ 2013-04-22 10:46 ` Dario Faggioli
  0 siblings, 0 replies; 4+ messages in thread
From: Dario Faggioli @ 2013-04-22 10:46 UTC (permalink / raw)
  To: butian huang
  Cc: andre.przywara, juergen.gross, Ian Jackson, xen-devel, stephen,
	JBeulich


[-- Attachment #1.1: Type: text/plain, Size: 1287 bytes --]

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)


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-04-22 10:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-19  9:00 about the VM's memory distribution on numa nodes butian huang
2013-04-22 10:46 ` Dario Faggioli
  -- strict thread matches above, loose matches on Subject: below --
2013-04-12 13:32 butian huang
2013-04-15 14:55 ` Dario Faggioli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.