From: Emmanuel Ackaouy Subject: Re: Credit scheduler and latencies Date: Thu, 14 Dec 2006 19:52:17 +0000 Message-ID: <20061214195217.GA22302@cockermouth.uk.xensource.com> References: <20061214182443.56278d85.listen@mjh.name> <20061214191053.GA21968@cockermouth.uk.xensource.com> <20061214203530.300e4ab1.listen@mjh.name> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20061214203530.300e4ab1.listen@mjh.name> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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.