Re: [Xen-devel] [PATCH 1/2] sched: credit2: respect per-vcpu hard affinity

2015-03-02 Thread Dario Faggioli
So, being finally able to look at this again, I'm going directly to reviewing v2, since it's available. However, there was an open question on this email, which I figured I should answer, so here it is. :-) On Mon, 2015-01-19 at 21:21 -1000, Justin Weaver wrote: > On Mon, Jan 12, 2015 at 8:05 AM,

Re: [Xen-devel] [PATCH 1/2] sched: credit2: respect per-vcpu hard affinity

2015-02-03 Thread Justin Weaver
On Mon, Feb 2, 2015 at 4:24 AM, Dario Faggioli wrote: > On Sat, 2015-01-31 at 20:51 -1000, Justin Weaver wrote: >> On Mon, Jan 19, 2015 at 9:21 PM, Justin Weaver wrote: >> > On Mon, Jan 12, 2015 at 8:05 AM, Dario Faggioli > >> For example... >> I start a guest with one vcpu with hard affinity 8 -

Re: [Xen-devel] [PATCH 1/2] sched: credit2: respect per-vcpu hard affinity

2015-02-02 Thread Dario Faggioli
On Sat, 2015-01-31 at 20:51 -1000, Justin Weaver wrote: > On Mon, Jan 19, 2015 at 9:21 PM, Justin Weaver wrote: > > On Mon, Jan 12, 2015 at 8:05 AM, Dario Faggioli > For example... > I start a guest with one vcpu with hard affinity 8 - 15 and xl > vcpu-list says it's running on pcpu 15 > I run xl

Re: [Xen-devel] [PATCH 1/2] sched: credit2: respect per-vcpu hard affinity

2015-02-02 Thread Dario Faggioli
On Sat, 2015-01-31 at 20:51 -1000, Justin Weaver wrote: > On Mon, Jan 19, 2015 at 9:21 PM, Justin Weaver wrote: > > Like I said above, I will look at this again. My VMs were getting > > stuck after certain hard affinity changes. I'll roll back some of > > these changes and test it out again. > >

Re: [Xen-devel] [PATCH 1/2] sched: credit2: respect per-vcpu hard affinity

2015-01-31 Thread Justin Weaver
On Mon, Jan 19, 2015 at 9:21 PM, Justin Weaver wrote: > On Mon, Jan 12, 2015 at 8:05 AM, Dario Faggioli > wrote: >>> if ( __vcpu_on_runq(svc) ) >>> +on_runq = 1; >>> + >>> +/* If the runqs are different, move svc to trqd. */ >>> +if ( svc->rqd != trqd ) >>>

Re: [Xen-devel] [PATCH 1/2] sched: credit2: respect per-vcpu hard affinity

2015-01-19 Thread Justin Weaver
On Mon, Jan 12, 2015 at 8:05 AM, Dario Faggioli wrote: > Still about referencing "history", one usually puts here a quick summary > of what changed in each patch, wrt the previously submitted version. > > This is actually not really important in this case, since _a_lot_ of > things changed, as it

Re: [Xen-devel] [PATCH 1/2] sched: credit2: respect per-vcpu hard affinity

2015-01-12 Thread Dario Faggioli
On Sat, 2014-11-29 at 14:33 -1000, Justin T. Weaver wrote: > by making sure that vcpus only run on the pcpu(s) they are allowed to > run on based on their hard affinity cpu masks. > > Signed-off-by: Justin T. Weaver > Still about referencing "history", one usually puts here a quick summary of wha

[Xen-devel] [PATCH 1/2] sched: credit2: respect per-vcpu hard affinity

2014-11-29 Thread Justin T. Weaver
by making sure that vcpus only run on the pcpu(s) they are allowed to run on based on their hard affinity cpu masks. Signed-off-by: Justin T. Weaver --- xen/common/sched_credit2.c | 199 +--- 1 file changed, 171 insertions(+), 28 deletions(-) diff --git