Hi again! On Friday 28 March 2008 05:02:00 Arjan van de Ven wrote: > Bruce Duncan wrote: > > (Please cc me in replies)
Please continue to cc me. Thanks.
> > Hi all,
> >
> > Any ideas why I get such a ridiculously high number of wakeups per second
> > that I can't account for?
>
> if this is a recent 2.6.25 kernel, this is a known bug (my own PC shows
> it); Venki fixed this on Monday so hopefully the fix will make it into
> 2.6.25
I waited to see if this was fixed, but kind of lost track when it wasn't. I
still get the same problem on 2.6.27-rc1. Any ideas? powertop -d output
appended. Inverting the "average residency" time for C2 gives a meaningless
120 transitions per second...
If I boot with init=/bin/bash and run powertop, the numbers are sensible. Is
it worth "bisecting" the boot process to find a program/module which is
creating these wakeups?
> > Also, why aren't tick_sched_timer's wakeups included in the powertop
> > output?
>
> those aren't actual wakups, they're the mechanism for which real wakeups
> are done. PowerTOP deliberately doesn't show these because
> 1) they're not real wakeups
> 2) because of that, showing them anyway would only be confusing for no
> reason
>
> If you have actual timer interrupts that happen, PowerTOP does report those
> separately. (as "Extra timer interrupt".. there've been a lot of questions
> about these before)
Excellent! I have another machine which has these, but as it's a "limited
edition" Pentium 233 I'm not too bothered.
Many thanks,
Bruce
[EMAIL PROTECTED]:~$ sudo powertop -d
PowerTOP 1.10 (C) 2007, 2008 Intel Corporation
Collecting data for 15 seconds
Cn Avg residency
C0 (cpu running) (17.6%)
polling 0.0ms ( 0.0%)
C1 8.3ms (81.9%)
C2 0.0ms ( 0.4%)
P-states (frequencies)
2.00 Ghz 0.0%
1.80 Ghz 0.0%
1.60 Ghz 0.0%
800 Mhz 100.0%
Wakeups-from-idle per second : 988.9 interval: 15.0s
no ACPI power usage estimate available
Top causes for wakeups:
57.9% ( 50.9) konqueror : schedule_timeout (process_timeout)
13.1% ( 11.5) postgres : schedule_timeout (process_timeout)
9.1% ( 8.0) amarokapp : schedule_timeout (process_timeout)
2.7% ( 2.4) kicker : schedule_timeout (process_timeout)
1.7% ( 1.5) dirmngr : schedule_timeout (process_timeout)
1.7% ( 1.5) kicker : futex_wait (hrtimer_wakeup)
1.4% ( 1.2) kopete : schedule_timeout (process_timeout)
1.1% ( 1.0) dhcdbd : schedule_timeout (process_timeout)
1.1% ( 1.0) ntpd : do_setitimer (it_real_fn)
1.1% ( 1.0) ftraced : schedule_timeout (process_timeout)
1.1% ( 1.0) ntpd : do_adjtimex (sync_cmos_clock)
1.1% ( 1.0) kwrapper : do_nanosleep (hrtimer_wakeup)
0.9% ( 0.8) ksysguardd : schedule_timeout (process_timeout)
0.6% ( 0.5) <interrupt> : eth0
0.6% ( 0.5) gpg-agent : schedule_timeout (process_timeout)
0.6% ( 0.5) <kernel core> : neigh_table_init_no_netlink
(neigh_periodic_timer)
0.5% ( 0.4) <interrupt> : pata_ali
0.5% ( 0.4) kmail : schedule_timeout (process_timeout)
0.5% ( 0.4) kded : schedule_timeout (process_timeout)
0.3% ( 0.3) kalarm : schedule_timeout (process_timeout)
0.2% ( 0.2) amarokapp : futex_wait (hrtimer_wakeup)
0.2% ( 0.2) svscan : do_nanosleep (hrtimer_wakeup)
0.2% ( 0.2) <kernel core> : __netdev_watchdog_up (dev_watchdog)
0.2% ( 0.2) init : schedule_timeout (process_timeout)
0.2% ( 0.1) yakuake : schedule_timeout (process_timeout)
0.2% ( 0.1) klauncher : schedule_timeout (process_timeout)
0.2% ( 0.1) lisa : schedule_timeout (process_timeout)
0.1% ( 0.1) <interrupt> : PS/2 keyboard/mouse/touchpad
0.1% ( 0.1) Xorg : schedule_timeout (process_timeout)
0.1% ( 0.1) <kernel core> : neigh_add_timer (neigh_timer_handler)
0.1% ( 0.1) sudo : laptop_io_completion (laptop_timer_fn)
0.1% ( 0.1) postgres : do_setitimer (it_real_fn)
0.1% ( 0.1) kopete : sk_reset_timer (tcp_write_timer)
0.1% ( 0.1) events/0 : queue_delayed_work (delayed_work_timer_fn)
0.1% ( 0.1) nmbd : schedule_timeout (process_timeout)
0.1% ( 0.1) syslogd : do_setitimer (it_real_fn)
0.1% ( 0.1) <kernel core> : sk_reset_timer (tcp_delack_timer)
0.1% ( 0.1) kio_imap4 : sk_reset_timer (tcp_write_timer)
Recent USB suspend statistics
Active Device name
[EMAIL PROTECTED]:~$ sudo powertop -d | awk '/).* : / { total +=
$3 } /^Wakeups-from-idle/ { print } END { print "Summed to", total }'
Wakeups-from-idle per second : 781.7 interval: 15.0s
Summed to 79.3
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Power mailing list [email protected] http://www.bughost.org/mailman/listinfo/power
