On 27-Sep-2013 1:55 AM, "Ryan" <ryanphilips19@googlemail.com> wrote:

>
> Let me understand how the downscaling works in the older sources.
>
> So, you mean that -
>
> 1) Upthreshold = 95%
>     down dif = 5%
>
> so, upthreshold - down diff = 90%
>
> if load is 85% ; cpu downscaling takes place
> if load is 75% ; cpu downscaling takes place
>  and so on.
>
> So everytime for sampling rate period - work queue checks and finds
> the load and downscaling takes place if less than 90%.
>
> What i did not understand is how down diff will make the cpu remain in
> the same range for a longer period.
>
> Am i missing something. could you please give a detailed answer as i
> struggling to understand this.
>
> Thanks for your time.

Since my first mail, I have been travelling by an overnight bus and sending u mail by my phone. And it is still not that easy to type with a phone.

Suppose load is 96, we switch to max freq.. now load toggles between 90 and 100 for some time... i.e. it goes to 90, 91, 92...100... but not below 90..

Then we will not decrease and increase the freq again and again.. but keep running at highest freq..