On 2011-01-02 06:29, Arjan van de Ven wrote:
> On 12/24/2010 10:27 AM, Török Edwin wrote:
>>
>> - HDA-intel audio is shown as 100% used, no music is playing, tunable
>> shows as good and '/sys/module/snd_hda_intel/parameters/power_save' has
>> the value 1. Kernel bug?
>
> btw I just committed a change that will try to list which processes have
> which device open, and specifically,
> which devices play audio.
> (and then, the audio power is charged to the process that is playing audio)
>
It doesn't show any process using audio, yet it still shows device 100%
used (see attached powertop.html).
I found a hint though, if I try to rmmod all my snd related modules I
get this error:
ERROR: Module snd is in use by thinkpad_acpi.
Well now, acpi is supposed to help save power, not prevent it, right?
But even if I remove thinkpad_acpi powertop still reports 100% usage,
but I can rmmod all the 'snd' devices now.
There's one more hint in dmesg:
input: HDA Digital PCBeep as
/devices/pci0000:00/0000:00:1b.0/input/input13
Could it be this one thats keeping the device busy 100%?
Best regards,
--Edwin
PowerTOP report
System information
| PowerTOP version | 1.96 alpha 2 |
| Kernel version | Linux version 2.6.37-rc7+ (ed...@thunder) (gcc version 4.4.5 20100824 (prerelease) (Debian 4.4.4-11) ) #26 SMP Fri Dec 24 13:58:37 EET 2010 |
| System name | LENOVO 647814G ThinkPad X300 |
| CPU information | 2x Intel(R) Core(TM)2 Duo CPU L7100 @ 1.20GHz |
| OS information | |
Power consumption summary
| Power est. | Usage | Events/s | Category | Description |
| 2.61 W | 7213 pkts/s | | Device | Network interface: eth0 (e1000e) |
| 2.19 W | 30.0% | | Device | Display backlight |
| 1.67 W | 25.2% | 4.8 | Process | /usr/lib/iceweasel/firefox-bin ./powertop.html |
| 600 mW | 100.0% | | Device | SATA disk: SAMSUNG MCCOE64G |
| 500 mW | 100.0% | | Device | Audio codec hwC0D0: Analog Devices |
| 50.1 mW | 0.1% | 4.7 | Process | gnome-terminal |
| 43.9 mW | 0.5% | 2.5 | Process | /usr/bin/X :0 -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7 |
| 39.6 mW | 1.2 ms/s | 8.0 | Timer | tick_sched_timer |
| 23.1 mW | 370.2 µs/s | 5.2 | Interrupt | [14] ide0 |
| 16.9 mW | 72.9 µs/s | 4.1 | Timer | hrtimer_wakeup |
Processor Idle state report
| | |
| C0 polling | 0.0% | | | C0 polling | 0.0% | 0.0 ms |
| C1 | 0.0% | | | C1 | 0.0% | 0.0 ms |
| C2 | 0.8% | | | C2 | 0.0% | 0.3 ms |
| C3 | 85.7% | | | C3 | 74.1% | 29.0 ms |
| | |
| | | | C0 polling | 0.0% | 0.0 ms |
| | | | C1 | 0.0% | 0.0 ms |
| | | | C2 | 1.5% | 11.8 ms |
| | | | C3 | 97.2% | 26.7 ms |
Processor frequency report
| | |
| Turbo Mode | 25.2% | | | Turbo Mode | 25.1% |
| 1200 Mhz | 0.0% | | | 1200 Mhz | 0.0% |
| 800 Mhz | 0.9% | | | 800 Mhz | 0.6% |
| Idle | 73.9% | | | Idle | 74.3% |
| | | |
| | | | Turbo Mode | 0.6% |
| | | | 1200 Mhz | 0.0% |
| | | | 800 Mhz | 0.4% |
| | | | Idle | 99.0% |
Overview of software power consumers
| Power est. | Usage | Wakeups/s | GPU ops/s | Disk IO/s | Category | Description |
| 1.67 W | 252.2 ms/s | 4.7 | | 0.0 ( 0.3) | Process | /usr/lib/iceweasel/firefox-bin ./powertop.html |
| 50.1 mW | 1.0 ms/s | 2.9 | 1.8 | | Process | gnome-terminal |
| 43.9 mW | 5.2 ms/s | 2.5 | | | Process | /usr/bin/X :0 -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7 |
| 39.6 mW | 1.2 ms/s | 8.0 | | | Timer | tick_sched_timer |
| 23.1 mW | 370.2 µs/s | 5.2 | | | Interrupt | [14] ide0 |
| 16.9 mW | 72.9 µs/s | 4.1 | | | Timer | hrtimer_wakeup |
| 16.6 mW | 400.4 µs/s | 3.5 | | | Process | udisks-daemon: polling /dev/hda |
| 14.5 mW | 0.9 ms/s | 2.1 | | | Process | /usr/bin/python -O /usr/share/wicd/daemon/wicd-daemon.py |
| 14.5 mW | 642.6 µs/s | 2.6 | | | Process | /usr/bin/dbus-daemon --system |
| 9.75 mW | 373.7 µs/s | 1.8 | | | Process | /usr/bin/python -O /usr/share/wicd/daemon/monitor.py |
| 9.24 mW | 175.6 µs/s | 2.0 | | | kWork | blk_unplug_work |
| 7.23 mW | 109.5 µs/s | 1.6 | | | Interrupt | [3] net_rx(softirq) |
| 6.40 mW | 12.3 µs/s | 1.6 | | | kWork | intel_idle_update |
| 5.71 mW | 690.5 µs/s | 0.3 | | | Process | wicd |
| 4.88 mW | 171.6 µs/s | 0.9 | | | Process | /usr/sbin/hald |
| 4.71 mW | 116.2 µs/s | 1.0 | | | Process | /usr/lib/upower/upowerd |
| 4.21 mW | 39.9 µs/s | 1.0 | | | Process | /usr/lib/gvfs/gvfs-afc-volume-monitor |
| 3.96 mW | 183.0 µs/s | 0.7 | | | Interrupt | [9] acpi |
| 3.67 mW | 528.9 µs/s | 0.0 | | | Process | powertop --html |
| 3.64 mW | 133.0 µs/s | 0.7 | | | Process | update-notifier |
| 3.26 mW | 16.0 µs/s | 0.8 | | | kWork | i915_gem_retire_work_handler |
| 2.15 mW | 87.0 µs/s | 0.4 | | | Process | avahi-daemon: running [thunder.local] |
| 2.11 mW | 21.6 µs/s | 0.5 | | | kWork | e1000_watchdog_task |
| 2.06 mW | 163.4 µs/s | 0.2 | | | Process | /usr/lib/gnome-settings-daemon/gnome-settings-daemon |
| 2.02 mW | 6.8 µs/s | 0.5 | | | Process | [ksoftirqd/0] |
| 1.96 mW | 28.6 µs/s | 0.4 | | | Interrupt | [43] i915 |
| 1.94 mW | 295.8 µs/s | | | | kWork | do_dbs_timer |
| 1.94 mW | 24.5 µs/s | 0.4 | | | Process | hald-addon-storage: no polling on /dev/hda because it is explicitly disabled |
| 1.62 mW | 157.4 µs/s | 0.1 | | | Process | gnome-power-manager |
| 1.44 mW | 129.7 µs/s | 0.1 | | | Process | udevd --daemon |
| 1.27 mW | 193.6 µs/s | | | | Timer | delayed_work_timer_fn |
| 1.15 mW | 175.2 µs/s | | | | Interrupt | [1] timer(softirq) |
| 1.12 mW | 110.7 µs/s | 0.1 | | | Process | /usr/sbin/kerneloops |
| 1.04 mW | 98.1 µs/s | 0.1 | | | Process | gnome-panel |
| 1.02 mW | 5.3 µs/s | 0.2 | | | Process | [ksoftirqd/1] |
| 950 µW | 144.9 µs/s | | | | Process | [kworker/0:2] |
| 943 µW | 53.5 µs/s | 0.1 | | | Process | /usr/lib/libgconf2-4/gconfd-2 |
| 869 µW | 132.5 µs/s | | | | Interrupt | [0] timer/0 |
| 869 µW | 12.1 µs/s | 0.2 | | | Process | init [2] |
| 849 µW | 129.5 µs/s | | | | Interrupt | [0] timer/1 |
| 775 µW | 118.2 µs/s | | | | Process | ifconfig |
| 763 µW | 116.3 µs/s | | | | Interrupt | [9] RCU(softirq) |
| 611 µW | 2.9 µs/s | 0.1 | | | Timer | watchdog_timer_fn |
| 512 µW | 78.0 µs/s | | | | Process | gnome-session |
| 481 µW | 43.3 µs/s | 0.0 | | | Interrupt | [7] sched(softirq) |
| 470 µW | 11.5 µs/s | 0.1 | | | Process | firefox-bin |
| 428 µW | 5.1 µs/s | 0.1 | | | Process | /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /usr/bin/seahorse-agent --execute gnome-session |
| 401 µW | 0.9 µs/s | 0.1 | | | Process | [watchdog/1] |
| 399 µW | 0.6 µs/s | 0.1 | | | kWork | neigh_periodic_work |
| 378 µW | 57.6 µs/s | | | | Process | nautilus |
| 371 µW | 26.5 µs/s | 0.0 | | | Process | /usr/sbin/console-kit-daemon --no-daemon |
| 351 µW | 53.5 µs/s | | | | Process | nm-applet --sm-disable |
| 340 µW | 51.8 µs/s | | | | Process | [kworker/1:1] |
| 320 µW | 48.8 µs/s | | | | Process | /usr/bin/metacity |
| 312 µW | 47.6 µs/s | | | | Process | bluetooth-applet |
| 308 µW | 46.9 µs/s | | | | Process | /usr/bin/seahorse-agent --execute gnome-session |
| 302 µW | 46.1 µs/s | | | | Process | gnome-screensaver |
| 297 µW | 45.3 µs/s | | | | Process | /usr/lib/evolution/2.30/evolution-alarm-notify |
| 295 µW | 45.0 µs/s | | | | Process | /usr/bin/python /usr/bin/system-config-printer-applet |
| 289 µW | 44.1 µs/s | | | | Process | /usr/bin/python -O /usr/share/wicd/gtk/wicd-client.py |
| 288 µW | 44.0 µs/s | | | | Process | /usr/lib/gnome-disk-utility/gdu-notification-daemon |
| 286 µW | 43.7 µs/s | | | | Process | kerneloops-applet |
| 286 µW | 43.5 µs/s | | | | Process | /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 |
| 253 µW | 38.6 µs/s | | | | Process | /usr/sbin/libvirtd -d |
| 251 µW | 8.1 µs/s | 0.0 | | | Process | rs:main Q:Reg |
| 221 µW | 3.6 µs/s | 0.0 | | | Process | [flush-8:0] |
| 213 µW | 2.3 µs/s | 0.0 | | | Process | /sbin/auditd |
| 206 µW | 1.2 µs/s | 0.0 | | | Process | /sbin/audispd |
| 203 µW | 0.8 µs/s | 0.0 | | | Process | [watchdog/0] |
| 200 µW | 0.4 µs/s | 0.0 | | | Process | [sync_supers] |
| 161 µW | 24.6 µs/s | | | | Interrupt | [45] eth0 |
| 148 µW | 22.6 µs/s | | | | Process | [kworker/u:1] |
| 117 µW | 17.8 µs/s | | | | Timer | blk_unplug_timeout |
| 0 mW | 10.0 µs/s | | | | kWork | vmstat_update |
| 0 mW | 9.9 µs/s | | | | Timer | intel_gpu_idle_timer |
| 0 mW | 9.1 µs/s | | | | Process | /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 8 --session |
| 0 mW | 7.3 µs/s | | | | Timer | i915_hangcheck_elapsed |
| 0 mW | 1.5 µs/s | | | | Timer | igmp_timer_expire |
| 0 mW | 1.2 µs/s | | | | Process | [migration/1] |
| 0 mW | 1.1 µs/s | | | | Timer | e1000_watchdog |
| 0 mW | 1.1 µs/s | | | | Timer | dev_watchdog |
| 0 mW | 0.9 µs/s | | | | Timer | sched_rt_period_timer |
| 0 mW | 0.6 µs/s | | | | Process | [migration/0] |
| 0 mW | 0.5 µs/s | | | | Interrupt | [2] net tx(softirq) |
| 0 mW | 0.5 µs/s | | | | Timer | neigh_timer_handler |
| 0 mW | 0.3 µs/s | | | | Timer | laptop_mode_timer_fn |
| 0 mW | 0.2 µs/s | | | | Timer | sync_supers_timer_fn |
| 0 mW | 0.1 µs/s | | | | Timer | tcp_write_timer |
| 0 mW | 0.1 µs/s | | | | Timer | tcp_delack_timer |
| 0 mW | 0.1 µs/s | | | | Timer | blk_rq_timed_out_timer |
Process device activity
| Process | Device |
| init | /dev/initctl |
| udevd | /dev/.udev/queue.bin |
| acpi_fakekeyd | /dev/input/uinput |
| rsyslogd | /dev/xconsole |
| hald-addon-inpu | /dev/input/event9 |
| /dev/input/event0 |
| /dev/input/event2 |
| /dev/input/event3 |
| /dev/input/event1 |
| /dev/input/event6 |
| /dev/input/event4 |
| /dev/input/event11 |
| bluetoothd | /dev/rfkill |
| Xorg | /dev/input/event11 |
| /dev/input/event9 |
| /dev/input/event8 |
| /dev/input/event7 |
| /dev/input/event4 |
| /dev/input/event6 |
| /dev/input/event1 |
| /dev/input/event3 |
| /dev/input/event2 |
| /dev/dri/card0 |
| /dev/vga_arbiter |
| upowerd | /dev/input/event0 |
| /dev/network_latency |
| /dev/cpu_dma_latency |
| bluetooth-apple | /dev/rfkill |
Device power report
The battery reports a discharge rate of 12.7 W
System baseline power is estimated at 100 W
| Power est. | Usage | Device name |
| 2.61 W | 7213 pkts/s | Network interface: eth0 (e1000e) |
| 2.19 W | 30.0% | Display backlight |
| 1.97 W | 26.8% | CPU use |
| 600 mW | 100.0% | SATA disk: SAMSUNG MCCOE64G |
| 500 mW | 100.0% | Audio codec hwC0D0: Analog Devices |
| 31.9 mW | 1.8 ops/s | GPU |
| 0 mW | 1863 rpm | Laptop fan |
| 0 mW | 0.0 pkts/s | Network interface: wlan0 (iwlagn) |
| 0 mW | 0.0% | Radio device: thinkpad_acpi |
| 0 mW | 0.0% | Radio device: iwlagn |
| 0 mW | 0.0% | USB device: EHCI Host Controller |
| 0 mW | 0.0% | USB device: EHCI Host Controller |
| 0 mW | 0.0% | USB device: UHCI Host Controller |
| 0 mW | 0.0% | USB device: UHCI Host Controller |
| 0 mW | 0.0% | USB device: UHCI Host Controller |
| 0 mW | 0.0% | USB device: UHCI Host Controller |
| 0 mW | 0.0% | USB device: UHCI Host Controller |
| 0 mW | 0.0% | USB device: Chicony Electronics Co., Ltd. |
| 0 mW | 0.0% | USB device: Biometric Coprocessor (STMicroelectronics) |
| | 100.0% | PCI Device: Intel Corporation 82801H (ICH8 Family) SMBus Controller |
| | 100.0% | PCI Device: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection |
| | 100.0% | PCI Device: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller |
| | 100.0% | PCI Device: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller |
| | 100.0% | PCI Device: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 |
| | 100.0% | PCI Device: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 |
| | 100.0% | PCI Device: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 |
| | 100.0% | PCI Device: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 |
| | 100.0% | PCI Device: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 |
| | 100.0% | PCI Device: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 |
| | 100.0% | PCI Device: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 |
| | 100.0% | PCI Device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller |
| | 100.0% | PCI Device: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 |
| | 100.0% | PCI Device: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 |
| | 100.0% | PCI Device: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 |
| | 100.0% | PCI Device: Intel Corporation 82566MM Gigabit Network Connection |
| | 100.0% | PCI Device: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller |
| | 100.0% | PCI Device: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub |
| | 0.0% | SATA link: host2 |
| | 0.0% | SATA link: host1 |
Software settings in need of tuning
| Wireless Power Saving for interface wlan0 |
Untunable software issues
| PCI Device Intel Corporation Mobile GM965/GL960 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 82801HBM (ICH8M-E) LPC Interface Controller has no runtime power management |
Optimal tuned software settings
| Enable Audio codec power management |
| Enable SATA link power management for /dev/sda |
| VM writeback timeout |
| Autosuspend for USB device EHCI Host Controller [usb1] |
| Autosuspend for USB device Chicony Electronics Co., Ltd. [2-5] |
| Autosuspend for USB device UHCI Host Controller [usb3] |
| Autosuspend for USB device UHCI Host Controller [usb4] |
| Autosuspend for USB device UHCI Host Controller [usb5] |
| Autosuspend for USB device UHCI Host Controller [usb6] |
| Autosuspend for USB device UHCI Host Controller [usb7] |
| Autosuspend for USB device Biometric Coprocessor (STMicroelectronics) |
| Autosuspend for USB device EHCI Host Controller [usb2] |
| Runtime PM for PCI Device Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub |
| Runtime PM for PCI Device Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller |
| Runtime PM for PCI Device Intel Corporation 82566MM Gigabit Network Connection |
| Runtime PM for PCI Device Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 |
| Runtime PM for PCI Device Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 |
| Runtime PM for PCI Device Intel Corporation 82801H (ICH8 Family) HD Audio Controller |
| Runtime PM for PCI Device Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 |
| Runtime PM for PCI Device Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 |
| Runtime PM for PCI Device Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 |
| Runtime PM for PCI Device Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 |
| Runtime PM for PCI Device Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 |
| Runtime PM for PCI Device Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 |
| Runtime PM for PCI Device Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 |
| Runtime PM for PCI Device Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller |
| Runtime PM for PCI Device Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller |
| Runtime PM for PCI Device Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 |
| Runtime PM for PCI Device Intel Corporation 82801H (ICH8 Family) SMBus Controller |
| Runtime PM for PCI Device Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection |
| Wake-on-lan status for device eth0 |
| Using 'ondemand' cpufreq governor |
_______________________________________________
Power mailing list
[email protected]
http://www.bughost.org/mailman/listinfo/power