lkml.org 
[lkml]   [2018]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v6 04/11] cpufreq/schedutil: use rt utilization tracking
On Fri, Jun 22, 2018 at 01:37:13PM +0200, Peter Zijlstra wrote:
> I suppose we can make it more complicated, something like:
>
> u u
> f := u + (--- - u) * (---)^n
> 1-r 1-r
>
> Where: u := cfs util
> r := \Sum !cfs util
> f := frequency request
>
> That would still satisfy all criteria I think:
>
> r = 0 -> f := u
> u = (1-r) -> f := 1
>
> and in particular:
>
> u << (1-r) -> f ~= u
>
> which casuses less inflation than the linear thing where there is idle
> time.

Note that for n=0 this last property is lost and we have the initial
linear case back.

\
 
 \ /
  Last update: 2018-06-22 13:45    [W:0.315 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site