All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dario Faggioli <dario.faggioli@citrix.com>
To: Xen-devel <xen-devel@lists.xen.org>
Cc: Juergen Gross <JGross@suse.com>, Wei Liu <wei.liu2@citrix.com>,
	Ian Campbell <ian.campbell@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Meng Xu <xumengpanda@gmail.com>
Subject: [PATCH 0/9] Some (not only) cpupool related fixes and improvements
Date: Fri, 06 Mar 2015 18:20:48 +0100	[thread overview]
Message-ID: <20150306170758.7269.53821.stgit@Solace.station> (raw)

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(-)
--

             reply	other threads:[~2015-03-06 17:20 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-06 17:20 Dario Faggioli [this message]
2015-03-06 17:20 ` [PATCH 1/9] docs: RTDS is a valid alternative as a scheduler for a cpupool Dario Faggioli
2015-03-06 19:16   ` Meng Xu
2015-03-09 10:20   ` Wei Liu
2015-03-06 17:21 ` [PATCH 2/9] docs: fix `xl list' manpage entry Dario Faggioli
2015-03-09 10:21   ` Wei Liu
2015-03-06 17:21 ` [PATCH 3/9] xl: turn some int local variable into bool Dario Faggioli
2015-03-09 10:24   ` Wei Liu
2015-03-06 17:21 ` [PATCH 4/9] xl: add -c/--cpupool option to `xl list' Dario Faggioli
2015-03-09 10:27   ` Wei Liu
2015-03-06 17:21 ` [PATCH 5/9] libxl: introduce libxl_cpupool_cpu{add, remove}_cpumap() Dario Faggioli
2015-03-09 10:39   ` Wei Liu
2015-03-09 11:31     ` Dario Faggioli
2015-03-09 11:47       ` Wei Liu
2015-03-11 16:42     ` Ian Campbell
2015-03-11 16:50       ` Dario Faggioli
2015-03-11 16:57         ` Ian Campbell
2015-03-06 17:21 ` [PATCH 6/9] xl: enable using ranges of pCPUs when manipulating cpupools Dario Faggioli
2015-03-09 10:51   ` Wei Liu
2015-03-09 11:37     ` Dario Faggioli
2015-03-06 17:21 ` [PATCH 7/9] xl: enable using ranges of pCPUs when creating cpupools Dario Faggioli
2015-03-09 10:58   ` Wei Liu
2015-03-09 11:18     ` Dario Faggioli
2015-03-09 11:20       ` Wei Liu
2015-03-06 17:21 ` [PATCH 8/9] xl: make error reporting of cpupool subcommands consistent Dario Faggioli
2015-03-09 11:01   ` Wei Liu
2015-03-09 11:23     ` Dario Faggioli
2015-03-11 14:52     ` Ian Campbell
2015-03-11 15:04       ` Wei Liu
2015-03-11 15:13         ` Dario Faggioli
2015-03-11 15:23           ` Wei Liu
2015-03-11 16:22             ` Dario Faggioli
2015-03-11 16:24               ` Wei Liu
2015-03-11 16:28                 ` Dario Faggioli
2015-03-11 15:14         ` Ian Campbell
2015-03-06 17:22 ` [PATCH 9/9] xl: use libxl_cpupoolinfo_list_free() in main_cpupoolnumasplit Dario Faggioli
2015-03-09 11:02   ` Wei Liu
2015-03-11 14:54   ` Ian Campbell
2015-03-11 14:56 ` [PATCH 0/9] Some (not only) cpupool related fixes and improvements Ian Campbell
2015-03-11 15:09   ` Dario Faggioli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150306170758.7269.53821.stgit@Solace.station \
    --to=dario.faggioli@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=JGross@suse.com \
    --cc=ian.campbell@citrix.com \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.org \
    --cc=xumengpanda@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.