All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] xen: sched: optimize exclusive pinning and soft-affinity checking
@ 2017-09-15 17:35 Dario Faggioli
  2017-09-15 17:35 ` [PATCH 1/4] xen: sched: introduce 'adjust_affinity' hook Dario Faggioli
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Dario Faggioli @ 2017-09-15 17:35 UTC (permalink / raw)
  To: xen-devel; +Cc: George Dunlap, Anshul Makkar

Hello,

This series is a rework of a patch that was, originally, sent as part of a
series (which went in already):

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

As it can be seen in the message above, George suggested doing things a little
bit differently, and I agreed. however, that:
- require a bit more of rework than expected, but here we are;
- opened the possibility for even more optimization. :-)

Basically, the effect of the series is that:
1) when a vCPU is exclusively pinned to a pCPU, a lot of checks, while making
   scheduling decisions in Credit1 and Credit2, are skipped (patch 2);
2) the check to see whether or not a vCPU has a soft-affinity that actually
   matters for the scheduling of the vCPU itself, and should be considered is
   optimized and made faster (patch 4).

So, the important bits are in patches 2 and 4, but both patches 1 and 3 are
necessary to make the other twos possible.

Regards,
Dario
---
Dario Faggioli (4):
      xen: sched: introduce 'adjust_affinity' hook.
      xen: sched: optimize exclusive pinning case (Credit1 & 2)
      xen: sched: improve checking soft-affinity
      xen: sched: simplify (and speedup) checking soft-affinity

 xen/arch/x86/dom0_build.c    |    4 +
 xen/common/sched_credit.c    |  114 +++++++++++++++++++++++++++---------------
 xen/common/sched_credit2.c   |   50 ++++++++++++++++--
 xen/common/sched_null.c      |    8 +--
 xen/common/schedule.c        |   67 +++++++++++++++++++------
 xen/include/xen/perfc_defn.h |    1 
 xen/include/xen/sched-if.h   |   16 +++---
 xen/include/xen/sched.h      |    5 ++
 8 files changed, 188 insertions(+), 77 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@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-10-05 13:52 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-15 17:35 [PATCH 0/4] xen: sched: optimize exclusive pinning and soft-affinity checking Dario Faggioli
2017-09-15 17:35 ` [PATCH 1/4] xen: sched: introduce 'adjust_affinity' hook Dario Faggioli
2017-10-04 13:34   ` George Dunlap
2017-09-15 17:35 ` [PATCH 2/4] xen: sched: optimize exclusive pinning case (Credit1 & 2) Dario Faggioli
2017-09-20 16:43   ` Anshul Makkar
2017-10-04 13:36   ` George Dunlap
2017-09-15 17:35 ` [PATCH 3/4] xen: sched: improve checking soft-affinity Dario Faggioli
2017-10-04 13:23   ` George Dunlap
2017-10-05 13:51     ` Dario Faggioli
2017-09-15 17:35 ` [PATCH 4/4] xen: sched: simplify (and speedup) " Dario Faggioli
2017-10-04 13:37   ` George Dunlap
2017-09-18 19:42 ` [PATCH 0/4] xen: sched: optimize exclusive pinning and soft-affinity checking Anshul Makkar
2017-09-19  8:16   ` Dario Faggioli
2017-10-04 13:37 ` George Dunlap

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.