Hi, Is it possible to manually configure which scheduler is to be used by Xen? Is it possible to configure it without having to recompile xen? Could you please throw some light on how to go about it? Thank you Warm Regards Ananth _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
scheduler can be manually configured at boot time. For Xen 3.0, you can specify "sched=credit" and "sched=sedf" in GRUB configuration file. Pls refer to http://www.informit.com/articles/article.aspx?p=1187966&seqNum=4 Does it make sense? Best Regards, Disheng, Su ________________________________ From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Ananth Sent: 2009年3月23日 20:13 To: xen-devel@lists.xensource.com Subject: [Xen-devel] select scheduling policy Hi, Is it possible to manually configure which scheduler is to be used by Xen? Is it possible to configure it without having to recompile xen? Could you please throw some light on how to go about it? Thank you Warm Regards Ananth _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Hello, Thank you very much for your quick response. The link was very useful. Is there a way I can visualize or demonstrate the difference in system behaviour when two different schedulers are used? How can I go about it? Shoud I introduce probes into the scheduler code to print the context details ? Also, in the link which you had sent, I saw that Xen offers an API to add a new scheduler. Will you be able to guide me with respect to that? I am trying to add a new scheduler to Xen but not exactly sure which place to insert my code. Is there a specific API as mentioned in the link? Thank you Regards Ananth 2009/3/23 Su, Disheng <disheng.su@intel.com>> scheduler can be manually configured at boot time. For Xen 3.0, you can > specify "sched=credit" and "sched=sedf" in GRUB configuration file. Pls > refer to http://www.informit.com/articles/article.aspx?p=1187966&seqNum=4 > Does it make sense? > > Best Regards, > Disheng, Su > > > ------------------------------ > *From:* xen-devel-bounces@lists.xensource.com [mailto: > xen-devel-bounces@lists.xensource.com] *On Behalf Of *Ananth > *Sent:* 2009年3月23日 20:13 > *To:* xen-devel@lists.xensource.com > *Subject:* [Xen-devel] select scheduling policy > > Hi, > Is it possible to manually configure which scheduler is to be used by Xen? > Is it possible to configure it without having to recompile xen? Could you > please throw some light on how to go about it? > > Thank you > > Warm Regards > Ananth >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
1. Type 3 consecutive "CTRL + A" on xen console, switch to dom0 console, then type "r" to dump runqueue. Different scheduler has different info. 2. xen/common/schedule.c, sched_credit.c and sched_sedf.c are the whole scheduler stuff. Best Regards, Disheng, Su ________________________________ From: Ananth [mailto:cbananth@gmail.com] Sent: 2009年3月24日 15:51 To: Su, Disheng Cc: xen-devel@lists.xensource.com Subject: Re: [Xen-devel] select scheduling policy Hello, Thank you very much for your quick response. The link was very useful. Is there a way I can visualize or demonstrate the difference in system behaviour when two different schedulers are used? How can I go about it? Shoud I introduce probes into the scheduler code to print the context details ? Also, in the link which you had sent, I saw that Xen offers an API to add a new scheduler. Will you be able to guide me with respect to that? I am trying to add a new scheduler to Xen but not exactly sure which place to insert my code. Is there a specific API as mentioned in the link? Thank you Regards Ananth 2009/3/23 Su, Disheng <disheng.su<http://disheng.su>@intel.com<http://intel.com>> scheduler can be manually configured at boot time. For Xen 3.0, you can specify "sched=credit" and "sched=sedf" in GRUB configuration file. Pls refer to http://www.informit.com/articles/article.aspx?p=1187966&seqNum=4 Does it make sense? Best Regards, Disheng, Su ________________________________ From: xen-devel-bounces@lists.xensource.com<mailto:xen-devel-bounces@lists.xensource.com> [mailto:xen-devel-bounces@lists.xensource.com<mailto:xen-devel-bounces@lists.xensource.com>] On Behalf Of Ananth Sent: 2009年3月23日 20:13 To: xen-devel@lists.xensource.com<mailto:xen-devel@lists.xensource.com> Subject: [Xen-devel] select scheduling policy Hi, Is it possible to manually configure which scheduler is to be used by Xen? Is it possible to configure it without having to recompile xen? Could you please throw some light on how to go about it? Thank you Warm Regards Ananth _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel