Re: [PATCH 1/1] sched/rt: avoid contend with CFS task

2019-10-09 Thread Qais Yousef
On 10/02/19 09:20, Jing-Ting Wu wrote: > On Thu, 2019-09-19 at 16:11 +0100, Qais Yousef wrote: > > On 09/19/19 16:37, Vincent Guittot wrote: > > > On Thu, 19 Sep 2019 at 16:32, Vincent Guittot > > > wrote: > > > > > > > > On Thu, 19 Sep 2019 at 16:23, Qais Yousef wrote: > > > > > > > > > > On 09/

Re: [PATCH 1/1] sched/rt: avoid contend with CFS task

2019-10-03 Thread Dietmar Eggemann
[+ Steven Rostedt ] On 29/08/2019 05:15, Jing-Ting Wu wrote: > At original linux design, RT & CFS scheduler are independent. > Current RT task placement policy will select the first cpu in > lowest_mask, even if the first CPU is running a CFS task. > This may put RT task to a running cpu and let C

Re: [PATCH 1/1] sched/rt: avoid contend with CFS task

2019-10-01 Thread Jing-Ting Wu
On Thu, 2019-09-19 at 16:11 +0100, Qais Yousef wrote: > On 09/19/19 16:37, Vincent Guittot wrote: > > On Thu, 19 Sep 2019 at 16:32, Vincent Guittot > > wrote: > > > > > > On Thu, 19 Sep 2019 at 16:23, Qais Yousef wrote: > > > > > > > > On 09/19/19 14:27, Vincent Guittot wrote: > > > > > > > > But

Re: [PATCH 1/1] sched/rt: avoid contend with CFS task

2019-09-19 Thread Qais Yousef
On 09/19/19 16:37, Vincent Guittot wrote: > On Thu, 19 Sep 2019 at 16:32, Vincent Guittot > wrote: > > > > On Thu, 19 Sep 2019 at 16:23, Qais Yousef wrote: > > > > > > On 09/19/19 14:27, Vincent Guittot wrote: > > > > > > > But for requirement of performance, I think it is better to > > > > > >

Re: [PATCH 1/1] sched/rt: avoid contend with CFS task

2019-09-19 Thread Vincent Guittot
On Thu, 19 Sep 2019 at 16:32, Vincent Guittot wrote: > > On Thu, 19 Sep 2019 at 16:23, Qais Yousef wrote: > > > > On 09/19/19 14:27, Vincent Guittot wrote: > > > > > > But for requirement of performance, I think it is better to > > > > > > differentiate between idle CPU and CPU has CFS task. > >

Re: [PATCH 1/1] sched/rt: avoid contend with CFS task

2019-09-19 Thread Vincent Guittot
On Thu, 19 Sep 2019 at 16:23, Qais Yousef wrote: > > On 09/19/19 14:27, Vincent Guittot wrote: > > > > > But for requirement of performance, I think it is better to > > > > > differentiate between idle CPU and CPU has CFS task. > > > > > > > > > > For example, we use rt-app to evaluate runnable t

Re: [PATCH 1/1] sched/rt: avoid contend with CFS task

2019-09-19 Thread Qais Yousef
On 09/19/19 14:27, Vincent Guittot wrote: > > > > But for requirement of performance, I think it is better to > > > > differentiate between idle CPU and CPU has CFS task. > > > > > > > > For example, we use rt-app to evaluate runnable time on non-patched > > > > environment. > > > > There are (NR

Re: [PATCH 1/1] sched/rt: avoid contend with CFS task

2019-09-19 Thread Vincent Guittot
On Thu, 19 Sep 2019 at 13:22, Jing-Ting Wu wrote: > > On Thu, 2019-09-05 at 16:01 +0200, Vincent Guittot wrote: > > Hi Jing-Ting, > > > > On Thu, 5 Sep 2019 at 15:26, Jing-Ting Wu wrote: > > > > > > On Fri, 2019-08-30 at 15:55 +0100, Qais Yousef wrote: > > > > On 08/29/19 11:38, Valentin Schneide

Re: [PATCH 1/1] sched/rt: avoid contend with CFS task

2019-09-19 Thread Jing-Ting Wu
On Thu, 2019-09-05 at 16:01 +0200, Vincent Guittot wrote: > Hi Jing-Ting, > > On Thu, 5 Sep 2019 at 15:26, Jing-Ting Wu wrote: > > > > On Fri, 2019-08-30 at 15:55 +0100, Qais Yousef wrote: > > > On 08/29/19 11:38, Valentin Schneider wrote: > > > > On 29/08/2019 04:15, Jing-Ting Wu wrote: > > > >

Re: [PATCH 1/1] sched/rt: avoid contend with CFS task

2019-09-05 Thread Vincent Guittot
Hi Jing-Ting, On Thu, 5 Sep 2019 at 15:26, Jing-Ting Wu wrote: > > On Fri, 2019-08-30 at 15:55 +0100, Qais Yousef wrote: > > On 08/29/19 11:38, Valentin Schneider wrote: > > > On 29/08/2019 04:15, Jing-Ting Wu wrote: > > > > At original linux design, RT & CFS scheduler are independent. > > > > Cu

Re: [PATCH 1/1] sched/rt: avoid contend with CFS task

2019-09-05 Thread Jing-Ting Wu
On Fri, 2019-08-30 at 15:55 +0100, Qais Yousef wrote: > On 08/29/19 11:38, Valentin Schneider wrote: > > On 29/08/2019 04:15, Jing-Ting Wu wrote: > > > At original linux design, RT & CFS scheduler are independent. > > > Current RT task placement policy will select the first cpu in > > > lowest_mask

Re: [PATCH 1/1] sched/rt: avoid contend with CFS task

2019-08-30 Thread Qais Yousef
On 08/29/19 11:38, Valentin Schneider wrote: > On 29/08/2019 04:15, Jing-Ting Wu wrote: > > At original linux design, RT & CFS scheduler are independent. > > Current RT task placement policy will select the first cpu in > > lowest_mask, even if the first CPU is running a CFS task. > > This may put

Re: [PATCH 1/1] sched/rt: avoid contend with CFS task

2019-08-29 Thread Valentin Schneider
On 29/08/2019 04:15, Jing-Ting Wu wrote: > At original linux design, RT & CFS scheduler are independent. > Current RT task placement policy will select the first cpu in > lowest_mask, even if the first CPU is running a CFS task. > This may put RT task to a running cpu and let CFS task runnable. >