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

Re: [Xen-devel] [PATCH v4 for Xen 4.6 0/4] Enable per-VCPU parameter settings for RTDS scheduler



On Fri, 2015-07-10 at 23:52 -0500, Chong Li wrote:

> Using "xl sched-rtds" will output the default scheduling parameters
> for each domain. An example would be like:
> 
> # xl sched-rtds
> Cpupool Pool-0: sched=RTDS
> Name                                ID    Period    Budget
> Domain-0                             0     10000      4000
> vm1                                  1     10000      4000
> vm2                                  2     10000      4000

> Using command, e.g., "xl sched-rtds -d vm1" will output the default
> scheduling parameters of vm1. An example would be like:
> 
> # xl sched-rtds -d vm1
> Name                                ID    Period    Budget
> vm1                                  1     10000      4000
> 
Thanks for making these two works.

I think it would be great if we could, in this case, output somehow and
somewhere that we are actually showing some defaults, instead than
anything that is really in use.

I don't know whether with something like this:

  # xl sched-rtds
  Cpupool Pool-0: sched=RTDS
  Name                                ID    Period    Budget
  Domain-0 (defaults)                  0     10000      4000
  vm1 (defaults)                       1     10000      4000
  vm2 (defaults)                       2     10000      4000

  # xl sched-rtds -d vm1
  Name                                ID    Period    Budget
  vm1 (defaults)                       1     10000      4000

Or by "just" adding a note before the actual output:

  # xl sched-rtds -d vm1
  Showing per-vm(s) default scheduling parameters,
  use `-v' for seeing the actual parameters of each vcpu
  Name                                ID    Period    Budget
  vm1                                  1     10000      4000

The latter is more verbose, but I think is what I see as more useful
(and, probably, the easier to implement).

Regards,
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®.