Re: [Xen-devel] [PATCH] credi2-ratelimit: Implement rate limit for credit2 scheduler

2016-07-18 Thread anshul makkar
On 13/07/16 09:53, Dario Faggioli wrote: On Tue, 2016-07-12 at 17:16 +0100, George Dunlap wrote: On Wed, Jul 6, 2016 at 6:33 PM, Makkar anshul.mak...@citrix.com wrote: --- a/xen/common/sched_credit2.c +++ b/xen/common/sched_credit2.c +#define MAX_TSLICE(t1, t2) \ + ({ typeo

Re: [Xen-devel] [PATCH] credi2-ratelimit: Implement rate limit for credit2 scheduler

2016-07-13 Thread George Dunlap
On 13/07/16 09:53, Dario Faggioli wrote: >> @@ -1675,9 +1711,19 @@ csched2_runtime(const struct scheduler *ops, >> int cpu, struct csched2_vcpu *snext >> * 1) Run until snext's credit will be 0 >> * 2) But if someone is waiting, run until snext's credit is >> equal >> * to his >>

Re: [Xen-devel] [PATCH] credi2-ratelimit: Implement rate limit for credit2 scheduler

2016-07-13 Thread Dario Faggioli
On Tue, 2016-07-12 at 17:16 +0100, George Dunlap wrote: > On Wed, Jul 6, 2016 at 6:33 PM, Makkar anshul.mak...@citrix.com > wrote: > >  > > --- a/xen/common/sched_credit2.c > > +++ b/xen/common/sched_credit2.c > > @@ -171,6 +171,11 @@ integer_param("sched_credit2_migrate_resist", > > opt_migrate_r

Re: [Xen-devel] [PATCH] credi2-ratelimit: Implement rate limit for credit2 scheduler

2016-07-12 Thread George Dunlap
On Wed, Jul 6, 2016 at 6:33 PM, Makkar anshul.mak...@citrix.com wrote: > From: Anshul Makkar > > Rate limit assures that a vcpu will execute for a minimum amount of time > before > being put at the back of a queue or being preempted by higher priority thread. > > It introduces a minimum amount o

Re: [Xen-devel] [PATCH] credi2-ratelimit: Implement rate limit for credit2 scheduler

2016-07-07 Thread Dario Faggioli
On Wed, 2016-07-06 at 18:33 +0100, anshul.mak...@citrix.com wrote: > From: Anshul Makkar > Hey, Anshul, Thanks for doing this! > Rate limit assures that a vcpu will execute for a minimum amount of > time before > being put at the back of a queue or being preempted by higher > priority thread. >

[Xen-devel] [PATCH] credi2-ratelimit: Implement rate limit for credit2 scheduler

2016-07-06 Thread Anshul Makkar anshul.makkar
From: Anshul Makkar Rate limit assures that a vcpu will execute for a minimum amount of time before being put at the back of a queue or being preempted by higher priority thread. It introduces a minimum amount of latency to enable a VM to batch its work and it also ensures that system is not spe