On 18/06/11 08:41, Peter Hüwe wrote:
Am Donnerstag 16 Juni 2011, 09:56:20 schrieb Brad Campbell:
On 14/06/11 22:22, Brad Campbell wrote:
So it turns out that there is no direct way to enable CONFIG_TRACING. If
you have perf enabled then powertop won't spit out the diagnostic message
telling you to enable both perf and trace. After an hour of rooting
through Kconfig files, I finally figured out the quickest way to enable
TRACING was in the Kernel hacking menu ; Tracers (CONFIG_FTRACE) ; Kernel
Function Tracer (CONFIG_FUNCTION_TRACER), which selects GENERIC_TRACER
which in turn selects CONFIG_TRACING.
Did I miss something obvious in the docs?
Regards,
Brad
Yeah it seems you have to enable CONFIG_FTRACE.
So maybe powertop should suggest this one in the first place?
@Edwin and Brad: Thanks for finding this out - I'll send a patch that spits
out the message if access to /sys/kernel/debug/tracing/events fails.
Now I've attached my powertop.html file so you can see what I'm on about.
The old powertop used to identify wakeups to processes. Mine just gives me loads of timers with no
process data attached. Is there some other config entry I was supposed to enable for it to output
meaningful data?
Just in case it's important, I'm using a 32bit userspace on a 64bit kernel.
Regards,
Brad
--
Dolphins are so intelligent that within a few weeks they can
train Americans to stand at the edge of the pool and throw them
fish.
PowerTOP report
System information
| PowerTOP version | 1.98 beta 1 |
| Kernel version | Linux version 3.0.0-rc3-64+ (brad@bklaptop) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #2 SMP Fri Jun 17 20:10:10 WST 2011 |
| System name | Sony Corporation VAIO J003FD3S |
| CPU information | 2x Intel(R) Core(TM)2 Duo CPU U9300 @ 1.20GHz |
| OS information | |
Power consumption summary
376.9 wakeups/second, 0.0 GPU ops/second, 0.0 VFS ops/sec, 67.0 GFX wakes/sec and 1372682.5% CPU use
| Usage | Events/s | Category | Description |
| 215152% | 0.00 | Timer | |
| 85485% | 0.00 | Timer | |
| 42820% | 0.00 | Timer | |
| 42807% | 0.00 | Timer | |
| 42799% | 0.00 | Timer | |
| 42799% | 0.00 | Timer | |
| 42793% | 0.00 | Timer | |
| 42789% | 0.00 | Timer | |
| 42779% | 0.00 | Timer | |
| 42775% | 0.00 | Timer | |
Processor Idle state report
| | |
| POLL | 0.0% | | | POLL | 0.0% | 0.2 ms |
| C1 | 58.7% | | | C1 | 59.6% | 1.5 ms |
| C2 | 1.7% | | | C2 | 1.3% | 1.4 ms |
| C3 | 22.1% | | | C3 | 20.5% | 1.6 ms |
| | |
| | | | POLL | 0.0% | 1.8 ms |
| | | | C1 | 57.9% | 1.8 ms |
| | | | C2 | 2.2% | 2.3 ms |
| | | | C3 | 23.6% | 1.9 ms |
Processor frequency report
| | |
| Turbo Mode | 0.0% | | | Turbo Mode | 0.0% |
| 1200 Mhz | 0.0% | | | 1200 Mhz | 0.0% |
| 800 Mhz | 0.0% | | | 800 Mhz | 0.0% |
| Idle | 100.0% | | | Idle | 100.0% |
| | | |
| | | | Turbo Mode | 0.0% |
| | | | 1200 Mhz | 0.0% |
| | | | 800 Mhz | 0.0% |
| | | | Idle | 100.0% |
Overview of software power consumers
| Usage | Wakeups/s | GPU ops/s | Disk IO/s | GFX Wakeups/s | Category | Description |
| 2151528 ms/s | | | | | Timer | |
| 854855 ms/s | | | | | Timer | |
| 428203 ms/s | | | | | Timer | |
| 428077 ms/s | | | | | Timer | |
| 427991 ms/s | | | | | Timer | |
| 427991 ms/s | | | | | Timer | |
| 427934 ms/s | | | | | Timer | |
| 427898 ms/s | | | | | Timer | |
| 427798 ms/s | | | | | Timer | |
| 427752 ms/s | | | | | Timer | |
| 427698 ms/s | 0.05 | | | | Timer | |
| 427598 ms/s | 0.05 | | | | Timer | |
| 427550 ms/s | 0.05 | | | | Timer | |
| 427537 ms/s | 0.05 | | | | Timer | |
| 427492 ms/s | 0.05 | | | | Timer | |
| 427481 ms/s | 0.05 | | | | Timer | |
| 427436 ms/s | | | | | Timer | |
| 427398 ms/s | 0.05 | | | | Timer | |
| 427398 ms/s | | | | | Timer | |
| 427376 ms/s | 0.05 | | | | Timer | |
| 427351 ms/s | 0.05 | | | | Timer | |
| 427343 ms/s | 0.05 | | | | Timer | |
| 427310 ms/s | 0.05 | | | | Timer | |
| 427305 ms/s | | | | | Timer | |
| 427272 ms/s | 0.05 | | | | Timer | |
| 427260 ms/s | | | | | Timer | |
| 427216 ms/s | 0.05 | | | | Timer | |
| 1044 ms/s | | | | | Timer | |
| 805.4 ms/s | 0.4 | | | | kWork | |
| 599.7 ms/s | | | | | Timer | |
| 549.7 ms/s | 0.05 | | | | Timer | |
| 499.8 ms/s | | | | | Timer | |
| 499.5 ms/s | | | | | Timer | |
| 400.4 ms/s | | | | | Timer | |
| 399.9 ms/s | | | | | Timer | |
| 399.8 ms/s | | | | | Timer | |
| 399.7 ms/s | | | | | Timer | |
| 399.5 ms/s | | | | | Timer | |
| 53.2 ms/s | 126.2 | | | 14.3 | Process | |
| 343.9 ms/s | | | | | Timer | |
| 299.9 ms/s | | | | | Timer | |
| 299.9 ms/s | | | | | Timer | |
| 299.7 ms/s | | | | | Timer | |
| 299.6 ms/s | | | | | Timer | |
| 251.9 ms/s | | | | | Timer | |
| 249.8 ms/s | 0.05 | | | | Timer | |
| 249.9 ms/s | | | | | Timer | |
| 249.8 ms/s | | | | | Timer | |
| 249.8 ms/s | | | | | Timer | |
| 249.2 ms/s | | | | | Timer | |
| 245.5 ms/s | 0.05 | | | | Timer | |
| 222.7 ms/s | | | | | Timer | |
| 200.3 ms/s | | | | | Timer | |
| 200.0 ms/s | 0.05 | | | | Timer | |
| 199.9 ms/s | 0.05 | | | | Timer | |
| 199.8 ms/s | 0.05 | | | | Timer | |
| 199.9 ms/s | | | | | Timer | |
| 199.8 ms/s | | | | | Timer | |
| 199.7 ms/s | | | | | Timer | |
| 199.6 ms/s | | | | | Timer | |
| 186.5 ms/s | 0.05 | | | | Timer | |
| 160.0 ms/s | | | | | Timer | |
| 150.0 ms/s | 0.05 | | | | Timer | |
| 150.0 ms/s | | | | | Timer | |
| 149.9 ms/s | | | | | Timer | |
| 149.9 ms/s | | | | | Timer | |
| 149.9 ms/s | | | | | Timer | |
| 149.8 ms/s | | | | | Timer | |
| 149.8 ms/s | | | | | Timer | |
| 149.1 ms/s | | | | | Timer | |
| 25.3 ms/s | 35.0 | | | 52.6 | Process | |
| 138.7 ms/s | | | | | Timer | |
| 122.6 ms/s | 0.05 | | | | Timer | |
| 101.3 ms/s | 0.05 | | | | Timer | |
| 100.8 ms/s | | | | | Timer | |
| 100.3 ms/s | | | | | Timer | |
| 100.3 ms/s | | | | | Timer | |
| 100.0 ms/s | 0.05 | | | | Timer | |
| 99.9 ms/s | 0.05 | | | | Timer | |
| 99.9 ms/s | 0.05 | | | | Timer | |
| 100.0 ms/s | | | | | Timer | |
| 99.9 ms/s | 0.05 | | | | Timer | |
| 99.9 ms/s | 0.05 | | | | Timer | |
| 100.0 ms/s | | | | | Timer | |
| 99.8 ms/s | 0.05 | | | | Timer | |
| 100.0 ms/s | | | | | Timer | |
| 99.8 ms/s | 0.05 | | | | Timer | |
| 99.9 ms/s | | | | | Timer | |
| 99.9 ms/s | | | | | Timer | |
| 99.9 ms/s | | | | | Timer | |
| 99.9 ms/s | | | | | Timer | |
| 99.9 ms/s | | | | | Timer | |
| 99.9 ms/s | | | | | Timer | |
| 99.9 ms/s | | | | | Timer | |
| 99.9 ms/s | | | | | Timer | |
| 99.7 ms/s | 0.05 | | | | Timer | |
| 99.9 ms/s | | | | | Timer | |
| 99.8 ms/s | | | | | Timer | |
| 99.8 ms/s | | | | | Timer | |
| 99.8 ms/s | | | | | Timer | |
Process device activity
| Process | Device |
| init | /dev/null (deleted) |
| /dev/null (deleted) |
| /dev/null (deleted) |
| acpid | /dev/input/event7 |
| /dev/input/event1 |
| /dev/input/event0 |
| openvpn | /dev/net/tun |
| /dev/net/tun |
| /dev/net/tun |
| Xorg | /dev/input/event5 |
| /dev/input/event2 |
| /dev/input/event8 |
| /dev/input/event0 |
| /dev/input/event3 |
| /dev/input/event7 |
| /dev/input/event6 |
| /dev/dri/card0 |
| /dev/vga_arbiter |
| upowerd | /dev/input/event1 |
| /dev/network_latency |
| /dev/cpu_dma_latency |
| sonypid | /dev/sonypi |
| pulseaudio | /dev/snd/pcmC0D0p |
| /dev/snd/controlC0 |
| /dev/snd/controlC0 |
| /dev/snd/controlC0 |
| blueman-applet | /dev/rfkill |
| hald-addon-inpu | /dev/input/event11 |
| /dev/input/event1 |
| /dev/input/event7 |
| /dev/input/event3 |
| /dev/input/event0 |
| /dev/input/event8 |
| /dev/input/event2 |
| /dev/input/event4 |
Device power report
| Usage | Device name |
| 1372682% | CPU use |
| 27.9% | Audio codec hwC0D0: Realtek (pulseaudio ) |
| 0.0 pkts/s | nic:tun1 |
| 0.0 pkts/s | nic:tun0 |
| 0.0 pkts/s | nic:tun2 |
| 100.0% | USB device: UHCI Host Controller |
| 87.5% | Display backlight |
| 0.0% | USB device: UHCI Host Controller |
| 0.0% | USB device: UHCI Host Controller |
| 0.0% | USB device: UHCI Host Controller |
| 0.0% | Audio codec hwC0D2: Intel |
| 0.0 pkts/s | Network interface: eth0 (e1000e) |
| 182.7 pkts/s | Network interface: wlan0 (iwlagn) |
| 100.0% | PCI Device: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 |
| 100.0% | PCI Device: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 |
| 100.0% | PCI Device: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 |
| 100.0% | PCI Device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller |
| 100.0% | PCI Device: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 |
| 100.0% | PCI Device: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 |
| 100.0% | PCI Device: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 |
| 100.0% | PCI Device: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 |
| 100.0% | PCI Device: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 |
| 100.0% | PCI Device: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 |
| 100.0% | PCI Device: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 |
| 100.0% | PCI Device: Intel Corporation ICH9M/M-E SATA AHCI Controller |
| 100.0% | PCI Device: Intel Corporation Wireless WiFi Link 5100 |
| 100.0% | PCI Device: Ricoh Co Ltd RL5c476 II |
| 100.0% | PCI Device: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter |
| 100.0% | PCI Device: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter |
| 100.0% | PCI Device: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 |
| 100.0% | PCI Device: Intel Corporation 82567LM Gigabit Network Connection |
| 100.0% | PCI Device: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller |
| 100.0% | PCI Device: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub |
| 100.0% | USB device: EHCI Host Controller |
| 100.0% | Radio device: iwlagn |
| 100.0% | Radio device: Sony Notebook Control Driver |
| 100.0% | USB device: Fingerprint Sensor (TouchStrip ) |
| 100.0% | USB device: Ricoh co. Ltd. |
| 0.0 pkts/s | nic:tun3 |
| 0.0% | USB device: EHCI Host Controller |
| 0.0 pkts/s | nic:dummy0 |
| 0.0% | Radio device: Sony Notebook Control Driver |
| 0.0% | Audio codec hwC0D1: Conexant |
| 0.0% | USB device: UHCI Host Controller |
| 0.0% | USB device: UHCI Host Controller |
Software settings in need of tuning
| Wireless Power Saving for interface wlan0 |
| Enable Audio codec power management |
| Enable SATA link power management for /dev/sda |
| Power Aware CPU scheduler |
| Autosuspend for USB device Fingerprint Sensor [TouchStrip ] |
| Runtime PM for PCI Device Intel Corporation Mobile 4 Series Chipset Memory Controller Hub |
| Runtime PM for PCI Device Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller |
| Runtime PM for PCI Device Intel Corporation 82567LM Gigabit Network Connection |
| Runtime PM for PCI Device Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 |
| Runtime PM for PCI Device Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 |
| Runtime PM for PCI Device Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 |
| Runtime PM for PCI Device Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 |
| Runtime PM for PCI Device Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter |
| Runtime PM for PCI Device Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter |
| Runtime PM for PCI Device Ricoh Co Ltd RL5c476 II |
| Runtime PM for PCI Device Intel Corporation Wireless WiFi Link 5100 |
| Runtime PM for PCI Device Intel Corporation ICH9M/M-E SATA AHCI Controller |
| Runtime PM for PCI Device Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 |
| Runtime PM for PCI Device Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 |
| Runtime PM for PCI Device Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 |
| Runtime PM for PCI Device Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 |
| Runtime PM for PCI Device Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 |
| Runtime PM for PCI Device Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 |
| Runtime PM for PCI Device Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 |
| Runtime PM for PCI Device Intel Corporation 82801I (ICH9 Family) HD Audio Controller |
| Wake-on-lan status for device eth0 |
Untunable software issues
| PCI Device Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller has no runtime power management |
| PCI Device Intel Corporation 82801 Mobile PCI Bridge has no runtime power management |
| PCI Device Intel Corporation ICH9M-E LPC Interface Controller has no runtime power management |
| PCI Device Intel Corporation 82801I (ICH9 Family) SMBus Controller has no runtime power management |
| PCI Device Ricoh Co Ltd R5C832 IEEE 1394 Controller has no runtime power management |
Optimal tuned software settings
| VM writeback timeout |
| Autosuspend for USB device Ricoh co. Ltd. [1-2] |
| Autosuspend for USB device UHCI Host Controller [usb7] |
| Autosuspend for USB device UHCI Host Controller [usb8] |
| Autosuspend for USB device UHCI Host Controller [usb5] |
| Autosuspend for USB device UHCI Host Controller [usb6] |
| Autosuspend for USB device UHCI Host Controller [usb3] |
| Autosuspend for USB device UHCI Host Controller [usb4] |
| Autosuspend for USB device EHCI Host Controller [usb1] |
| Autosuspend for USB device EHCI Host Controller [usb2] |
| Wake-on-lan status for device dummy0 |
| Wake-on-lan status for device tun2 |
| Wake-on-lan status for device tun0 |
| Wake-on-lan status for device tun1 |
| Wake-on-lan status for device wlan0 |
| Wake-on-lan status for device tun3 |
| Using 'ondemand' cpufreq governor |
_______________________________________________
Power mailing list
[email protected]
https://bughost.org/mailman/listinfo/power