Hello,
I think I've read about this issue somehwere before, but couldn't find it
anymore.
I compile Powertop master from git on Debian Squeeze @ 2.6.38 backport.
The old powertop (1.13) shows correct cpu frequency statistics:
Cn Avg residency P-states (frequencies)
C0 (cpu running) ( 0.0%) 2.27 Ghz 1.8%
polling 0.0ms ( 0.0%) 2.00 Ghz 1.6%
C1 halt 0.3ms ( 0.3%) 1.87 Ghz 1.8%
C2 mwait 5.7ms ( 2.0%) 1.73 Ghz 1.8%
C3 mwait 8.1ms (104.2%) 1197 Mhz 91.8%
The new powertop (master) shows incorrect cpu frequency statistics:
Package | Core | CPU 0
| | Actual 1427 Mhz
2.80 Ghz 0.1% | 2.80 Ghz 0.0% | 2.80 Ghz 0.0%
2.67 Ghz 0.0% | 2.67 Ghz 0.0% | 2.67 Ghz 0.0%
2.53 Ghz 0.0% | 2.53 Ghz 0.0% | 2.53 Ghz 0.0%
2.40 Ghz 0.0% | 2.40 Ghz 0.0% | 2.40 Ghz 0.0%
2.27 Ghz 0.0% | 2.27 Ghz 0.0% | 2.27 Ghz 0.0%
2.13 Ghz 0.0% | 2.13 Ghz 0.0% | 2.13 Ghz 0.0%
2.00 Ghz 0.0% | 2.00 Ghz 0.0% | 2.00 Ghz 0.0%
1.87 Ghz 0.0% | 1.87 Ghz 0.0% | 1.87 Ghz 0.0%
1.73 Ghz 0.0% | 1.73 Ghz 0.0% | 1.73 Ghz 0.0%
1197 Mhz 0.3% | 1197 Mhz 0.0% | 1197 Mhz 0.0%
| Core | CPU 1
| | Actual 1353 Mhz
| 2.80 Ghz 0.1% | 2.80 Ghz 0.1%
| 2.67 Ghz 0.0% | 2.67 Ghz 0.0%
| 2.53 Ghz 0.0% | 2.53 Ghz 0.0%
| 2.40 Ghz 0.0% | 2.40 Ghz 0.0%
| 2.27 Ghz 0.0% | 2.27 Ghz 0.0%
| 2.13 Ghz 0.0% | 2.13 Ghz 0.0%
| 2.00 Ghz 0.0% | 2.00 Ghz 0.0%
| 1.87 Ghz 0.0% | 1.87 Ghz 0.0%
| 1.73 Ghz 0.0% | 1.73 Ghz 0.0%
| 1197 Mhz 0.3% | 1197 Mhz 0.3%
The idle stats look like they might be oke:
Package | Core | CPU 0
| | C0 active 1.2%
| | POLL 0.0% 0.0 ms
| | C1 1.8% 0.7 ms
| | C2 1.0% 1.3 ms
C3 (pc3) 1.1% | C3 (cc3) 1.1% | C3 95.0% 6.2 ms
C6 (pc6) 93.0% | C6 (cc6) 94.1% |
| Core | CPU 1
| | C0 active 0.3%
| | POLL 0.0% 0.0 ms
| | C1 0.2% 0.8 ms
| | C2 0.3% 1.5 ms
| C3 (cc3) 0.3% | C3 99.1% 7.8 ms
| C6 (cc6) 98.4% |
I am on
root@NAS2:/home/powertop2.0/src# uname -r
2.6.38-bpo.2-amd64
root@NAS2:/home/powertop2.0/src# dpkg -l cpufrequtils
ii cpufrequtils 007-1
utilities to deal with the cpufreq Linux kernel feature
Do you need any more info?
Valentijn
_______________________________________________
Power mailing list
[email protected]
https://bughost.org/mailman/listinfo/power