Re: [Xen-devel] [RFC] [Design] Better XL support of RTDS scheduler for Xen 4.6

2015-02-25 Thread Meng Xu
Hi Dario, In summary, I agree with you and will apply these comments discussed in this thread to work out a RFC patch for it. Below is just some reply to your question. :-) 2015-02-25 3:44 GMT-05:00 Dario Faggioli : > On Tue, 2015-02-24 at 21:42 -0500, Meng Xu wrote: >> Hi all, >> > Hello, > >> 2

Re: [Xen-devel] [RFC] [Design] Better XL support of RTDS scheduler for Xen 4.6

2015-02-25 Thread Dario Faggioli
On Tue, 2015-02-24 at 21:42 -0500, Meng Xu wrote: > Hi all, > Hello, > 2015-02-24 11:35 GMT-05:00 Dario Faggioli : > > On Tue, 2015-02-24 at 14:16 +, Ian Campbell wrote: > >> On Tue, 2015-02-24 at 11:30 +, Dario Faggioli wrote: > > > >> > Semantically speaking, they just should be killed.

Re: [Xen-devel] [RFC] [Design] Better XL support of RTDS scheduler for Xen 4.6

2015-02-24 Thread Meng Xu
Hi all, 2015-02-24 11:35 GMT-05:00 Dario Faggioli : > On Tue, 2015-02-24 at 14:16 +, Ian Campbell wrote: >> On Tue, 2015-02-24 at 11:30 +, Dario Faggioli wrote: > >> > Semantically speaking, they just should be killed. OTOH, what I was >> > suggesting was this: if one calls libxl_domain_sc

Re: [Xen-devel] [RFC] [Design] Better XL support of RTDS scheduler for Xen 4.6

2015-02-24 Thread Dario Faggioli
On Tue, 2015-02-24 at 14:16 +, Ian Campbell wrote: > On Tue, 2015-02-24 at 11:30 +, Dario Faggioli wrote: > > Semantically speaking, they just should be killed. OTOH, what I was > > suggesting was this: if one calls libxl_domain_sched_params_set(), which > > takes a libxl_domain_sched_para

Re: [Xen-devel] [RFC] [Design] Better XL support of RTDS scheduler for Xen 4.6

2015-02-24 Thread Ian Campbell
On Tue, 2015-02-24 at 11:30 +, Dario Faggioli wrote: > The problem is whether or not we allow overlap, i.e., whether the same > parameters can live in both interfaces, and what is the semantic of > that. Ah, I see. > Let's take RTDS as an example. budget and period make sense at the vcpu > le

Re: [Xen-devel] [RFC] [Design] Better XL support of RTDS scheduler for Xen 4.6

2015-02-24 Thread Ian Campbell
On Mon, 2015-02-23 at 22:58 -0500, Meng Xu wrote: > I'm not sure if other schedulers need such functionality right now, > because the credit2 scheduler account for the credit based on each > domain instead of each VCPU. But if the scheduler will consider the > vcpu-level credit/budget accounting, t

Re: [Xen-devel] [RFC] [Design] Better XL support of RTDS scheduler for Xen 4.6

2015-02-23 Thread Wei Liu
Not an expert on scheduler, so bear with me if my questions / comments are stupid. On Sat, Feb 21, 2015 at 10:51:59AM -0500, Meng Xu wrote: > Hi all, > > This is for Xen 4.6: Enabling XL to set the parameters of each > individual VCPU of a domain for RTDS scheduler. > > [Goal] > Right now, xl sc

Re: [Xen-devel] [RFC] [Design] Better XL support of RTDS scheduler for Xen 4.6

2015-02-22 Thread Meng Xu
[Adding Denys and Andri from globallogic for their advice about the user interface and why we need such functionality] 2015-02-21 10:51 GMT-05:00 Meng Xu : > Hi all, > > This is for Xen 4.6: Enabling XL to set the parameters of each > individual VCPU of a domain for RTDS scheduler. > > [Goal] > R

[Xen-devel] [RFC] [Design] Better XL support of RTDS scheduler for Xen 4.6

2015-02-21 Thread Meng Xu
Hi all, This is for Xen 4.6: Enabling XL to set the parameters of each individual VCPU of a domain for RTDS scheduler. [Goal] Right now, xl sched-rtds tool can only set the VCPUs of a domain to the same parameter although the scheduler did support VCPUs with different parameters. This work is to