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

Re: [Xen-devel] [PATCH] xen/sched_credit: Use delay to control scheduling frequency

On 02/01/12 03:19, Jan Beulich wrote:
On 26.12.11 at 09:46, Hui Lv<hui.lv@xxxxxxxxx>  wrote:
Some modifications for this patch.
1.Based on George's proposal, added a ratelimit_us element to csched_priv to
constrain prv->ratelimit_us<= 1000* prv->tslice_ms in csched_init.
I do not see why you need a per-scheduler-instance variable for
issuing the warning and correcting the value - one warning (during
the first initialization) is entirely sufficient. (Otoh the already existing
tslice_ms field is pointless currently too, as it never gets changed
after being initialized from sched_credit_tslice_ms - George?)
Before the 4.2 release, I plan to add SYSCTL_scheduler_op calls for the credit scheduler for both the timeslice and ratelimiting. But I don't think it's necessary for this patch to be admitted.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.