Skip to contentSkip to conversation

select scheduling policy

DISCUSSION Ananth 2 participants 4 messages Mar 23, 2009 – Mar 24, 2009

lore
Share & tools
lore

Ananth

author
#0 lore raw

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
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

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: [email protected] [mailto:[email protected]] On Behalf Of Ananth
Sent: 2009年3月23日 20:13
To: [email protected]
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
[email protected]
http://lists.xensource.com/xen-devel

author
#2 lore raw

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 <[email protected]>

Quoted 21 lines

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:* [email protected] [mailto:
[email protected]] *On Behalf Of *Ananth *Sent:* 2009年3月23日 20:13
*To:* [email protected]
*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?

Quoted 5 lines

Thank you

Warm Regards
Ananth

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

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:[email protected]]
Sent: 2009年3月24日 15:51
To: Su, Disheng
Cc: [email protected]
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: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of Ananth
Sent: 2009年3月23日 20:13
To: [email protected]<mailto:[email protected]>
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
[email protected]
http://lists.xensource.com/xen-devel