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

[Xen-devel] [v7 PATCH 00/10] Implement vcpu soft affinity for credit1



Hi Everyone,

This is v7 of the soft affinity series. For v6, and for a little history and
quick description of the feature, see here:

 http://lists.xen.org/archives/html/xen-devel/2014-05/msg03272.html

Wrt that, I, mostly:

 - fixed a bug present in patch 3, in case a domain is moved to a cpupool when
   the domain's vcpus have not been allocated yet (i.e., what happens when you
   create a domain not in the default cpupool);

 - introduced patch 5, to bump libxc and libxl SONAMEs;

 - changed the libxl bits (patch 7), as requestd and agreed during review.

All the patches have the acks they need from the relevant people, with the
exceptions of:
 - patch 5, that is new (tools maintainer's Ack required)
 - patch 9,8,7 (tools maintainer's Ack required)

A git branch with this version of the series can be found here:

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

Let me know if I need to change anything else.

Thanks and Regards,
Dario

---

Dario Faggioli (10):
      xen: sched: rename v->cpu_affinity into v->cpu_hard_affinity
      xen: sched: introduce soft-affinity and use it instead d->node-affinity
      xen: derive NUMA node affinity from hard and soft CPU affinity
      xen/libxc: sched: DOMCTL_*vcpuaffinity works with hard and soft affinity
      libxc/libxl: bump library SONAMEs
      libxc: get and set soft and hard affinity
      libxl: get and set soft affinity
      xl: enable getting and setting soft
      xl: enable for specifying soft-affinity in the config file
      libxl: automatic NUMA placement affects soft affinity


 docs/man/xl.cfg.pod.5                |   42 +++--
 docs/man/xl.pod.1                    |   32 +++
 docs/misc/xl-numa-placement.markdown |  162 ++++++++++++------
 tools/libxc/Makefile                 |    2 
 tools/libxc/xc_domain.c              |   72 +++++---
 tools/libxc/xenctrl.h                |   55 ++++++
 tools/libxl/Makefile                 |    2 
 tools/libxl/libxl.c                  |   97 +++++++++--
 tools/libxl/libxl.h                  |   26 +++
 tools/libxl/libxl_create.c           |    6 +
 tools/libxl/libxl_dom.c              |   23 ++
 tools/libxl/libxl_types.idl          |    4 
 tools/libxl/libxl_utils.h            |   25 +++
 tools/libxl/xl_cmdimpl.c             |  313 ++++++++++++++++++++++------------
 tools/libxl/xl_cmdtable.c            |    2 
 tools/ocaml/libs/xc/xenctrl_stubs.c  |    8 +
 tools/python/xen/lowlevel/xc/xc.c    |    6 -
 xen/arch/x86/traps.c                 |   13 +
 xen/common/domain.c                  |   86 ++++++---
 xen/common/domctl.c                  |  107 +++++++++++-
 xen/common/keyhandler.c              |    4 
 xen/common/sched_credit.c            |  161 +++++++----------
 xen/common/sched_sedf.c              |    2 
 xen/common/schedule.c                |   66 ++++---
 xen/common/wait.c                    |   10 +
 xen/include/public/domctl.h          |   29 +++
 xen/include/xen/sched-if.h           |    2 
 xen/include/xen/sched.h              |   15 +-
 28 files changed, 953 insertions(+), 419 deletions(-)

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