All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Credit2: introduce per-vcpu hard and soft affinity
@ 2014-11-30  0:33 Justin T. Weaver
  2014-11-30  0:33 ` [PATCH 1/2] sched: credit2: respect per-vcpu hard affinity Justin T. Weaver
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Justin T. Weaver @ 2014-11-30  0:33 UTC (permalink / raw)
  To: xen-devel; +Cc: george.dunlap, dario.faggioli, henric

Hello,

The credit2 scheduler currently ignores per-vcpu hard and soft affinity
masks.

The first patch updates the scheduler to ensure that vcpus only run
on pcpus on which they are allowed to run (hard affinity).

The second patch updates the scheduler to make more informed run queue
assignment decisions by considering which pcpus that vcpus prefer to
run on (soft affinity).

I tested this series on a NUMA machine with Dario Faggioli's "fix
per-socket runqueue setup" patch series applied. Without it, the credit2
scheduler only creates one run queue, regardless of the type of machine.

---
[PATCH 1/2] sched: credit2: respect per-vcpu hard affinity
[PATCH 2/2] sched: credit2: consider per-vcpu soft affinity

 xen/common/sched_credit2.c |  419 ++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 388 insertions(+), 31 deletions(-)

---

Justin Weaver, Masters candidate
University of Hawaiʻi at Mānoa


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

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

end of thread, other threads:[~2015-03-03  3:13 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-30  0:33 [PATCH 0/2] Credit2: introduce per-vcpu hard and soft affinity Justin T. Weaver
2014-11-30  0:33 ` [PATCH 1/2] sched: credit2: respect per-vcpu hard affinity Justin T. Weaver
2015-01-12 18:05   ` Dario Faggioli
2015-01-20  7:21     ` Justin Weaver
2015-02-01  6:51       ` Justin Weaver
2015-02-02 11:12         ` Dario Faggioli
2015-02-02 14:24         ` Dario Faggioli
2015-02-03  9:09           ` Justin Weaver
2015-03-03  3:13       ` Dario Faggioli
2014-11-30  0:33 ` [PATCH 2/2] sched: credit2: consider per-vcpu soft affinity Justin T. Weaver
2015-01-12 18:07   ` Dario Faggioli
2015-01-13 13:06   ` Dario Faggioli
2015-02-11  8:38     ` Justin Weaver
2015-01-02 16:33 ` [PATCH 0/2] Credit2: introduce per-vcpu hard and " Dario Faggioli
2015-01-04 21:32   ` Justin Weaver

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.