← Back to team overview

linaro-pm-wg team mailing list archive

Re: [Bug 1298966] [NEW] cpufreq and cpuidle output is confusing

 

This one is a tough one. I agree that to begin with the simplest approach
is to keep cpufreq and cpuidle stats completely separate. But I'd like to
see this report evolve to where we can have different outputs - idle stats
only, freq stats only and an intersection of idle and freq stats which
tells us what OPP we were running at when we went to some idle state. That
would allow easier correlation of policy tuning to observed behaviour.


On Fri, Mar 28, 2014 at 6:16 PM, Daniel Lezcano
<1298966@xxxxxxxxxxxxxxxxxx>wrote:

> Public bug reported:
>
> The report output is a bit confusing because idle states and the
> available frequencies are mixed.
>
> Both information should be separate as different sub-systems:
>
> Total trace buffer: 1846688 kB
> clusterA@state  hits          total(us)         avg(us) min(us) max(us)
>          POLL   0                  0.00            0.00 0.00    0.00
>          C1-IVB 0                  0.00            0.00 0.00    0.00
>          C1E-VB 0                  0.00            0.00 0.00    0.00
>          C3-IVB 0                  0.00            0.00 0.00    0.00
>          C6-IVB 0                  0.00            0.00 0.00    0.00
>          C7-IVB 0                  0.00            0.00 0.00    0.00
>   core0@state   hits          total(us)         avg(us) min(us) max(us)
>         POLL    0                  0.00            0.00 0.00    0.00
>         C1-IVB  0                  0.00            0.00 0.00    0.00
>         C1E-IVB 0                  0.00            0.00 0.00    0.00
>         C3-IVB  0                  0.00            0.00 0.00    0.00
>         C6-IVB  0                  0.00            0.00 0.00    0.00
>         C7-IVB  1396        87932131.00        62988.63 0.00    320146.00
>     cpu0@state  hits          total(us)         avg(us) min(us) max(us)
>          POLL   0                  0.00            0.00 0.00    0.00
>          C1-IVB 1                 14.00           14.00 14.00   14.00
>          C1E-VB 0                  0.00            0.00 0.00    0.00
>          C3-IVB 1                262.00          262.00 262.00  262.00
>          C6-IVB 0                  0.00            0.00 0.00    0.00
>          C7-IVB 1180        87938177.00        74523.88 1.00    320147.00
>          1701   0                  0.00            0.00 0.00    0.00
>          1700   0                  0.00            0.00 0.00    0.00
>          1600   0                  0.00            0.00 0.00    0.00
>          1500   0                  0.00            0.00 0.00    0.00
>          1400   0                  0.00            0.00 0.00    0.00
>          1300   0                  0.00            0.00 0.00    0.00
>          1200   0                  0.00            0.00 0.00    0.00
>          1100   0                  0.00            0.00 0.00    0.00
>          1000   0                  0.00            0.00 0.00    0.00
>          900    0                  0.00            0.00 0.00    0.00
>          800    0                  0.00            0.00 0.00    0.00
>          782    0                  0.00            0.00 0.00    0.00
>     cpu0 wakeups        name            count
>          irq009 acpi            1
>     cpu1@state  hits          total(us)         avg(us) min(us) max(us)
>          POLL   0                  0.00            0.00 0.00    0.00
>          C1-IVB 0                  0.00            0.00 0.00    0.00
>          C1E-VB 0                  0.00            0.00 0.00    0.00
>          C3-IVB 0                  0.00            0.00 0.00    0.00
>          C6-IVB 0                  0.00            0.00 0.00    0.00
>          C7-IVB 475         87941356.00       185139.70 322.00  1500690.00
>          1701   0                  0.00            0.00 0.00    0.00
>          1700   0                  0.00            0.00 0.00    0.00
>          1600   0                  0.00            0.00 0.00    0.00
>          1500   0                  0.00            0.00 0.00    0.00
>          1400   0                  0.00            0.00 0.00    0.00
>          1300   0                  0.00            0.00 0.00    0.00
>          1200   0                  0.00            0.00 0.00    0.00
>          1100   0                  0.00            0.00 0.00    0.00
>          1000   0                  0.00            0.00 0.00    0.00
>          900    0                  0.00            0.00 0.00    0.00
>          800    0                  0.00            0.00 0.00    0.00
>          782    0                  0.00            0.00 0.00    0.00
>     cpu1 wakeups        name            count
>          irq009 acpi            3
>   core1@state   hits          total(us)         avg(us) min(us) max(us)
>         POLL    0                  0.00            0.00 0.00    0.00
>         C1-IVB  0                  0.00            0.00 0.00    0.00
>         C1E-IVB 0                  0.00            0.00 0.00    0.00
>         C3-IVB  0                  0.00            0.00 0.00    0.00
>         C6-IVB  0                  0.00            0.00 0.00    0.00
>         C7-IVB  0                  0.00            0.00 0.00    0.00
>     cpu2@state  hits          total(us)         avg(us) min(us) max(us)
>          POLL   0                  0.00            0.00 0.00    0.00
>          C1-IVB 11            288157.00        26196.09 16.00   200060.00
>          C1E-VB 6             221601.00        36933.50 79.00   200066.00
>          C3-IVB 0                  0.00            0.00 0.00    0.00
>          C6-IVB 0                  0.00            0.00 0.00    0.00
>          C7-IVB 950         87417466.00        92018.39 19.00   200074.00
>          1701   0                  0.00            0.00 0.00    0.00
>          1700   0                  0.00            0.00 0.00    0.00
>          1600   0                  0.00            0.00 0.00    0.00
>          1500   2                 34.00           17.00 11.00   23.00
>          1400   0                  0.00            0.00 0.00    0.00
>          1300   0                  0.00            0.00 0.00    0.00
>          1200   0                  0.00            0.00 0.00    0.00
>          1100   0                  0.00            0.00 0.00    0.00
>          1000   0                  0.00            0.00 0.00    0.00
>          900    0                  0.00            0.00 0.00    0.00
>          800    0                  0.00            0.00 0.00    0.00
>          782    745            18800.00           25.23 2.00    156.00
>     cpu2 wakeups        name            count
>          irq019 ahci            50
>          irq009 acpi            17
>     cpu3@state  hits          total(us)         avg(us) min(us) max(us)
>          POLL   0                  0.00            0.00 0.00    0.00
>          C1-IVB 0                  0.00            0.00 0.00    0.00
>          C1E-VB 0                  0.00            0.00 0.00    0.00
>          C3-IVB 0                  0.00            0.00 0.00    0.00
>          C6-IVB 0                  0.00            0.00 0.00    0.00
>          C7-IVB 0                  0.00            0.00 0.00    0.00
>          1701   0                  0.00            0.00 0.00    0.00
>          1700   0                  0.00            0.00 0.00    0.00
>          1600   0                  0.00            0.00 0.00    0.00
>          1500   0                  0.00            0.00 0.00    0.00
>          1400   0                  0.00            0.00 0.00    0.00
>          1300   0                  0.00            0.00 0.00    0.00
>          1200   0                  0.00            0.00 0.00    0.00
>          1100   0                  0.00            0.00 0.00    0.00
>          1000   0                  0.00            0.00 0.00    0.00
>          900    0                  0.00            0.00 0.00    0.00
>          800    0                  0.00            0.00 0.00    0.00
>          782    0                  0.00            0.00 0.00    0.00
>     cpu3 wakeups        name            count
>
> ** Affects: linaro-power-idlestat
>      Importance: High
>      Assignee: Zoran Markovic (zoran-markovic-a)
>          Status: New
>
> ** Changed in: linaro-power-idlestat
>      Assignee: (unassigned) => Zoran Markovic (zoran-markovic-a)
>
> ** Changed in: linaro-power-idlestat
>    Importance: Undecided => High
>
> --
> You received this bug notification because you are a member of Linaro
> Power Management Working Group, which is subscribed to Linaro Power
> Idlestat.
> Matching subscriptions: PMWG-idlestat
> https://bugs.launchpad.net/bugs/1298966
>
> Title:
>   cpufreq and cpuidle output is confusing
>
> Status in Idlestat - optimise CPU idling:
>   New
>
> Bug description:
>   The report output is a bit confusing because idle states and the
>   available frequencies are mixed.
>
>   Both information should be separate as different sub-systems:
>
>   Total trace buffer: 1846688 kB
>   clusterA@state        hits          total(us)         avg(us) min(us)
> max(us)
>            POLL 0                  0.00            0.00 0.00    0.00
>            C1-IVB       0                  0.00            0.00 0.00
>  0.00
>            C1E-VB       0                  0.00            0.00 0.00
>  0.00
>            C3-IVB       0                  0.00            0.00 0.00
>  0.00
>            C6-IVB       0                  0.00            0.00 0.00
>  0.00
>            C7-IVB       0                  0.00            0.00 0.00
>  0.00
>     core0@state hits          total(us)         avg(us) min(us) max(us)
>           POLL  0                  0.00            0.00 0.00    0.00
>           C1-IVB        0                  0.00            0.00 0.00
>  0.00
>           C1E-IVB       0                  0.00            0.00 0.00
>  0.00
>           C3-IVB        0                  0.00            0.00 0.00
>  0.00
>           C6-IVB        0                  0.00            0.00 0.00
>  0.00
>           C7-IVB        1396        87932131.00        62988.63 0.00
>  320146.00
>       cpu0@state        hits          total(us)         avg(us) min(us)
> max(us)
>            POLL 0                  0.00            0.00 0.00    0.00
>            C1-IVB       1                 14.00           14.00 14.00
> 14.00
>            C1E-VB       0                  0.00            0.00 0.00
>  0.00
>            C3-IVB       1                262.00          262.00 262.00
>  262.00
>            C6-IVB       0                  0.00            0.00 0.00
>  0.00
>            C7-IVB       1180        87938177.00        74523.88 1.00
>  320147.00
>            1701 0                  0.00            0.00 0.00    0.00
>            1700 0                  0.00            0.00 0.00    0.00
>            1600 0                  0.00            0.00 0.00    0.00
>            1500 0                  0.00            0.00 0.00    0.00
>            1400 0                  0.00            0.00 0.00    0.00
>            1300 0                  0.00            0.00 0.00    0.00
>            1200 0                  0.00            0.00 0.00    0.00
>            1100 0                  0.00            0.00 0.00    0.00
>            1000 0                  0.00            0.00 0.00    0.00
>            900  0                  0.00            0.00 0.00    0.00
>            800  0                  0.00            0.00 0.00    0.00
>            782  0                  0.00            0.00 0.00    0.00
>       cpu0 wakeups      name            count
>            irq009       acpi            1
>       cpu1@state        hits          total(us)         avg(us) min(us)
> max(us)
>            POLL 0                  0.00            0.00 0.00    0.00
>            C1-IVB       0                  0.00            0.00 0.00
>  0.00
>            C1E-VB       0                  0.00            0.00 0.00
>  0.00
>            C3-IVB       0                  0.00            0.00 0.00
>  0.00
>            C6-IVB       0                  0.00            0.00 0.00
>  0.00
>            C7-IVB       475         87941356.00       185139.70 322.00
>  1500690.00
>            1701 0                  0.00            0.00 0.00    0.00
>            1700 0                  0.00            0.00 0.00    0.00
>            1600 0                  0.00            0.00 0.00    0.00
>            1500 0                  0.00            0.00 0.00    0.00
>            1400 0                  0.00            0.00 0.00    0.00
>            1300 0                  0.00            0.00 0.00    0.00
>            1200 0                  0.00            0.00 0.00    0.00
>            1100 0                  0.00            0.00 0.00    0.00
>            1000 0                  0.00            0.00 0.00    0.00
>            900  0                  0.00            0.00 0.00    0.00
>            800  0                  0.00            0.00 0.00    0.00
>            782  0                  0.00            0.00 0.00    0.00
>       cpu1 wakeups      name            count
>            irq009       acpi            3
>     core1@state hits          total(us)         avg(us) min(us) max(us)
>           POLL  0                  0.00            0.00 0.00    0.00
>           C1-IVB        0                  0.00            0.00 0.00
>  0.00
>           C1E-IVB       0                  0.00            0.00 0.00
>  0.00
>           C3-IVB        0                  0.00            0.00 0.00
>  0.00
>           C6-IVB        0                  0.00            0.00 0.00
>  0.00
>           C7-IVB        0                  0.00            0.00 0.00
>  0.00
>       cpu2@state        hits          total(us)         avg(us) min(us)
> max(us)
>            POLL 0                  0.00            0.00 0.00    0.00
>            C1-IVB       11            288157.00        26196.09 16.00
> 200060.00
>            C1E-VB       6             221601.00        36933.50 79.00
> 200066.00
>            C3-IVB       0                  0.00            0.00 0.00
>  0.00
>            C6-IVB       0                  0.00            0.00 0.00
>  0.00
>            C7-IVB       950         87417466.00        92018.39 19.00
> 200074.00
>            1701 0                  0.00            0.00 0.00    0.00
>            1700 0                  0.00            0.00 0.00    0.00
>            1600 0                  0.00            0.00 0.00    0.00
>            1500 2                 34.00           17.00 11.00   23.00
>            1400 0                  0.00            0.00 0.00    0.00
>            1300 0                  0.00            0.00 0.00    0.00
>            1200 0                  0.00            0.00 0.00    0.00
>            1100 0                  0.00            0.00 0.00    0.00
>            1000 0                  0.00            0.00 0.00    0.00
>            900  0                  0.00            0.00 0.00    0.00
>            800  0                  0.00            0.00 0.00    0.00
>            782  745            18800.00           25.23 2.00    156.00
>       cpu2 wakeups      name            count
>            irq019       ahci            50
>            irq009       acpi            17
>       cpu3@state        hits          total(us)         avg(us) min(us)
> max(us)
>            POLL 0                  0.00            0.00 0.00    0.00
>            C1-IVB       0                  0.00            0.00 0.00
>  0.00
>            C1E-VB       0                  0.00            0.00 0.00
>  0.00
>            C3-IVB       0                  0.00            0.00 0.00
>  0.00
>            C6-IVB       0                  0.00            0.00 0.00
>  0.00
>            C7-IVB       0                  0.00            0.00 0.00
>  0.00
>            1701 0                  0.00            0.00 0.00    0.00
>            1700 0                  0.00            0.00 0.00    0.00
>            1600 0                  0.00            0.00 0.00    0.00
>            1500 0                  0.00            0.00 0.00    0.00
>            1400 0                  0.00            0.00 0.00    0.00
>            1300 0                  0.00            0.00 0.00    0.00
>            1200 0                  0.00            0.00 0.00    0.00
>            1100 0                  0.00            0.00 0.00    0.00
>            1000 0                  0.00            0.00 0.00    0.00
>            900  0                  0.00            0.00 0.00    0.00
>            800  0                  0.00            0.00 0.00    0.00
>            782  0                  0.00            0.00 0.00    0.00
>       cpu3 wakeups      name            count
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/linaro-power-idlestat/+bug/1298966/+subscriptions
>
> --
> Mailing list: https://launchpad.net/~linaro-pm-wg
> Post to     : linaro-pm-wg@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~linaro-pm-wg
> More help   : https://help.launchpad.net/ListHelp
>

References