From: "Mike D. Day" Subject: Re: Accounting in Credit Scheduler Date: Mon, 9 Apr 2007 10:29:02 -0400 Message-ID: <20070409142902.GA2336@silverwood.ncultra.org> References: <433551.12888.qm@web8408.mail.in.yahoo.com> Reply-To: ncmike@us.ibm.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Return-path: Content-Disposition: inline In-Reply-To: <433551.12888.qm@web8408.mail.in.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: rahul gundecha Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 09/04/07 12:03 +0100, rahul gundecha wrote: > > Hi.. > I was going through wiki page of Credit Scheduler which says - > " The scheduling decision is the common path of the scheduler and is > therefore designed to be light weight and efficient. No accounting > takes place in this code path. " > So where does the accounting process takes place. exctaly by which > way accounting for CPU, different IO device usage is done. With the > complex architecture of Xen, how does this accounting process is > carried out? The credit scheduler sets up a timer when it is initialized. It does process accounting during the timer service routine. The decision to schedule the next vcpu is done on a different code path, and is optimized to be as fast as possible. Mike -- Mike D. Day IBM LTC Cell: 919 412-3900 Sametime: ncmike@us.ibm.com AIM: ncmikeday Yahoo: ultra.runner PGP key: http://www.ncultra.org/ncmike/pubkey.asc