Re: [intel-pstate driver regression] processor frequency very high even if in idle

From: Pandruvada, Srinivas
Date: Wed Mar 30 2016 - 11:33:29 EST


On Wed, 2016-03-30 at 13:05 +0200, Rafael J. Wysocki wrote:
> On Wed, Mar 30, 2016 at 12:17 PM, JÃrg Otte <jrg.otte@xxxxxxxxx>
> wrote:
> >
> > 2016-03-29 23:34 GMT+02:00 Rafael J. Wysocki <rjw@xxxxxxxxxxxxx>:
> > >
> > > On Tuesday, March 29, 2016 07:32:27 PM JÃrg Otte wrote:
> > > >
> > > > 2016-03-29 19:24 GMT+02:00 JÃrg Otte <jrg.otte@xxxxxxxxx>:
> > > > >
> > > > > in v4.5 and earlier intel-pstate downscaled idle processors
> > > > > (load
> > > > > 0.1-0.2%) to minumum frequency, in my case 800MHz.
> > > > >
> > > > > Now in v4.6-rc1 the characteristic has dramatically changed.
> > > > > If in
> > > > > idle the processor frequency is more or less a few MHz around
> > > > > 2500Mhz.
> > > > > This is the maximum non turbo frequency.
> > > > >
> > > > > No difference between powersafe or performance governor.
> > > > >
> > > > > I currently use acpi_cpufreq which works as usual.
> > > > >
> > > > > Processor:
> > > > > Intel(R) Core(TM) i5-4200M CPU @ 2.50GHz (family: 0x6, model:
> > > > > 0x3c,
> > > > > stepping: 0x3)
> > > > >
> > > > > Last known good kernel is: 4.5.0-01127-g9256d5a
> > > > > First known bad kernel is: 4.5.0-02535-g09fd671
> > > > >
> > > > > There is
> > > > > commit 277edba Merge tag 'pm+acpi-4.6-rc1-1' of
> > > > > git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
> > > > > in between, which brought a few changes in intel_pstate.
> > > Can you please check commit a4675fbc4a7a (cpufreq: intel_pstate:
> > > Replace timers
> > > with utilization update callbacks)?
> > >
> > Yes , this solved the problem for me.
> > I had to resolve some conflicts myself when reverting that
> > commit. Hard work :).
> Thanks for doing this.ÂÂCan you please post the revert patch you have
> used?
>
> >
> > Here is a 10-seconds trace of the used frequencies when
> > in "desktop-idle":
> >
> > driverÂÂÂÂÂÂÂÂÂÂcpu0 cpu1 cpu2 cpu3
> > -------------------------------------
> > intel_pstate (ÂÂ800ÂÂ928ÂÂ941 1200) MHzÂÂÂload:( 0.2)%
> > intel_pstate (ÂÂ800ÂÂ928 1181 1800) MHzÂÂÂload:( 0.0)%
> > intel_pstate ( 1675 1576 1347ÂÂ800) MHzÂÂÂload:( 0.0)%
> > intel_pstate ( 1198 1576ÂÂ842ÂÂ800) MHzÂÂÂload:( 0.5)%
> > intel_pstate (ÂÂ800 1181 1113 1600) MHzÂÂÂload:( 0.0)%
> > intel_pstate (ÂÂ808 1181ÂÂ805ÂÂ800) MHzÂÂÂload:( 0.5)%
> > intel_pstate (ÂÂ844 1191ÂÂ900 1082) MHzÂÂÂload:( 0.3)%
> > intel_pstate (ÂÂ816 1191ÂÂ800ÂÂ800) MHzÂÂÂload:( 0.0)%
> > intel_pstate (ÂÂ800ÂÂ905ÂÂ892 1082) MHzÂÂÂload:( 0.2)%
> > intel_pstate (ÂÂ945ÂÂ905 1340ÂÂ800) MHzÂÂÂload:( 0.3)%
> Please also run turbostat with and without your revert patch applied.
I want to reproduce this if I can. Can you give us info about your
setup (Linux distribution, laptop model etc.)?

Thanks,
Srinivas

>
> Thanks,
> Rafael
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pm"
> in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info atÂÂhttp://vger.kernel.org/majordomo-info.html