(Please cc me in replies)

Hi all,

Any ideas why I get such a ridiculously high number of wakeups per second that 
I can't account for?

Also, why aren't tick_sched_timer's wakeups included in the powertop output? 
Why are there so many? I'm using HPET.

Many thanks,
Bruce

[EMAIL PROTECTED]:~$ sudo powertop -d
PowerTOP 1.9    (C) 2007 Intel Corporation

Collecting data for 15 seconds
Cn                Avg residency
C0 (cpu running)        (61.0%)
C1                0.0ms ( 0.0%)
C2                0.0ms (39.0%)
P-states (frequencies)
  2.60 Ghz     0.0%
  2.40 Ghz     0.0%
  2.21 Ghz     0.0%
   800 Mhz   100.0%
Wakeups-from-idle per second : 115385.9 interval: 15.0s
Top causes for wakeups:
  19.7% ( 11.5)          postgres : schedule_timeout (process_timeout)
  18.0% ( 10.5)       <interrupt> : firewire_ohci, 0000:00:11.0
  15.4% (  9.0)         amarokapp : schedule_timeout (process_timeout)
   7.5% (  4.4)       <interrupt> : acpi
   4.4% (  2.6)            kicker : schedule_timeout (process_timeout)
   3.1% (  1.8)       <interrupt> : pata_ali
   2.6% (  1.5)            kicker : futex_wait (hrtimer_wakeup)
   2.6% (  1.5)         rt2500pci : ieee80211_sta_start_scan 
(delayed_work_timer_fn)
   2.5% (  1.5)            mysqld : schedule_timeout (process_timeout)
   1.8% (  1.1)           dirmngr : schedule_timeout (process_timeout)
   1.7% (  1.0)           ifplugd : schedule_timeout (process_timeout)
   1.7% (  1.0)           apache2 : schedule_timeout (process_timeout)
   1.7% (  1.0)            dhcdbd : schedule_timeout (process_timeout)
   1.7% (  1.0)              kwin : schedule_timeout (process_timeout)
   1.7% (  1.0)        ksysguardd : schedule_timeout (process_timeout)
   1.7% (  1.0)          kwrapper : do_nanosleep (hrtimer_wakeup)
   1.6% (  0.9)         rt2500pci : rt2x00lib_toggle_rx 
(delayed_work_timer_fn)
   1.3% (  0.7)         rt2500pci : schedule_timeout (process_timeout)
   1.0% (  0.6)    NetworkManager : schedule_timeout (process_timeout)
   0.9% (  0.5)     <kernel core> : neigh_table_init_no_netlink 
(neigh_periodic_timer)
   0.9% (  0.5)         gpg-agent : schedule_timeout (process_timeout)
   0.8% (  0.5)   hald-addon-stor : schedule_timeout (process_timeout)
   0.8% (  0.5)             kmail : schedule_timeout (process_timeout)
   0.7% (  0.4)            kopete : schedule_timeout (process_timeout)
   0.5% (  0.3)              kded : schedule_timeout (process_timeout)
   0.5% (  0.3)     <kernel core> : __dst_free (delayed_work_timer_fn)
   0.3% (  0.2)       <interrupt> : eth0
   0.3% (  0.2)              init : schedule_timeout (process_timeout)
   0.3% (  0.2)     <kernel core> : __netdev_watchdog_up (dev_watchdog)
   0.3% (  0.2)         amarokapp : futex_wait (hrtimer_wakeup)
   0.2% (  0.1)           yakuake : schedule_timeout (process_timeout)
   0.2% (  0.1)              nmbd : schedule_timeout (process_timeout)
   0.2% (  0.1)              lisa : schedule_timeout (process_timeout)
   0.2% (  0.1)            kalarm : schedule_timeout (process_timeout)
   0.1% (  0.1)              Xorg : schedule_timeout (process_timeout)
   0.1% (  0.1)              hald : schedule_timeout (process_timeout)
   0.1% (  0.1)     <kernel core> : ip_rt_init (delayed_work_timer_fn)
   0.1% (  0.1)    NetworkManager : do_nanosleep (hrtimer_wakeup)
   0.1% (  0.1)     <kernel core> : laptop_io_completion (laptop_timer_fn)
   0.1% (  0.1)   <kernel module> : sta_info_start (sta_info_cleanup)
   0.1% (  0.1)         kio_imap4 : sk_reset_timer (tcp_write_timer)

Suggestion: Disable 'hal' from polling your cdrom with:
hal-disable-polling --device /dev/cdrom 'hal' is the component that auto-opens 
a
window if you plug in a CD but disables SATA power saving from kicking in.
[EMAIL PROTECTED]:~$ cat /proc/timer_stats
Timer Stats Version: v0.2
Sample period: 14.999 s
  101,     0 swapper          tick_nohz_restart_sched_tick (tick_sched_timer)
  614,     0 swapper          tick_nohz_stop_sched_tick (tick_sched_timer)
   90,  4701 amarokapp        schedule_timeout (process_timeout)
    2,  4678 yakuake          schedule_timeout (process_timeout)
   45,  4748 amarokapp        schedule_timeout (process_timeout)
   39,  4639 kicker           schedule_timeout (process_timeout)
   15,  2170 ifplugd          schedule_timeout (process_timeout)
    8,     1 swapper          neigh_table_init_no_netlink 
(neigh_periodic_timer)
   14,   935 rt2500pci        rt2x00lib_toggle_rx (delayed_work_timer_fn)
   16,  1867 dirmngr          schedule_timeout (process_timeout)
   15,  2720 apache2          schedule_timeout (process_timeout)
   75,  1812 postgres         schedule_timeout (process_timeout)
   75,  1813 postgres         schedule_timeout (process_timeout)
   15,  2518 dhcdbd           schedule_timeout (process_timeout)
   15,  1742 mysqld           schedule_timeout (process_timeout)
   15,  4654 kicker           futex_wait (hrtimer_wakeup)
    1,  4473 Xorg             schedule_timeout (process_timeout)
    8,  2906 gpg-agent        schedule_timeout (process_timeout)
   8D,     1 swapper          queue_delayed_work_on (delayed_work_timer_fn)
   16,  1814 postgres         schedule_timeout (process_timeout)
   15,  4635 kwin             schedule_timeout (process_timeout)
    3,     1 init             schedule_timeout (process_timeout)
    6,  4684 kopete           schedule_timeout (process_timeout)
    2,  2468 nmbd             schedule_timeout (process_timeout)
   15,  4642 ksysguardd       schedule_timeout (process_timeout)
   15,  4629 kwrapper         do_nanosleep (hrtimer_wakeup)
    5,  4653 kicker           futex_wait (hrtimer_wakeup)
    3,     0 swapper          __netdev_watchdog_up (dev_watchdog)
    7,  1743 mysqld           schedule_timeout (process_timeout)
    9,  2577 NetworkManager   schedule_timeout (process_timeout)
    1,  2528 hald             schedule_timeout (process_timeout)
    7,  2550 hald-addon-stor  schedule_timeout (process_timeout)
    1,     1 swapper          ip_rt_init (delayed_work_timer_fn)
    7,  1815 postgres         schedule_timeout (process_timeout)
    1,  2577 NetworkManager   do_nanosleep (hrtimer_wakeup)
   23,   935 rt2500pci        ieee80211_sta_start_scan (delayed_work_timer_fn)
   10,   935 rt2500pci        schedule_timeout (process_timeout)
    1,     0 swapper          laptop_io_completion (laptop_timer_fn)
    3,  4655 kicker           futex_wait (hrtimer_wakeup)
    3,  4747 amarokapp        futex_wait (hrtimer_wakeup)
    4,  5136 kded             schedule_timeout (process_timeout)
    1,   935 rt2500pci        schedule_timeout (process_timeout)
    2,  2444 lisa             schedule_timeout (process_timeout)
    7,  5140 kmail            schedule_timeout (process_timeout)
    1,   528 modprobe         sta_info_start (sta_info_cleanup)
    2,  4686 kalarm           schedule_timeout (process_timeout)
    4,     0 swapper          __dst_free (delayed_work_timer_fn)
    1,  5391 kio_imap4        sk_reset_timer (tcp_write_timer)
    1,  5991 powertop         schedule_timeout (process_timeout)
1347 total events, 89.805 events/sec
[EMAIL PROTECTED]:~$ cat /proc/acpi/processor/CPU0/power
active state:            C0
max_cstate:              C8
bus master activity:     00000000
maximum allowed latency: 16000 usec
states:
    C1:                  type[C1] promotion[--] demotion[--] latency[000] 
usage[52227682] duration[00000000000000000000]
    C2:                  type[C2] promotion[--] demotion[--] latency[050] 
usage[110529610] duration[00000000002032148429]
[EMAIL PROTECTED]:~$ cat /proc/acpi/processor/CPU0/power
active state:            C0
max_cstate:              C8
bus master activity:     00000000
maximum allowed latency: 16000 usec
states:
    C1:                  type[C1] promotion[--] demotion[--] latency[000] 
usage[52805476] duration[00000000000000000000]
    C2:                  type[C2] promotion[--] demotion[--] latency[050] 
usage[111711016] duration[00000000002053500493]
[EMAIL PROTECTED]:~$

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Power mailing list
[email protected]
http://www.bughost.org/mailman/listinfo/power

Reply via email to