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

Re: [Xen-devel] [0/3] DomGrp/SchedGrp Merge RFC

On 5/2/08 22:20, "Chris" <hap10@xxxxxxxxxxxxxx> wrote:

> On the issue of code size, take Mike's schedgrps for example, which
> was very small as originally posted.  After integration with domgrps,
> it shrank to less than 40% of its original size (259 insertions down
> from 681) and it no longer induced a domain hierarchy.

If credit-sharing is made configurable (as you would surely want it to be if
domgrps are to have other uses) then a reasonable number of those lines of
code will reappear, and spread across tools and hypervisor.

> But it sounds like the main objection is lack of existing use cases.
> They're coming... slowly.  The best I can say is that I'm working to
> identify and mitigate future challenges before they cause problems.
> Is there critical mass for a generic group architecture yet?  I think
> so, but the case should only get stronger with time.

I'm driven by concrete use cases. Several of the upcoming uses you mention
need careful consideration of what they are useful for, to determine the
best way to design them into the system. Take resource sharing. Stub domains
sharing scheduler credits with the HVM guest is a rather special case, and
one where a master/slave relationship is not unreasonable (and hence in this
case I think it is arguable whether it is actually a good fit with domgrps
after all). If you really want resource sharing amongst a peer group of
domains, what does that actually mean? Does each domain have a private
allocation of resource plus membership of one or more pools? If so, which
resource set satisfies each resource request by a particular domain? Even if
not, how is resource contention between domains belonging to the resource
pool (e.g., for the static assignment of memory pages to that resource pool)
managed and resolved? The obvious place would be the dom0 control plane --
in which case these resource pools can probably be implemented as a
high-level tools abstraction with no direct hypervisor involvement at all.

My fear is that a nice domgrps infrastructure doesn't itself resolve the
hard devils in the details, for all that it sounds architecturally neat.

 -- Keir

Xen-devel mailing list



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