[PATCH 2/3] powerpc/sysfs: Show idle_purr and idle_spurr for every CPU
Naveen N. Rao
naveen.n.rao at linux.vnet.ibm.com
Wed Feb 5 17:58:49 AEDT 2020
Gautham R Shenoy wrote:
>
>> With repect to lparstat, the read interval is user-specified and just gets
>> passed onto sleep().
>
> Ok. So I guess currently you will be sending smp_call_function every
> time you read a PURR and SPURR. That number will now increase by 2
> times when we read idle_purr and idle_spurr.
Yes, not really efficient. I just wanted to point out that we can't have
stale data being returned if we choose to add another sysfs file.
We should be able to use any other interface too, if you have a
different interface in mind.
- Naveen
More information about the Linuxppc-dev
mailing list