RE: [PATCH 1/1] intel_pstate: Increase hold-off time before busyness is scaled

From: Doug Smythies
Date: Fri Feb 19 2016 - 11:38:52 EST


Hi Steph,

On 2016.02.19 03:12 Stephane Gasparini wrote:
>
> The issue you are reporting looks like one we improved on android by using
> the average pstate instead of using the last requested pstate
>
> We know that this is improving the ffmpeg encoding performance when using the
> load algorithm.
>
> see patch attached
>
> This patch is only applied on get_target_pstate_use_cpu_load however you can give
> it a try on get_target_pstate_use_performance

Yes, that type of patch works on the load based approach.

However, I do not think it works on the performance based approach. Why not?
Well, and if I understand correctly, follow the math and you end up with:

scaled_busy = 100%

scaled_busy = (aperf * 100% / mperf) * (max_pstate / * ((aperf * max_pstate) / mperf))

... Doug