* Re: v5.8+ powersave governor breakage?
[not found] ` <59d0b9516ce9a553b1e526c6495ac302f1f73e0d.camel@gmx.de>
@ 2020-11-05 14:31 ` Rafael J. Wysocki
2020-11-05 15:08 ` Mike Galbraith
0 siblings, 1 reply; 4+ messages in thread
From: Rafael J. Wysocki @ 2020-11-05 14:31 UTC (permalink / raw)
To: Mike Galbraith; +Cc: lkml, Peter Zijlstra, Linux PM
On Monday, November 2, 2020 7:18:41 AM CET Mike Galbraith wrote:
> On Sun, 2020-11-01 at 17:23 +0100, Mike Galbraith wrote:
> > Greetings,
> >
> > As you can see in the data below, my i4790 box used to default to the
> > powersave governor despite CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y, and
> > disallowed switching to ondemand.
>
> Ok, my HP lappy running master.today still defaults to powersave, with
> CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL=y, still disallows selecting
> ondemand as before, and powersave still works. IOW for lappy, it was
> business as usual, no change.
OK
> Desktop box did, it gained a working ondemand, while its previously
> working powersave went broke.
Most likely that's because it was handled by intel_pstate in the "active" mode
previously, while it is now handled by it in the "passive" mode (the modes are
described in detail in Documentation/admin-guide/pm/intel_pstate.rst) and the
default governor should be "schedutil".
Which should be slightly better from the functionality perspective.
> Box had schedutil forced upon it, but it
> seems perfectly fine with that performance wise.
Which is the expected outcome (sorry for the confusion).
Cheers!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: v5.8+ powersave governor breakage?
2020-11-05 14:31 ` v5.8+ powersave governor breakage? Rafael J. Wysocki
@ 2020-11-05 15:08 ` Mike Galbraith
2020-11-05 18:02 ` Rafael J. Wysocki
0 siblings, 1 reply; 4+ messages in thread
From: Mike Galbraith @ 2020-11-05 15:08 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: lkml, Peter Zijlstra, Linux PM
On Thu, 2020-11-05 at 15:31 +0100, Rafael J. Wysocki wrote:
> On Monday, November 2, 2020 7:18:41 AM CET Mike Galbraith wrote:
>
> > Desktop box did, it gained a working ondemand, while its previously
> > working powersave went broke.
>
> Most likely that's because it was handled by intel_pstate in the "active" mode
> previously, while it is now handled by it in the "passive" mode...
Perhaps the user interface should then nak switching to powersave as it
used to nak switching to ondemand?
-Mike
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: v5.8+ powersave governor breakage?
2020-11-05 15:08 ` Mike Galbraith
@ 2020-11-05 18:02 ` Rafael J. Wysocki
2020-11-06 1:36 ` Mike Galbraith
0 siblings, 1 reply; 4+ messages in thread
From: Rafael J. Wysocki @ 2020-11-05 18:02 UTC (permalink / raw)
To: Mike Galbraith; +Cc: lkml, Peter Zijlstra, Linux PM
On Thursday, November 5, 2020 4:08:30 PM CET Mike Galbraith wrote:
> On Thu, 2020-11-05 at 15:31 +0100, Rafael J. Wysocki wrote:
> > On Monday, November 2, 2020 7:18:41 AM CET Mike Galbraith wrote:
> >
> > > Desktop box did, it gained a working ondemand, while its previously
> > > working powersave went broke.
> >
> > Most likely that's because it was handled by intel_pstate in the "active" mode
> > previously, while it is now handled by it in the "passive" mode...
>
> Perhaps the user interface should then nak switching to powersave as it
> used to nak switching to ondemand?
It cannot do that if the powersave governor is configured in.
[Essentially, the problem is that the "powersave" thing advertised by
intel_pstate in the "active" mode is not really the powersave governor,
but that is a mistake made in the past and cannot be undone. Sorry about
that.]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: v5.8+ powersave governor breakage?
2020-11-05 18:02 ` Rafael J. Wysocki
@ 2020-11-06 1:36 ` Mike Galbraith
0 siblings, 0 replies; 4+ messages in thread
From: Mike Galbraith @ 2020-11-06 1:36 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: lkml, Peter Zijlstra, Linux PM
On Thu, 2020-11-05 at 19:02 +0100, Rafael J. Wysocki wrote:
> On Thursday, November 5, 2020 4:08:30 PM CET Mike Galbraith wrote:
> > On Thu, 2020-11-05 at 15:31 +0100, Rafael J. Wysocki wrote:
> > > On Monday, November 2, 2020 7:18:41 AM CET Mike Galbraith wrote:
> > >
> > > > Desktop box did, it gained a working ondemand, while its previously
> > > > working powersave went broke.
> > >
> > > Most likely that's because it was handled by intel_pstate in the "active" mode
> > > previously, while it is now handled by it in the "passive" mode...
> >
> > Perhaps the user interface should then nak switching to powersave as it
> > used to nak switching to ondemand?
>
> It cannot do that if the powersave governor is configured in.
>
> [Essentially, the problem is that the "powersave" thing advertised by
> intel_pstate in the "active" mode is not really the powersave governor,
> but that is a mistake made in the past and cannot be undone. Sorry about
> that.]
Hohum. A little unfortunate, but it probably only affects a few aging
boxen like mine, and I now know better that to ever again do that.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-11-06 1:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <580d12716f6363d7404805fd4bc50e2d5ab459b0.camel@gmx.de>
[not found] ` <59d0b9516ce9a553b1e526c6495ac302f1f73e0d.camel@gmx.de>
2020-11-05 14:31 ` v5.8+ powersave governor breakage? Rafael J. Wysocki
2020-11-05 15:08 ` Mike Galbraith
2020-11-05 18:02 ` Rafael J. Wysocki
2020-11-06 1:36 ` Mike Galbraith
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox