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

[Xen-devel] [PATCH v5 00/17] Implement vcpu soft affinity for credit1



Take 5. Main changes from last round are:
 - changed the Xen and libxc interface, as agreed with Jan during v4 review.
   Now it is possible to specify and get back both the (effective) hard and
   soft affinity with just one hypercall.
 - applied all IanC's comments on the tool patches.

Release whise, George expressed himself in favour of a freeze exception here:
 http://bugs.xenproject.org/xen/mid/<528B8B25.6000608@xxxxxxxxxxxxx>

The patch series is available in the following git branch:

 git://xenbits.xen.org/people/dariof/xen.git numa/per-vcpu-affinity-v5

Thanks and Regards,
Dario
---

Dario Faggioli (17):
   a  xl: match output of vcpu-list with pinning syntax
 n    libxl: better name for last parameter of libxl_list_vcpu
 n    libxl: fix memory leak in libxl_list_vcpu
   a  libxc/libxl: sanitize error handling in *_get_max_{cpus,nodes}
      libxc/libxl: allow to retrieve the number of online pCPUs
  ra  xl: allow for node-wise specification of vcpu pinning
   a  xl: implement and enable dryrun mode for `xl vcpu-pin'
   a  xl: test script for the cpumap parser (for vCPU pinning)
  r   xen: sched: rename v->cpu_affinity into v->cpu_hard_affinity
  r   xen: sched: introduce soft-affinity and use it instead d->node-affinity
  r   xen: derive NUMA node affinity from hard and soft CPU affinity
  r   xen/libxc: sched: DOMCTL_*vcpuaffinity works with hard and soft affinity
   a  libxc: get and set soft and hard affinity
  r   libxl: get and set soft affinity
      xl: enable getting and setting soft
*     xl: enable for specifying node-affinity in the config file
   a  libxl: automatic NUMA placement affects soft affinity

 n = new in v4
 r = has been 'Reviewed-by'
 a = has been 'Acked-by'
 * = has been 'Acked-by' but the implementation changed a bit
     (IanJ explicitly said to point this out)

 docs/man/xl.cfg.pod.5                           |   62 ++-
 docs/man/xl.pod.1                               |   20 +
 docs/misc/xl-numa-placement.markdown            |  162 +++++--
 tools/libxc/xc_domain.c                         |   76 ++--
 tools/libxc/xc_misc.c                           |   32 +
 tools/libxc/xenctrl.h                           |   58 +++
 tools/libxl/Makefile                            |    2 
 tools/libxl/check-xl-vcpupin-parse              |  294 ++++++++++++++
 tools/libxl/check-xl-vcpupin-parse.data-example |   53 ++
 tools/libxl/libxl.c                             |  124 ++++--
 tools/libxl/libxl.h                             |   44 ++
 tools/libxl/libxl_create.c                      |    6 
 tools/libxl/libxl_dom.c                         |   23 +
 tools/libxl/libxl_types.idl                     |    4 
 tools/libxl/libxl_utils.c                       |   67 +++
 tools/libxl/libxl_utils.h                       |   44 +-
 tools/libxl/xl_cmdimpl.c                        |  497 +++++++++++++++--------
 tools/libxl/xl_cmdtable.c                       |    5 
 tools/ocaml/libs/xc/xenctrl_stubs.c             |    8 
 tools/python/xen/lowlevel/xc/xc.c               |   12 -
 xen/arch/x86/traps.c                            |   13 -
 xen/common/domain.c                             |   86 ++--
 xen/common/domctl.c                             |  111 +++++
 xen/common/keyhandler.c                         |    4 
 xen/common/sched_credit.c                       |  161 +++----
 xen/common/sched_sedf.c                         |    2 
 xen/common/schedule.c                           |   57 ++-
 xen/common/wait.c                               |   10 
 xen/include/public/domctl.h                     |   17 +
 xen/include/xen/sched.h                         |   14 -
 30 files changed, 1541 insertions(+), 527 deletions(-)
 create mode 100755 tools/libxl/check-xl-vcpupin-parse
 create mode 100644 tools/libxl/check-xl-vcpupin-parse.data-example

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

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