[vdr] power consumption, powertop and wakups per second with a af9015 device, vp7045, and various plugins

Heinrich Langos henrik-vdr at prak.org
Sun Mar 22 18:43:38 CET 2009


Here's the powertop output for the siemens stick in various situations:

cheers
-henrik


---------------------------- running zap to tune into a channel 
---------------------------- and transfer the TS over USB

     PowerTOP version 1.10      (C) 2007 Intel Corporation                                                                                                             

Cn                Avg residency       P-states (frequencies)
C0 (cpu running)        ( 5.8%)          750 Mhz     0.0%
polling           0.0ms ( 0.0%)          563 Mhz     0.0%
C1 halt           0.0ms ( 0.0%)          375 Mhz     0.0%
C2                0.1ms ( 0.0%)          188 Mhz   100.0%
C3                1.9ms (94.2%)

Wakeups-from-idle per second : 486.1    interval: 10.0s                                                                                                                
no ACPI power usage estimate available

Top causes for wakeups:
  55.3% (598.2)   USB device  5-1 : DVB-T 2 (Afatech) 
  42.8% (462.3)       <interrupt> : uhci_hcd:usb1, ehci_hcd:usb5, HDA Intel 
   0.5% (  5.6)               zap : schedule_timeout (process_timeout)
   0.2% (  2.3)          events/0 : schedule_timeout (process_timeout)
   0.2% (  2.2)             khubd : queue_delayed_work (delayed_work_timer_fn)
   0.2% (  2.0)           xfsaild : schedule_timeout (process_timeout)
   0.2% (  2.0)    kdvb-ad-0-fe-0 : schedule_timeout (process_timeout)
   0.2% (  1.8)           xfsbufd : schedule_timeout (process_timeout)
   0.1% (  1.0)               zap : do_nanosleep (hrtimer_wakeup)
   0.1% (  1.0)          ifconfig : b44_open (b44_timer)
   0.0% (  0.5)     <kernel core> : neigh_table_init_no_netlink (neigh_periodic_timer)
   0.0% (  0.5)     <kernel core> : schedule_delayed_work_on (delayed_work_timer_fn)
   0.0% (  0.3)   <kernel module> : neigh_table_init_no_netlink (neigh_periodic_timer)
   0.0% (  0.2)       <interrupt> : uhci_hcd:usb3, eth0
   0.0% (  0.2)              init : schedule_timeout (process_timeout)
   0.0% (  0.2)     <kernel core> : __netdev_watchdog_up (dev_watchdog)
   0.0% (  0.2)          runsvdir : schedule_timeout (process_timeout)
   0.0% (  0.1)            screen : do_setitimer (it_real_fn)
   0.0% (  0.1)   <kernel module> : <f8b4191b> (inet_frag_secret_rebuild)
   0.0% (  0.1)     <kernel core> : addrconf_verify (addrconf_verify)
   0.0% (  0.1)              nmbd : schedule_timeout (process_timeout)

Suggestion: Enable USB autosuspend by pressing the U key or adding
usbcore.autosuspend=1 to the kernel command line in the grub config

 Q - Quit   R - Refresh   U - Enable USB suspend 


-------------------------------------- running vdr and having it idle around.
-------------------------------------- i.e. not recording anything

jukebox:/home/data/static# /etc/init.d/vdr start
Starting Linux Video Disk Recorder: vdr
Searching for plugins (VDR 1.6.0-2/1.6.0) (cache hit): epgsearch femon dvdswitch quickepgsearch conflictcheckonly live epgsearchonly dvd ffnetdev streamdev-server xineliboutput.

     PowerTOP version 1.10      (C) 2007 Intel Corporation                                                                                                             

Cn                Avg residency       P-states (frequencies)
C0 (cpu running)        (14.8%)          750 Mhz     0.0%
polling           0.0ms ( 0.0%)          563 Mhz     0.0%
C1 halt           0.0ms ( 0.0%)          375 Mhz     0.0%
C2                0.1ms ( 0.2%)          188 Mhz   100.0%
C3                1.3ms (85.1%)

Wakeups-from-idle per second : 655.9    interval: 10.0s                                                                                                                
no ACPI power usage estimate available

Top causes for wakeups:
  45.8% (606.2)   USB device  5-1 : DVB-T 2 (Afatech) 
  35.6% (470.9)       <interrupt> : uhci_hcd:usb1, ehci_hcd:usb5, HDA Intel 
  16.7% (220.9)               vdr : futex_wait (hrtimer_wakeup) 
   0.7% (  9.5)               vdr : schedule_timeout (process_timeout)
   0.2% (  2.2)             khubd : queue_delayed_work (delayed_work_timer_fn)
   0.2% (  2.2)          events/0 : schedule_timeout (process_timeout)
   0.2% (  2.0)           xfsaild : schedule_timeout (process_timeout)
   0.2% (  2.0)    kdvb-ad-0-fe-0 : schedule_timeout (process_timeout)
   0.1% (  1.6)           xfsbufd : schedule_timeout (process_timeout)
   0.1% (  1.0)               vdr : do_nanosleep (hrtimer_wakeup)
   0.1% (  1.0)          ifconfig : b44_open (b44_timer)
   0.0% (  0.5)     <kernel core> : neigh_table_init_no_netlink (neigh_periodic_timer)
   0.0% (  0.5)     <kernel core> : schedule_delayed_work_on (delayed_work_timer_fn)
   0.0% (  0.3)   <kernel module> : neigh_table_init_no_netlink (neigh_periodic_timer)
   0.0% (  0.2)               vdr : hrtick_set (hrtick)
   0.0% (  0.2)     <kernel core> : __netdev_watchdog_up (dev_watchdog)
   0.0% (  0.2)          xfssyncd : schedule_timeout (process_timeout)
   0.0% (  0.2)              init : schedule_timeout (process_timeout)
   0.0% (  0.2)          runsvdir : schedule_timeout (process_timeout)
   0.0% (  0.2)              smbd : schedule_timeout (process_timeout)
   0.0% (  0.1)     <kernel core> : neigh_add_timer (neigh_timer_handler)

Suggestion: Enable USB autosuspend by pressing the U key or adding
usbcore.autosuspend=1 to the kernel command line in the grub config


----------------------------------------- just for comparison. vdr running without ehci_hcd and uhci_hcd
----------------------------------------- so there is no dvb device to get data from

     PowerTOP version 1.10      (C) 2007 Intel Corporation                                                                                                             

Cn                Avg residency       P-states (frequencies)
C0 (cpu running)        ( 5.3%)          750 Mhz     0.0%
polling           0.0ms ( 0.0%)          563 Mhz     0.0%
C1 halt           0.0ms ( 0.0%)          375 Mhz     0.0%
C2                0.1ms ( 0.0%)          188 Mhz   100.0%
C3                4.6ms (94.7%)

Wakeups-from-idle per second : 206.7    interval: 10.0s                                                                                                                
no ACPI power usage estimate available

Top causes for wakeups:
  92.7% (197.0)               vdr : futex_wait (hrtimer_wakeup) 
   2.8% (  6.0)               vdr : schedule_timeout (process_timeout)
   0.9% (  2.0)           xfsaild : schedule_timeout (process_timeout)
   0.8% (  1.6)           xfsbufd : schedule_timeout (process_timeout)
   0.5% (  1.0)               vdr : do_nanosleep (hrtimer_wakeup)
   0.5% (  1.0)          ifconfig : b44_open (b44_timer)
   0.3% (  0.7)       <interrupt> : ide0
   0.2% (  0.5)     <kernel core> : schedule_delayed_work_on (delayed_work_timer_fn)
   0.2% (  0.5)     <kernel core> : neigh_table_init_no_netlink (neigh_periodic_timer)
   0.2% (  0.4)   <kernel module> : ide_do_rw_disk (ledtrig_ide_timerfunc)
   0.1% (  0.3)   <kernel module> : neigh_table_init_no_netlink (neigh_periodic_timer)
   0.1% (  0.2)       <interrupt> : sata_sil24
   0.1% (  0.2)              init : schedule_timeout (process_timeout)
   0.1% (  0.2)     <kernel core> : __netdev_watchdog_up (dev_watchdog)
   0.1% (  0.2)          xfssyncd : schedule_timeout (process_timeout)
   0.1% (  0.2)          runsvdir : schedule_timeout (process_timeout)
   0.0% (  0.1)     <kernel core> : end_that_request_last (laptop_timer_fn)
   0.0% (  0.1)           pdflush : hrtick_set (hrtick)
   0.0% (  0.1)             touch : start_this_handle (commit_timeout)
   0.0% (  0.1)              nmbd : schedule_timeout (process_timeout)
   0.0% (  0.1)              cron : do_nanosleep (hrtimer_wakeup)





More information about the vdr mailing list