[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] query memory allocation per NUMA node





On 12/01/17 00:58, Dario Faggioli wrote:
On Tue, 2017-01-10 at 01:50 +0000, Kun Cheng wrote:
On Mon, Jan 9, 2017 at 10:47 PM Eike Waldt <waldt@xxxxxxxxxxxxx>
wrote:

So I tried to it myself for fun but the first problem I encountered
was counting how much memory consumed on each node for each VM, which
a more accurate NUMA scheduling & load-balancing could depend on such
info. 

Yes, I remember talking with you about this, but I do not remember that
the showstopper was knowing how many pages of a certain domain are
allocated on a certain NUMA node. That is quite straightforward to tell
and, at present, never changes after domain creation!
I think number of pages allocated to a domain on a node does change during domain's runtime.
Thats what the balloon driver in guest is all about. When ballooning out pages are taken from guest and its mfns marked as invalid.

If, OTOH, you mean how frequently a certain page is _accessed_ from a
CPU of a certain node, that's indeed a different story. But it's not
what is being asked here.

Regards,
Dario


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
https://lists.xen.org/xen-users
Anshul
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
https://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.