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

From: Srinivas Pandruvada
Date: Thu Mar 31 2016 - 11:10:29 EST


On Thu, 2016-03-31 at 07:39 -0700, Doug Smythies wrote:
> On 2016.03.31 02:24 JÃrg Otte wrote:

Hi JÃrg,

Can you send me your kernel config file?

Thanks,
Srinivas
>
> > jojo@fichte:/sys/devices/system/cpu/cpufreq/policy0$ cat
> > scaling_governor
> > powersave
> >
> > turbostat -i 1 --msr=0x199
> > CPUID(7): No-SGX
> > ÂÂÂÂCPU Avg_MHzÂÂÂBusy% Bzy_MHz TSC_MHzÂÂÂMSR 0x199
> > ÂÂÂÂÂÂ-ÂÂÂÂÂÂ45ÂÂÂÂ1.74ÂÂÂÂ2590ÂÂÂÂ2496ÂÂ0x00000000
> > ÂÂÂÂÂÂ0ÂÂÂÂÂÂ45ÂÂÂÂ1.76ÂÂÂÂ2565ÂÂÂÂ2498ÂÂ0x00000a00
> > ÂÂÂÂÂÂ1ÂÂÂÂÂÂ72ÂÂÂÂ2.84ÂÂÂÂ2548ÂÂÂÂ2496ÂÂ0x00000800
> > ÂÂÂÂÂÂ2ÂÂÂÂÂÂ30ÂÂÂÂ1.11ÂÂÂÂ2661ÂÂÂÂ2496ÂÂ0x00001a00
> > ÂÂÂÂÂÂ3ÂÂÂÂÂÂ33ÂÂÂÂ1.23ÂÂÂÂ2661ÂÂÂÂ2495ÂÂ0x00001a00
> > ÂÂÂÂCPU Avg_MHzÂÂÂBusy% Bzy_MHz TSC_MHzÂÂÂMSR 0x199
> > ÂÂÂÂÂÂ-ÂÂÂÂÂÂÂ9ÂÂÂÂ0.35ÂÂÂÂ2525ÂÂÂÂ2495ÂÂ0x00000000
> > ÂÂÂÂÂÂ0ÂÂÂÂÂÂÂ1ÂÂÂÂ0.04ÂÂÂÂ2735ÂÂÂÂ2495ÂÂ0x00000800
> > ÂÂÂÂÂÂ1ÂÂÂÂÂÂÂ1ÂÂÂÂ0.05ÂÂÂÂ2501ÂÂÂÂ2495ÂÂ0x00000800
> > ÂÂÂÂÂÂ2ÂÂÂÂÂÂ17ÂÂÂÂ0.65ÂÂÂÂ2540ÂÂÂÂ2495ÂÂ0x00001a00
> > ÂÂÂÂÂÂ3ÂÂÂÂÂÂ16ÂÂÂÂ0.64ÂÂÂÂ2501ÂÂÂÂ2495ÂÂ0x00001a00
> > ÂÂÂÂCPU Avg_MHzÂÂÂBusy% Bzy_MHz TSC_MHzÂÂÂMSR 0x199
> > ÂÂÂÂÂÂ-ÂÂÂÂÂÂ11ÂÂÂÂ0.43ÂÂÂÂ2523ÂÂÂÂ2495ÂÂ0x00000000
> > ÂÂÂÂÂÂ0ÂÂÂÂÂÂÂ3ÂÂÂÂ0.11ÂÂÂÂ2631ÂÂÂÂ2495ÂÂ0x00000c00
> > ÂÂÂÂÂÂ1ÂÂÂÂÂÂÂ7ÂÂÂÂ0.27ÂÂÂÂ2524ÂÂÂÂ2495ÂÂ0x00000800
> > ÂÂÂÂÂÂ2ÂÂÂÂÂÂ18ÂÂÂÂ0.72ÂÂÂÂ2527ÂÂÂÂ2495ÂÂ0x00001a00
> > ÂÂÂÂÂÂ3ÂÂÂÂÂÂ15ÂÂÂÂ0.61ÂÂÂÂ2501ÂÂÂÂ2495ÂÂ0x00001a00
>
> Very Interesting.
>
> I would still like to get a trace sample to post process.
> Copied from a previous e-mail:
>
> On an otherwise idle system, do:
>
> # perf record -a --event=power:pstate_sample sleep 300
>
> If pressed for time, your sleep time can be less than 5 minutes,
> but try to get at least 100 seconds.
>
> The resulting perf.data file will be too big to include as an
> on-list attachment, but send it (or them) to me off-list for
> post processing, and I'll report back.
>
> ... Doug
>
>
> --
> 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