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

[Xen-devel] [PATCH 0/2] Credit2: introduce per-vcpu hard and soft affinity



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