Li, Aubrey wrote:
> Rafael.Vanoni wrote:
> 
>>> 4) check turbo info again
>>> ------------------------------------------------------------
>>> aubrey at aubrey-power:~$ kstat -m speedstep -i 7
>>> module: speedstep                       instance: 7
>>> name:   turbo                           class:    misc
>>>         crtime                          42.052402205
>>>         snaptime                        540.775843325
>>>         turbo acnt                      1108972992925
>>>         turbo mcnt                      1062698922865
>>>         turbo support                   1
>>> ------------------------------------------------------------
>>> It looks like turbo took effect. acnt/mcnt shows 4% performance
>>> boost. 
>>
>> Very nice, Aubrey. Much cleaner implementation.
>>
>> How about adding a kstat item for the actual performance boost?
>>
> 
> Performance boost must be worked out in a sampling period. That
> might be the work which PowerTOP needs to do(based on the kstat
> delta). The two counts of kstat are the sum. So, do you really want to
> add the item for the boost since the system boots?
> 
> Thanks,
> -Aubrey

Ah, ok. I thought those values were a snapshot, not since boot time.

Thanks,
Rafael



Reply via email to