[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 0/7] Soft affinity for Credit2
Hello, This series implement soft-affinity for Credit2. Or, at least, it implements most of it. In fact, these patches introduces soft-affinity support in the scheduler, everywhere it is needed, with the exception of the load balancer. This is because I think load balancing should be reorganized and reworked a bit, to make soft-affinity (and other enahcement we may come up with in future) fit well inside it. And since this "first part" of soft-affinity support, and the "load balancing part" of it, are 100% orthogonal (thanks a lot again and again, George, for doing such a good job in Credit2 design! :-D), I decided to go ahead submitting this one, to parallelize things a bit. Note that I sent something like this already, a few time ago: https://lists.xenproject.org/archives/html/xen-devel/2016-08/msg02183.html [patches 16 to 24] However, although some of the patches are indeed very similar, or even the same (although, I think that applies only to patch 1!), others are different. This is because the code base changed since then, but also because there were thing _I_ wanted to change. For instance, for what is patch 4 in this series, I followed George's suggestions from back then, and reworked pretty much the whole logic. For others, I slightly tweaked them, for various reasons. I'm, therefore, not sending this series as a v2 of that one, but as a new submission. I've dropped all the Acks and Reviews (again, with the only exception of patch 1, which is truly identical). When there is the need to fish back some context from the old thread, I've put links in the '---' area of the changelogs of the specific patches. Note, finally, that the last 2 patches are not stirctly related to soft-affinity, but it felt ok to include them in the series. There's a branch here: git://xenbits.xen.org/people/dariof/xen.git rel/sched/credit2-soft-aff http://xenbits.xen.org/gitweb/?p=people/dariof/xen.git;a=shortlog;h=refs/heads/rel/sched/credit2-soft-aff https://travis-ci.org/fdario/xen/builds/243672460 Thanks and Regards, Dario --- Dario Faggioli (7): xen: sched: factor affinity helpers out of sched_credit.c xen/tools: credit2: soft-affinity awareness in runq_tickle() xen: credit2: soft-affinity awareness in fallback_cpu() xen: credit2: soft-affinity awareness in csched2_cpu_pick() xen: credit2: kick away vcpus not running within their soft-affinity xen: credit2: optimize runq_candidate() a little bit xen: credit2: try to avoid tickling cpus subject to ratelimiting tools/xentrace/formats | 2 tools/xentrace/xenalyze.c | 7 - xen/common/sched_credit.c | 97 +-------- xen/common/sched_credit2.c | 486 +++++++++++++++++++++++++++++++++----------- xen/include/xen/sched-if.h | 64 ++++++ 5 files changed, 448 insertions(+), 208 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |