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

[Xen-devel] [PATCH v2 0/4] xen/tools: Credit2: implement caps.



This is v2 of the 'caps for Credit2' series.

Posting of v1 is here:

 https://lists.xen.org/archives/html/xen-devel/2017-06/msg00700.html

No change wrt that, apart from taking care of the review comments. The patch
that required more rework is patch 1, as I changed how a corner case (budget
overrun, due to potential timer or accounting issues) is dealt with, complying
with what George suggested and thought it was best.

Note, however, that this series is *NOT* based on top of staging. In fact, it
is based on top of staging + "Soft affinity for Credit2, v2":

 https://lists.xen.org/archives/html/xen-devel/2017-07/msg02802.html

Reason I did things like this is that the two series do clash, and since the
soft affinity one is pretty much all acked and ready to go in (with the only
exception of patch 2, as George still needs to look at it), I just assumed that
one will go in first, and based on top of it.

In fact, as I'm leaving for 2 weeks, having done things like this allows one to
commit both the series, even with me away, in case both collect all the needed
acks, of course (hey, one can dream, can't him? :-D :-D).

As usual, I aslo prepared a git branch:

 git://xenbits.xen.org/people/dariof/xen.git  rel/sched/credit2-caps-v2
 https://travis-ci.org/fdario/xen/builds/266018957

Thanks and Regards,
Dario
---
Dario Faggioli (4):
      xen: credit2: implement utilization cap
      xen: credit2: allow to set and get utilization cap
      xen: credit2: improve distribution of budget (for domains with caps)
      libxl/xl: allow to get and set cap on Credit2.

 tools/libxl/libxl_sched.c   |   21 +
 tools/xentrace/formats      |    2 
 tools/xentrace/xenalyze.c   |   10 -
 tools/xl/xl_cmdtable.c      |    1 
 tools/xl/xl_sched.c         |   25 +-
 xen/common/sched_credit2.c  |  676 ++++++++++++++++++++++++++++++++++++++++---
 xen/include/public/domctl.h |    1 
 xen/include/xen/sched.h     |    3 
 8 files changed, 682 insertions(+), 57 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
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.