Re: [RFC PATCH] Increase in idle power with schedutil
From: Rafael J. Wysocki
Date: Thu May 19 2016 - 10:30:37 EST
On Thu, May 19, 2016 at 1:40 PM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> On Wed, May 18, 2016 at 11:11:51PM +0200, Rafael J. Wysocki wrote:
>> On Wed, May 18, 2016 at 2:53 PM, Shilpasri G Bhat
>> <shilpa.bhat@xxxxxxxxxxxxxxxxxx> wrote:
>> > This patch adds driver callback for fast_switch and below observations
>> > on schedutil governor are done with this patch.
>> >
>> > In POWER8 there is a regression observed with schedutil compared to
>> > ondemand. With schedutil the frequency is not ramping down and is
>> > mostly stuck at max frequency during idle . This is because of the
>> > watchdog timer, an RT task which is fired every 4 seconds which
>> > results in requesting max frequency.
>>
>> Well, yes, that would be problematic.
>>
>
> Right; we need to come up with something for RT tasks;
I think we need the hints thing for that to be able to distinguish
between RT and the rest.
Also in this particular case it looks like an RT task is the only task
that wakes up often enough and we don't drop the frequency when going
idle. Do we need a hook somewhere in the idle path?