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

Re: [Xen-devel] [PATCH 2/4] libxc: report how much memory a domain has on each NUMA node



On lun, 2014-03-10 at 17:20 +0000, Ian Jackson wrote:
> Dario Faggioli writes ("Re: [Xen-devel] [PATCH 2/4] libxc: report how much 
> memory a domain has on each NUMA node"):
> > I'm sorry, what discrepancies?
> 
> Discrepancies occuring due to the hypercalls being made at different
> times.
> 
Right. I wasn't even thinking about this as, as Andrew said, I don't
think there is anything we can do about it!

However, my point above kind of was, if, at some point you issue the
XEN_DOMCTL_domain_numainfo hypercall, and then sum what you get in each
cell of the array, you have the total amount of memory which, *if*
nothing changed, is exactly what you got from an instance of the other
one, issued some time before (or later).

If something changed, then yes you're screwed, but the bottom line, I
think is, if you think you may need the information broken down in
nodes, use XEN_DOMCTL_domain_numainfo, which gives you that and,
indirectly, also the total size.

Does that make sense?

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: signature.asc
Description: This is a digitally signed message part

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

 


Rackspace

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