Re: [Xen-devel] [PATCH v2 for Xen 4.6 3/4] libxl: enabling XL to set per-VCPU parameters of a domain for RTDS scheduler

2015-06-17 Thread Chong Li
On Wed, Jun 17, 2015 at 7:32 AM, Dario Faggioli wrote: > On Wed, 2015-06-17 at 13:08 +0100, Ian Campbell wrote: >> On Tue, 2015-06-09 at 18:18 +0200, Dario Faggioli wrote: >> > On Mon, 2015-06-08 at 15:55 -0500, Chong Li wrote: >> > > On Mon, Jun 8, 2015 at 10:56 AM, Dario Faggioli >> > > >> For s

Re: [Xen-devel] [PATCH v2 for Xen 4.6 3/4] libxl: enabling XL to set per-VCPU parameters of a domain for RTDS scheduler

2015-06-17 Thread Dario Faggioli
On Wed, 2015-06-17 at 13:08 +0100, Ian Campbell wrote: > On Tue, 2015-06-09 at 18:18 +0200, Dario Faggioli wrote: > > On Mon, 2015-06-08 at 15:55 -0500, Chong Li wrote: > > > On Mon, Jun 8, 2015 at 10:56 AM, Dario Faggioli > > > > > > So, Thoughts? What do you think the best way forward could be?

Re: [Xen-devel] [PATCH v2 for Xen 4.6 3/4] libxl: enabling XL to set per-VCPU parameters of a domain for RTDS scheduler

2015-06-17 Thread Dario Faggioli
On Wed, 2015-06-17 at 13:14 +0100, Ian Campbell wrote: > On Mon, 2015-06-15 at 12:12 +0200, Dario Faggioli wrote: > > A parameter is either per-domain or per-vcpu, no matter how the user try > > to set or get it. In RTDS, all parameters are per-domain now and, with > > your work, all of them are be

Re: [Xen-devel] [PATCH v2 for Xen 4.6 3/4] libxl: enabling XL to set per-VCPU parameters of a domain for RTDS scheduler

2015-06-17 Thread Ian Campbell
On Mon, 2015-06-15 at 12:12 +0200, Dario Faggioli wrote: > A parameter is either per-domain or per-vcpu, no matter how the user try > to set or get it. In RTDS, all parameters are per-domain now and, with > your work, all of them are becoming per-vcpu, and that's ok. But then, > per-dom parameters

Re: [Xen-devel] [PATCH v2 for Xen 4.6 3/4] libxl: enabling XL to set per-VCPU parameters of a domain for RTDS scheduler

2015-06-17 Thread Ian Campbell
On Tue, 2015-06-09 at 18:18 +0200, Dario Faggioli wrote: > On Mon, 2015-06-08 at 15:55 -0500, Chong Li wrote: > > On Mon, Jun 8, 2015 at 10:56 AM, Dario Faggioli > > > > So, Thoughts? What do you think the best way forward could be? > > > > I like option 2 more. But I think we may also need a 'vc

Re: [Xen-devel] [PATCH v2 for Xen 4.6 3/4] libxl: enabling XL to set per-VCPU parameters of a domain for RTDS scheduler

2015-06-15 Thread Dario Faggioli
On Fri, 2015-06-12 at 15:48 -0500, Chong Li wrote: > If no more feedbacks, let me summarize the design for the next version. > > For "get" operations, we will implement the following features: > > 1) Use " xl sched-rtds -v all " to output the per-dom parameters of > all domains. And use, e.g., "

Re: [Xen-devel] [PATCH v2 for Xen 4.6 3/4] libxl: enabling XL to set per-VCPU parameters of a domain for RTDS scheduler

2015-06-12 Thread Chong Li
If no more feedbacks, let me summarize the design for the next version. For "get" operations, we will implement the following features: 1) Use " xl sched-rtds -v all " to output the per-dom parameters of all domains. And use, e.g., " xl sched-rtds -d vm1 -v all ", to output the per-dom parameters

Re: [Xen-devel] [PATCH v2 for Xen 4.6 3/4] libxl: enabling XL to set per-VCPU parameters of a domain for RTDS scheduler

2015-06-09 Thread Dario Faggioli
On Mon, 2015-06-08 at 15:55 -0500, Chong Li wrote: > On Mon, Jun 8, 2015 at 10:56 AM, Dario Faggioli > > So, Thoughts? What do you think the best way forward could be? > > I like option 2 more. But I think we may also need a 'vcpuid' field in > libxl_sched_params. > For sparse array support, yes

Re: [Xen-devel] [PATCH v2 for Xen 4.6 3/4] libxl: enabling XL to set per-VCPU parameters of a domain for RTDS scheduler

2015-06-08 Thread Chong Li
On Mon, Jun 8, 2015 at 10:56 AM, Dario Faggioli wrote: > On Fri, 2015-06-05 at 12:37 +0100, Ian Campbell wrote: >> On Mon, 2015-05-25 at 19:09 -0500, Chong Li wrote: > >> > diff --git a/tools/libxl/libxl_types.idl b/tools/libxl/libxl_types.idl >> > index 117b61d..d28d274 100644 >> > --- a/tools/li

Re: [Xen-devel] [PATCH v2 for Xen 4.6 3/4] libxl: enabling XL to set per-VCPU parameters of a domain for RTDS scheduler

2015-06-08 Thread Dario Faggioli
On Fri, 2015-06-05 at 12:37 +0100, Ian Campbell wrote: > On Mon, 2015-05-25 at 19:09 -0500, Chong Li wrote: > > diff --git a/tools/libxl/libxl_types.idl b/tools/libxl/libxl_types.idl > > index 117b61d..d28d274 100644 > > --- a/tools/libxl/libxl_types.idl > > +++ b/tools/libxl/libxl_types.idl > > @

Re: [Xen-devel] [PATCH v2 for Xen 4.6 3/4] libxl: enabling XL to set per-VCPU parameters of a domain for RTDS scheduler

2015-06-05 Thread Ian Campbell
On Mon, 2015-05-25 at 19:09 -0500, Chong Li wrote: > Add libxl_vcpu_sched_params_get/set and sched_rtds_vcpu_get/set functions to > support > per-VCPU settings for RTDS scheduler. > > Add a new data structure (libxl_vcpu_sched_params) to help per-VCPU settings. > > Signed-off-by: Chong Li > Sig

Re: [Xen-devel] [PATCH v2 for Xen 4.6 3/4] libxl: enabling XL to set per-VCPU parameters of a domain for RTDS scheduler

2015-06-04 Thread Dario Faggioli
On Mon, 2015-05-25 at 19:09 -0500, Chong Li wrote: > Add libxl_vcpu_sched_params_get/set and sched_rtds_vcpu_get/set functions to > support > per-VCPU settings for RTDS scheduler. > > Add a new data structure (libxl_vcpu_sched_params) to help per-VCPU settings. > > Signed-off-by: Chong Li > Sig

Re: [Xen-devel] [PATCH v2 for Xen 4.6 3/4] libxl: enabling XL to set per-VCPU parameters of a domain for RTDS scheduler

2015-06-02 Thread Chong Li
On Tue, Jun 2, 2015 at 7:53 AM, George Dunlap wrote: > On 05/26/2015 01:09 AM, Chong Li wrote: >> Add libxl_vcpu_sched_params_get/set and sched_rtds_vcpu_get/set functions to >> support >> per-VCPU settings for RTDS scheduler. >> >> Add a new data structure (libxl_vcpu_sched_params) to help per-V

Re: [Xen-devel] [PATCH v2 for Xen 4.6 3/4] libxl: enabling XL to set per-VCPU parameters of a domain for RTDS scheduler

2015-06-02 Thread George Dunlap
On 05/26/2015 01:09 AM, Chong Li wrote: > Add libxl_vcpu_sched_params_get/set and sched_rtds_vcpu_get/set functions to > support > per-VCPU settings for RTDS scheduler. > > Add a new data structure (libxl_vcpu_sched_params) to help per-VCPU settings. > > Signed-off-by: Chong Li > Signed-off-by:

[Xen-devel] [PATCH v2 for Xen 4.6 3/4] libxl: enabling XL to set per-VCPU parameters of a domain for RTDS scheduler

2015-05-25 Thread Chong Li
Add libxl_vcpu_sched_params_get/set and sched_rtds_vcpu_get/set functions to support per-VCPU settings for RTDS scheduler. Add a new data structure (libxl_vcpu_sched_params) to help per-VCPU settings. Signed-off-by: Chong Li Signed-off-by: Meng Xu Signed-off-by: Sisu Xi --- tools/libxl/libxl