Messages in this thread | | | Date | Tue, 26 Apr 2022 15:40:45 +0100 | Subject | Re: [RFC PATCH v3 0/5] Introduce Cpufreq Active Stats | From | Lukasz Luba <> |
| |
On 4/26/22 09:02, Viresh Kumar wrote: > On 26-04-22, 08:59, Lukasz Luba wrote: >> :) but I didn't dare to make it sysfs. I don't know if anything in >> user-space would be interested (apart from my test scripts). > > Sure, I was talking about hierarchy in debugfs only. Will be useful if > you can show how it looks and what all data is exposed. >
I've created a new way for sharing such thing. Please check the rendered notebook at [1]. You can find raw output of that debugfs at cell 9 or in cell 11 as a dictionary. The residency is in ns. You can also find a diff from two snapshots for all cpus at cell 16. We randomly use Little cpus: 0,3,4,5.
At the bottom you can find plots for all cpus, their active residency at frequencies. Cpu1 and cpu2 are big, cpu2 has been hotplug out so there is an empty plot (which is good).
BTW, if you are interested in comparison of different input power estimation mechanism, you can find them here [2]. There are 4 different power signals. One is real from Juno power/energy meters the rest is SW estimations of avg power for the 100ms period. As you can see there in cell 25 plot, the new proposal in this patch set is better that two previous one used in mainline. The last plot shows real power signal and the new avg signal. The plot is interactive and supports 'Box Zoom' on the right (scroll to right to see that toolbox).
Regards, Lukasz
[1] https://nbviewer.org/github/lukaszluba-arm/lisa/blob/public_tests/ipa_input_power-debugfs.ipynb [2] https://nbviewer.org/github/lukaszluba-arm/lisa/blob/public_tests/ipa_input_power.ipynb
| |