From mboxrd@z Thu Jan 1 00:00:00 1970 From: zhikai Subject: A question on the credit scheduler Date: Fri, 16 Dec 2011 15:55:07 +0800 (CST) Message-ID: <26c93838.3b3fb.13445de0e67.Coremail.gbtux@126.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9023758457994064493==" Return-path: 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 --===============9023758457994064493== Content-Type: multipart/alternative; boundary="----=_Part_684796_492820696.1324022107751" ------=_Part_684796_492820696.1324022107751 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit Hi All, In the credit scheduler, the scheduling decision function csched_schedule() is called in the schedule function in scheduler.c, such as the following. next_slice = sched->do_schedule(sched, now, tasklet_work_scheduled); But, how often the csched_schedule() is called and to run? Does this frequency have something to do with the slice of credit scheduler that is 30ms? Best Regards, Gavin ------=_Part_684796_492820696.1324022107751 Content-Type: text/html; charset=GBK Content-Transfer-Encoding: 7bit
Hi All,

In the credit scheduler, the scheduling decision function csched_schedule() is called in the schedule function in scheduler.c, such as the following.
next_slice = sched->do_schedule(sched, now, tasklet_work_scheduled);

But, how often the csched_schedule() is called and to run? Does this frequency have something to do with the slice of credit scheduler that is 30ms?

Best Regards,
Gavin



------=_Part_684796_492820696.1324022107751-- --===============9023758457994064493== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============9023758457994064493==--