Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-12-02 Thread Meng Xu
Hi Dario, 2015-12-02 5:19 GMT-06:00 Dario Faggioli : > On Wed, 2015-12-02 at 11:03 +, Lars Kurth wrote: >> > On 2 Dec 2015, at 05:54, Meng Xu wrote: >> > >> > Maybe we could add some health warning and add a link to this >> > discussion? >> > Misconfiguration of the system will usually cause

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-12-02 Thread Dario Faggioli
On Wed, 2015-12-02 at 11:01 +, Ian Campbell wrote: > On Tue, 2015-12-01 at 23:54 -0600, Meng Xu wrote: > > > > What do you guys think which type of information we should include? > > I think there is an important distinction between credit2/credit and > RT > schedulers such as arinc/rtds etc,

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-12-02 Thread Dario Faggioli
On Wed, 2015-12-02 at 11:03 +, Lars Kurth wrote: > > On 2 Dec 2015, at 05:54, Meng Xu wrote: > > > > Maybe we could add some health warning and add a link to this > > discussion? > > Misconfiguration of the system will usually cause performance > > degradation, even for the other schedulers,

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-12-02 Thread Lars Kurth
> On 2 Dec 2015, at 05:54, Meng Xu wrote: > > Hi Lars and Dario, > > 2015-12-01 4:11 GMT-06:00 Lars Kurth : >> >> I wonder whether we need to add some health warnings and recommended >> background reading to http://wiki.xenproject.org/wiki/RTDS-Based-Scheduler > > > Maybe we could add some

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-12-02 Thread Ian Campbell
On Tue, 2015-12-01 at 23:54 -0600, Meng Xu wrote: > Hi Lars and Dario, > > 2015-12-01 4:11 GMT-06:00 Lars Kurth : > > > > I wonder whether we need to add some health warnings and recommended > > background reading to http://wiki.xenproject.org/wiki/RTDS-Based-Schedu > > ler > > > Maybe we could

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-12-02 Thread Wei Liu
On Tue, Dec 01, 2015 at 11:54:14PM -0600, Meng Xu wrote: > Hi Lars and Dario, > > 2015-12-01 4:11 GMT-06:00 Lars Kurth : > > > > I wonder whether we need to add some health warnings and recommended > > background reading to http://wiki.xenproject.org/wiki/RTDS-Based-Scheduler > > > Maybe we cou

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-12-01 Thread Meng Xu
Hi Lars and Dario, 2015-12-01 4:11 GMT-06:00 Lars Kurth : > > I wonder whether we need to add some health warnings and recommended > background reading to http://wiki.xenproject.org/wiki/RTDS-Based-Scheduler Maybe we could add some health warning and add a link to this discussion? Misconfigurat

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-12-01 Thread Yu-An(Victor) Chen
Hi all, A little update, so yea when I run with tasks that has utilization less than 0.5. Xen-RTDS is able to complete all those tasks. Thank you guys very much for helping me understand the problem! On Tue, Dec 1, 2015 at 2:11 AM, Lars Kurth wrote: > I wonder whether we need to add some he

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-12-01 Thread Lars Kurth
I wonder whether we need to add some health warnings and recommended background reading to http://wiki.xenproject.org/wiki/RTDS-Based-Scheduler Lars > On 1 Dec 2015, at 08:59, Dario Faggioli wrote: > > On Sun, 2015-11-29 at 11:44 -0500, Meng Xu wrote: >> 2015-11-29 11:27 GMT-05:00 Dario Faggiol

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-12-01 Thread Dario Faggioli
On Sun, 2015-11-29 at 11:44 -0500, Meng Xu wrote: > 2015-11-29 11:27 GMT-05:00 Dario Faggioli > : > >  > > Mmmm... As I said many times, I don't remember much of all those RT > > schedulability formulas, but, is really that simple? > > Ah, let me clarify... > It is not that simple. ;-) I just sim

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-11-29 Thread Yu-An(Victor) Chen
Hi Meng and Dario, Thank you both very very much for the explanations! It really help a lot for understanding RT and what I am doing wrong here! I will do more research and reconfigure the experiments. Hope to have some good news soon! Thanks again! On Sun, Nov 29, 2015 at 8:44 AM, Meng Xu wr

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-11-29 Thread Meng Xu
2015-11-29 11:27 GMT-05:00 Dario Faggioli : > On Sun, 2015-11-29 at 10:38 -0500, Meng Xu wrote: >> >> >> 2015-11-29 7:46 GMT-05:00 Yu-An(Victor) Chen : >> > Hi Meng, >> > >> Hi, >> >> > >> > So I will rewrite my setup here again, but this time I shorten the >> > period and budget for RTDS like you

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-11-29 Thread Dario Faggioli
On Sun, 2015-11-29 at 10:38 -0500, Meng Xu wrote: > > > 2015-11-29 7:46 GMT-05:00 Yu-An(Victor) Chen : > > Hi Meng, > > > Hi,  >   > > > > So I will rewrite my setup here again, but this time I shorten the > > period and budget for RTDS like you suggested: > > > Nice! :-) > >   > > --

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-11-29 Thread Meng Xu
2015-11-29 11:18 GMT-05:00 Dario Faggioli : > > On Sun, 2015-11-29 at 04:46 -0800, Yu-An(Victor) Chen wrote: > > So st_jobs_stats for the missed deadline jobs are: > > > > trial #1 composed of 2 tasks: total tasks utilization rate = 1 > > > > (period, exe, deadline)=(21ms,12.023ms,21ms) -> miss all

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-11-29 Thread Dario Faggioli
On Sun, 2015-11-29 at 04:46 -0800, Yu-An(Victor) Chen wrote: > So st_jobs_stats for the missed deadline jobs are: > > trial #1 composed of 2 tasks: total tasks utilization rate = 1 > > (period, exe, deadline)=(21ms,12.023ms,21ms) -> miss all deadline > (period, exe, deadline)=(100ms,37.985ms,100m

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-11-29 Thread Meng Xu
2015-11-29 7:46 GMT-05:00 Yu-An(Victor) Chen : > Hi Meng, > ​Hi, ​ > > So I will rewrite my setup here again, but this time I shorten the period > and budget for RTDS like you suggested: > ​Nice! :-)​ > > --

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-11-29 Thread Yu-An(Victor) Chen
Hi Meng, So I will rewrite my setup here again, but this time I shorten the period and budget for RTDS like you suggested: - for xen-credit : 2vms (both vm are given 8 vCPUs

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-11-28 Thread Meng Xu
2015-11-28 7:20 GMT-05:00 Yu-An(Victor) Chen : > Hi Meng, > > Thank you so much for being this patience. > > So a task set is composed of a collection of real-time tasks, and each > real-time task is a sequence of jobs that are released periodically... All > jobs are periodic, where each job Ti is

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-11-28 Thread Yu-An(Victor) Chen
Hi Meng, Thank you so much for being this patience. So a task set is composed of a collection of real-time tasks, and each real-time task is a sequence of jobs that are released periodically... All jobs are periodic, where each job Ti is defined by a period (and deadline) pi and a worse-case exec

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-11-27 Thread Meng Xu
2015-11-27 14:50 GMT-05:00 Yu-An(Victor) Chen : > Hi Dario & Meng, > > Thanks for your analysis! > > VM1 and VM2 both are given 8 vCPUs and sharing physical CPU 0-7. So in > theory,"VM1 can get the services of 400%" > And yes, Dario, your explanation about the task utilization is correct. > > So th

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-11-27 Thread Yu-An(Victor) Chen
Hi Dario & Meng, Thanks for your analysis! VM1 and VM2 both are given 8 vCPUs and sharing physical CPU 0-7. So in theory,"VM1 can get the services of 400%" And yes, Dario, your explanation about the task utilization is correct. So the resource configuration as I mentioned before is: for xen-cre

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-11-27 Thread Meng Xu
2015-11-27 12:23 GMT-05:00 Dario Faggioli : > On Fri, 2015-11-27 at 08:36 -0800, Yu-An(Victor) Chen wrote: >> Hi Dario, >> > Hi, > >> Thanks for the reply! >> > You're welcome. :-) > > I'm adding Meng to Cc... > Thanks! :-) >> My goal for the experiment is to show that xen rtds scheduler is >> be

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-11-27 Thread Dario Faggioli
On Fri, 2015-11-27 at 08:36 -0800, Yu-An(Victor) Chen wrote: > Hi Dario, > Hi, > Thanks for the reply! > You're welcome. :-) I'm adding Meng to Cc... > My goal for the experiment is to show that xen rtds scheduler is > better than credit scheduler when it comes to real time tasks. > so my set

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-11-27 Thread Yu-An(Victor) Chen
Hi Dario, Thanks for the reply! My goal for the experiment is to show that xen rtds scheduler is better than credit scheduler when it comes to real time tasks. so my set up is: for xen-credit : 2vms sharing 8 cores (cpu 0-7) using credit scheduler(both with weight of 800 and capacity of 400) for

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-11-24 Thread Dario Faggioli
On Mon, 2015-11-23 at 07:42 -0800, Yu-An(Victor) Chen wrote: > Hi all, > Hello, > So I was doing some experiments to evaluate RTDS scheduler > schedubility of real time tasks using 1vm with period of 1 and > budget of 1. The experiment results turn out as expected(perform > better than xe

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-11-23 Thread Meng Xu
2015-11-23 23:57 GMT-05:00 Yu-An(Victor) Chen : > Hi Meng, > Hi, > Thank you again for your kindly reply! No problem :-) > I am currently using "litmus-rt-2014.2.patch" and with my labmates' patch > for IPI interrupt (https://github.com/LITMUS-RT/liblitmus/pull/1/files) > I asked my labmate about

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-11-23 Thread Yu-An(Victor) Chen
Hi Meng, Thank you again for your kindly reply! I am currently using "litmus-rt-2014.2.patch" and with my labmates' patch for IPI interrupt (https://github.com/LITMUS-RT/liblitmus/pull/1/files) I asked my labmate about it, he said he was not sure if there is more IPI interrupt bug other than then

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-11-23 Thread Meng Xu
Hi, 2015-11-23 11:35 GMT-05:00 Yu-An(Victor) Chen : > Hi Meng, > > Thank you very much for replying! > > The RT tasks I am running for each trial at a certain utilization rate is a > collection of real-time tasks, and each real-time task is a sequence of jobs > that are released periodically. All

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-11-23 Thread Yu-An(Victor) Chen
Hi Meng, Thank you very much for replying! The RT tasks I am running for each trial at a certain utilization rate is a collection of real-time tasks, and each real-time task is a sequence of jobs that are released periodically. All jobs are periodic, where each job is defined by a period (and dea

Re: [Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-11-23 Thread Meng Xu
Hi Yu-An, 2015-11-23 10:42 GMT-05:00 Yu-An(Victor) Chen : > > Hi all, > > So I was doing some experiments to evaluate RTDS scheduler schedubility of > real time tasks using 1vm with period of 1 and budget of 1. The > experiment results turn out as expected(perform better than xen-credit)

[Xen-devel] xen 4.5.0 rtds scheduler perform poorly with 2vms

2015-11-23 Thread Yu-An(Victor) Chen
Hi all, So I was doing some experiments to evaluate RTDS scheduler schedubility of real time tasks using 1vm with period of 1 and budget of 1. The experiment results turn out as expected(perform better than xen-credit). But when I tried to perform similar experiments with 2 vms (both with