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

Re: [Xen-devel] [PATCH RFC v2 5/7] libxl/vNUMA: VM config parsing functions



Dario Faggioli writes ("Re: [Xen-devel] [PATCH RFC v2 5/7] libxl/vNUMA: VM 
config parsing functions"):
> On gio, 2013-10-10 at 12:25 -0400, Elena Ufimtseva wrote:
> > 3) if vdistance number of elements = vnodes * vnodes, take as it is.
> 
> Sure.

I have some qualms about this:

Aren't there some constraints that need to be imposed ?  For example,
distance[X,Y]==distance[Y,X] ?  What about the triangle inequality
(distance[A,B] + distance[B,C] >= distance[A,C]) ?

Do we really want/need to allow the specification of any arbitrary
distance matrix (subject perhaps to such constraints) ?

If we do need this I think the nested lists are probably a better
syntax for specifying the whole array.  That would also more easily
allow the user to specify only half of the symmetric matrix, and make
it syntactically clearer what's intended.

Ian.

_______________________________________________
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®.