Re: [PATCH v9 05/10] sched: make scale_rt invariant with frequency

2014-11-26 Thread Morten Rasmussen
On Tue, Nov 25, 2014 at 01:48:02PM +, Vincent Guittot wrote: > On 24 November 2014 at 18:05, Morten Rasmussen > wrote: > > On Mon, Nov 24, 2014 at 02:24:00PM +, Vincent Guittot wrote: > >> On 21 November 2014 at 13:35, Morten Rasmussen > >> wrote: > >> > On Mon, Nov 03, 2014 at

Re: [PATCH v9 05/10] sched: make scale_rt invariant with frequency

2014-11-26 Thread Vincent Guittot
On 26 November 2014 at 06:18, Wanpeng Li wrote: > Hi Vincent, > > On 11/25/14, 9:52 PM, Vincent Guittot wrote: >> >> On 25 November 2014 at 03:24, Wanpeng Li wrote: >>> >>> Hi Vincent, >>> On 11/4/14, 12:54 AM, Vincent Guittot wrote: The average running time of RT tasks is used to

Re: [PATCH v9 05/10] sched: make scale_rt invariant with frequency

2014-11-26 Thread Vincent Guittot
On 26 November 2014 at 06:18, Wanpeng Li kernel...@gmail.com wrote: Hi Vincent, On 11/25/14, 9:52 PM, Vincent Guittot wrote: On 25 November 2014 at 03:24, Wanpeng Li kernel...@gmail.com wrote: Hi Vincent, On 11/4/14, 12:54 AM, Vincent Guittot wrote: The average running time of RT tasks

Re: [PATCH v9 05/10] sched: make scale_rt invariant with frequency

2014-11-26 Thread Morten Rasmussen
On Tue, Nov 25, 2014 at 01:48:02PM +, Vincent Guittot wrote: On 24 November 2014 at 18:05, Morten Rasmussen morten.rasmus...@arm.com wrote: On Mon, Nov 24, 2014 at 02:24:00PM +, Vincent Guittot wrote: On 21 November 2014 at 13:35, Morten Rasmussen morten.rasmus...@arm.com wrote:

Re: [PATCH v9 05/10] sched: make scale_rt invariant with frequency

2014-11-25 Thread Wanpeng Li
Hi Vincent, On 11/25/14, 9:52 PM, Vincent Guittot wrote: On 25 November 2014 at 03:24, Wanpeng Li wrote: Hi Vincent, On 11/4/14, 12:54 AM, Vincent Guittot wrote: The average running time of RT tasks is used to estimate the remaining compute capacity for CFS tasks. This remaining capacity is

Re: [PATCH v9 05/10] sched: make scale_rt invariant with frequency

2014-11-25 Thread Vincent Guittot
On 25 November 2014 at 03:24, Wanpeng Li wrote: > Hi Vincent, > On 11/4/14, 12:54 AM, Vincent Guittot wrote: >> >> The average running time of RT tasks is used to estimate the remaining >> compute >> capacity for CFS tasks. This remaining capacity is the original capacity >> scaled >> down by a

Re: [PATCH v9 05/10] sched: make scale_rt invariant with frequency

2014-11-25 Thread Vincent Guittot
On 24 November 2014 at 18:05, Morten Rasmussen wrote: > On Mon, Nov 24, 2014 at 02:24:00PM +, Vincent Guittot wrote: >> On 21 November 2014 at 13:35, Morten Rasmussen >> wrote: >> > On Mon, Nov 03, 2014 at 04:54:42PM +, Vincent Guittot wrote: >> >> [snip] >> >> >> The average running

Re: [PATCH v9 05/10] sched: make scale_rt invariant with frequency

2014-11-25 Thread Vincent Guittot
On 24 November 2014 at 18:05, Morten Rasmussen morten.rasmus...@arm.com wrote: On Mon, Nov 24, 2014 at 02:24:00PM +, Vincent Guittot wrote: On 21 November 2014 at 13:35, Morten Rasmussen morten.rasmus...@arm.com wrote: On Mon, Nov 03, 2014 at 04:54:42PM +, Vincent Guittot wrote:

Re: [PATCH v9 05/10] sched: make scale_rt invariant with frequency

2014-11-25 Thread Vincent Guittot
On 25 November 2014 at 03:24, Wanpeng Li kernel...@gmail.com wrote: Hi Vincent, On 11/4/14, 12:54 AM, Vincent Guittot wrote: The average running time of RT tasks is used to estimate the remaining compute capacity for CFS tasks. This remaining capacity is the original capacity scaled down

Re: [PATCH v9 05/10] sched: make scale_rt invariant with frequency

2014-11-25 Thread Wanpeng Li
Hi Vincent, On 11/25/14, 9:52 PM, Vincent Guittot wrote: On 25 November 2014 at 03:24, Wanpeng Li kernel...@gmail.com wrote: Hi Vincent, On 11/4/14, 12:54 AM, Vincent Guittot wrote: The average running time of RT tasks is used to estimate the remaining compute capacity for CFS tasks. This

Re: [PATCH v9 05/10] sched: make scale_rt invariant with frequency

2014-11-24 Thread Wanpeng Li
Hi Vincent, On 11/4/14, 12:54 AM, Vincent Guittot wrote: The average running time of RT tasks is used to estimate the remaining compute capacity for CFS tasks. This remaining capacity is the original capacity scaled down by a factor (aka scale_rt_capacity). This estimation of available capacity

Re: [PATCH v9 05/10] sched: make scale_rt invariant with frequency

2014-11-24 Thread Morten Rasmussen
On Mon, Nov 24, 2014 at 02:24:00PM +, Vincent Guittot wrote: > On 21 November 2014 at 13:35, Morten Rasmussen > wrote: > > On Mon, Nov 03, 2014 at 04:54:42PM +, Vincent Guittot wrote: > > [snip] > > >> The average running time of RT tasks is used to estimate the remaining > >> compute

Re: [PATCH v9 05/10] sched: make scale_rt invariant with frequency

2014-11-24 Thread Vincent Guittot
On 21 November 2014 at 13:35, Morten Rasmussen wrote: > On Mon, Nov 03, 2014 at 04:54:42PM +, Vincent Guittot wrote: [snip] >> The average running time of RT tasks is used to estimate the remaining >> compute >> @@ -5801,19 +5801,12 @@ static unsigned long scale_rt_capacity(int cpu) >> >>

Re: [PATCH v9 05/10] sched: make scale_rt invariant with frequency

2014-11-24 Thread Vincent Guittot
On 21 November 2014 at 13:35, Morten Rasmussen morten.rasmus...@arm.com wrote: On Mon, Nov 03, 2014 at 04:54:42PM +, Vincent Guittot wrote: [snip] The average running time of RT tasks is used to estimate the remaining compute @@ -5801,19 +5801,12 @@ static unsigned long

Re: [PATCH v9 05/10] sched: make scale_rt invariant with frequency

2014-11-24 Thread Morten Rasmussen
On Mon, Nov 24, 2014 at 02:24:00PM +, Vincent Guittot wrote: On 21 November 2014 at 13:35, Morten Rasmussen morten.rasmus...@arm.com wrote: On Mon, Nov 03, 2014 at 04:54:42PM +, Vincent Guittot wrote: [snip] The average running time of RT tasks is used to estimate the remaining

Re: [PATCH v9 05/10] sched: make scale_rt invariant with frequency

2014-11-24 Thread Wanpeng Li
Hi Vincent, On 11/4/14, 12:54 AM, Vincent Guittot wrote: The average running time of RT tasks is used to estimate the remaining compute capacity for CFS tasks. This remaining capacity is the original capacity scaled down by a factor (aka scale_rt_capacity). This estimation of available capacity

Re: [PATCH v9 05/10] sched: make scale_rt invariant with frequency

2014-11-21 Thread Morten Rasmussen
On Mon, Nov 03, 2014 at 04:54:42PM +, Vincent Guittot wrote: > The average running time of RT tasks is used to estimate the remaining compute > capacity for CFS tasks. This remaining capacity is the original capacity > scaled > down by a factor (aka scale_rt_capacity). This estimation of

Re: [PATCH v9 05/10] sched: make scale_rt invariant with frequency

2014-11-21 Thread Morten Rasmussen
On Mon, Nov 03, 2014 at 04:54:42PM +, Vincent Guittot wrote: The average running time of RT tasks is used to estimate the remaining compute capacity for CFS tasks. This remaining capacity is the original capacity scaled down by a factor (aka scale_rt_capacity). This estimation of

[PATCH v9 05/10] sched: make scale_rt invariant with frequency

2014-11-03 Thread Vincent Guittot
The average running time of RT tasks is used to estimate the remaining compute capacity for CFS tasks. This remaining capacity is the original capacity scaled down by a factor (aka scale_rt_capacity). This estimation of available capacity must also be invariant with frequency scaling. A frequency

[PATCH v9 05/10] sched: make scale_rt invariant with frequency

2014-11-03 Thread Vincent Guittot
The average running time of RT tasks is used to estimate the remaining compute capacity for CFS tasks. This remaining capacity is the original capacity scaled down by a factor (aka scale_rt_capacity). This estimation of available capacity must also be invariant with frequency scaling. A frequency