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

Re: [Xen-devel] Credit scheduler and latencies

On Thu, Dec 14, 2006 at 08:35:30PM +0100, Milan Holz?pfel wrote:
> Can you say whether it is possible / feasible to change the time
> slice / scheduler quantum to less than 10 ms (time between two
> 100-Hz-based timer interrupts)?

Going to 10ms is easy:
Change CSCHED_TICKS_PER_TSLICE from 3 to 1 in common/sched_credit.c.

Going below that is a little more tricky...
You may be able to change CSCHED_MSECS_PER_TSLICE to simply
be defined to 1 (for 1ms).

That may cause some accounting issues though because the
accounting work will still be done every 30ms.

Xen-devel mailing list



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