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

Re: [Xen-devel] [PATCH 1 of 3] Support of getting scheduler defaults

On Tue, 2012-05-22 at 13:29 +0100, Juergen Gross wrote:
> On 05/22/2012 02:22 PM, Ian Campbell wrote:
> > On Tue, 2012-05-22 at 10:16 +0100, Juergen Gross wrote:
> >> Support a new sysctl schedop sub-command to get the scheduling defaults of 
> >> a
> >> specific scheduler.
> > Why is XEN_DOMCTL_SCHEDOP_getinfo not sufficient here?
> >
> > Isn't it actually more useful/meaningful to get the current actual
> > setting rather than a default?
> When setting the parameters from the config file we have no domain yet which
> we would have to specify for XEN_DOMCTL_SCHEDOP_getinfo. I didn't want to
> parse part of the config only after domain creation.

That seems like another problem with doing this up front instead of
doing read-modify-write when we come to set the values for the domain.

> A default should be okay, as this is what we want to modify. :-)
> The scheduler should initialize a new domain with this default, of course.

So I can't use this interface to change the current one of the current
settings for running a domain, while leaving the others at their current

Which interface can I use for that and why isn't it the same as this

Xen-devel mailing list



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