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

[Xen-devel] [PATCH 0/9] Some (not only) cpupool related fixes and improvements



Hi everyone,

The main goal of this series is making it possible to specify ranges of pCPUs
when manipulating (creating, adding/removing pCPUs) cpupools. Something like
this:

 xl cpupool-cpu-remove Pool-node0 6-10

while, right now, only single pCPU IDs can be specified, which means that, to
achieve the above, we need to do this:

 xl cpupool-cpu-remove Pool-node0 6
 xl cpupool-cpu-remove Pool-node0 7
 xl cpupool-cpu-remove Pool-node0 8
 xl cpupool-cpu-remove Pool-node0 9
 xl cpupool-cpu-remove Pool-node0 10

This is done in patches 5/9, 6/9 and 7/9.

The series also add a new parameter to `xl list', '-c' or '--cpupool', which
shows in which cpupool the domain(s) lives. Such information was not easy to
find in any other way. One can use `xl sched-<schedule_of_cpupool_x>' and have,
as a side effect, something similar, but that's rather impractical.

Sample output for the new `xl list' can be found here:

 http://pastebin.com/qSagPimL

This happens in patch 3/9 and 4/9.

While there, the series includes some other, somewhat related, fixes of various
kind.

This is available as a git branch here:

 git://xenbits.xen.org/people/dariof/xen.git rel/cpupools/allow-ranges-v1
 
http://xenbits.xen.org/gitweb/?p=people/dariof/xen.git;a=shortlog;h=refs/heads/rel/cpupools/allow-ranges-v1


Thanks and Regards,
Dario

---
Dario Faggioli (9):
  1/9  docs: RTDS is a valid alternative as a scheduler for a cpupool
  2/9  docs: fix `xl list' manpage entry
  3/9  xl: turn some int local variable into bool
  4/9  xl: add -c/--cpupool option to `xl list'
  5/9  libxl: introduce libxl_cpupool_cpu{add,remove}_cpumap()
  6/9  xl: enable using ranges of pCPUs when manipulating cpupools
  7/9  xl: enable using ranges of pCPUs when creating cpupools
  8/9  xl: make error reporting of cpupool subcommands consistent
  9/9  xl: use libxl_cpupoolinfo_list_free() in main_cpupoolnumasplit

 docs/man/xl.pod.1            |   33 +++++-
 docs/man/xlcpupool.cfg.pod.5 |   26 ++++-
 tools/examples/cpupool       |    2 
 tools/libxl/libxl.c          |   36 ++++++-
 tools/libxl/libxl.h          |    4 +
 tools/libxl/xl_cmdimpl.c     |  225 ++++++++++++++++++++++--------------------
 tools/libxl/xl_cmdtable.c    |    1 
 7 files changed, 209 insertions(+), 118 deletions(-)
--

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