Re: omap cpu clock
Quote:
Originally Posted by shadowjk
(Post 583928)
Something on your desktop is doing alot of crap.. Display is off most of the time yet CPU is active all of the time..
|
I guess this was for me?
I'm still learning to read that output from powertop.
How do you see, the device has its display off most of the time?
I had idle ssh-connection and idle microBrowser connections and I think only Conky running in the backround.
Then I had that stepcounter widget turned on, so maybe that woke up CPU often during those 10 minutes.
Just for an exercise, I had N900 idling 6 hours and left powertop to monitor it during those 6 hours.
There is bugs in powertop, looking the output:
Code:
Nokia-N900-42-11:~# powertop -t 21600
Powertop 1.13.3
status: Unknown job: pmtrackerdaemon
Sleeping for 11 seconds before sampling
Collecting data for 21600 seconds
Sample interval was 00m 00s 10193us
C# | Ratio | Avg/dura | Frequency | Ratio
--------+--------+----------+-----------+--------+
C0 | -386851975.7% | | 600 MHz | 0.4% |
C1 | 386790029.9% | 109.7ms | 550 MHz | 0.0% |
C2 | 62045.8% | 0.1ms | 500 MHz | 99.6% |
C3 | 0.0% | | 250 MHz | 0.0% |
C4 | 0.0% | |
IRQ# | Activity | Type | Name
--------+------------+----------------+---------------------------
56 | 1835219 | INTC | i2c_omap
37 | 47454 | INTC | gp
57 | 44759 | INTC | i2c_omap
86 | 12116 | INTC | mmc1
11 | 9387 | INTC | prcm
12 | 5145 | INTC | DMA
61 | 654 | INTC | i2c_omap
21 | 277 | INTC | SGX
225 | 205 | GPIO | omap2-onenand
67 | 119 | INTC | ssi_p1_mpu_irq0
92 | 106 | INTC | musb_hdrc
71 | 74 | INTC | ssi_gdd
311 | 44 | GPIO | ssi_p1_cawake_gpio
260 | 41 | GPIO | tsc2005
369 | 3 | twl4030 | twl4030_keypad
25 | 1 | INTC | OMAP
249 | 1 | GPIO | proximity
379 | 1 | twl4030 | rtc0
PID# | Activity | Name | Function Entry (Expire)
--------+------------+----------------+---------------------------
700 | 18834 | bme_RX-51 | sys_timer_settime (posix_timer_fn)
0 | 16600 | <kernel core> | tick_nohz_restart_sched_tick (tick_sched_timer)
37 | 14849D| awk | cpufreq_governor_dbs (delayed_work_timer_fn)
700 | 12960 | bme_RX-51 | schedule_timeout (process_timeout)
0 | 1960 | <kernel core> | hrtimer_start (tick_sched_timer)
680 | 1919 | dsme | __enqueue_rt_entity (sched_rt_period_timer)
1 | 1819D| <kernel core> | queue_delayed_work (delayed_work_timer_fn)
680 | 1800 | dsme | do_nanosleep (hrtimer_wakeup)
700 | 1496 | bme_RX-51 | do_nanosleep (hrtimer_wakeup)
700 | 1440 | bme_RX-51 | sys_timer_settime (posix_timer_fn)
501 | 674 | mmcqd | queue_delayed_work (delayed_work_timer_fn)
501 | 505 | mmcqd | schedule_timeout (process_timeout)
1045 | 358 | iphbd | schedule_hrtimeout_range (hrtimer_wakeup)
29 | 272 | mount | setup_wb_timer (wb_timer_fn)
1 | 180 | <kernel core> | inet_initpeers (peer_check_expire)
0 | 174 | <kernel core> | queue_delayed_work (delayed_work_timer_fn)
700 | 123 | bme_RX-51 | queue_delayed_work (delayed_work_timer_fn)
501 | 122 | mmcqd | cfq_completed_request (cfq_idle_slice_timer)
1122 | 95 | hildon-desktop | schedule_hrtimeout_range (hrtimer_wakeup)
1184 | 74 | BatteryGraphd | journal_get_write_access (commit_timeout)
6800 | 74 | pdflush | blk_plug_device (blk_unplug_timeout)
8816 | 72 | browserd | futex_wait (hrtimer_wakeup)
1184 | 71 | BatteryGraphd | schedule_hrtimeout_range (hrtimer_wakeup)
501 | 70 | mmcqd | schedule_timeout (process_timeout)
1019 | 47 | alarmd | schedule_hrtimeout_range (hrtimer_wakeup)
1019 | 38 | alarmd | ubifs_wbuf_write_nolock (wbuf_timer_callback_nolock)
1 | 36 | <kernel core> | inet_frags_init (inet_frag_secret_rebuild)
1 | 36 | <kernel core> | flow_cache_init (flow_cache_new_hashrnd)
1 | 36D| <kernel core> | rt_secret_timer_init (rt_secret_rebuild)
0 | 29 | <kernel core> | neigh_add_timer (neigh_timer_handler)
733 | 20 | mce | schedule_hrtimeout_range (hrtimer_wakeup)
6800 | 18 | pdflush | ubifs_wbuf_write_nolock (wbuf_timer_callback_nolock)
710 | 16 | dbus-daemon | schedule_hrtimeout_range (hrtimer_wakeup)
1241 | 12 | temp-reaper | do_nanosleep (hrtimer_wakeup)
798 | 11 | Xorg | hrtimer_start (it_real_fn)
798 | 9 | Xorg | OSEnableTimer (OSTimerCallbackWrapper)
776 | 8 | sgx_perf | queue_delayed_work (delayed_work_timer_fn)
1184 | 7 | BatteryGraphd | blk_plug_device (blk_unplug_timeout)
1184 | 7 | BatteryGraphd | schedule_timeout (process_timeout)
8312 | 6 | gconfd-2 | schedule_hrtimeout_range (hrtimer_wakeup)
6800 | 6 | pdflush | journal_get_write_access (commit_timeout)
937 | 6 | dbus-daemon | schedule_hrtimeout_range (hrtimer_wakeup)
754 | 6 | pulseaudio | schedule_hrtimeout_range (hrtimer_wakeup)
8193 | 5 | sshd | sk_reset_timer (tcp_keepalive_timer)
747 | 4 | csd | schedule_hrtimeout_range (hrtimer_wakeup)
1019 | 4 | alarmd | schedule_timeout (process_timeout)
9218 | 4 | modest | schedule_hrtimeout_range (hrtimer_wakeup)
9268 | 4 | modest | schedule_hrtimeout_range (hrtimer_wakeup)
9312 | 4 | modest | schedule_hrtimeout_range (hrtimer_wakeup)
1115 | 4 |hildon-status-m | schedule_hrtimeout_range (hrtimer_wakeup)
9362 | 4 | modest | schedule_hrtimeout_range (hrtimer_wakeup)
9406 | 4 | modest | schedule_hrtimeout_range (hrtimer_wakeup)
733 | 4 | mce | schedule_timeout (process_timeout)
213 | 4 | vibra | queue_delayed_work (delayed_work_timer_fn)
1122 | 4 | hildon-desktop | OSEnableTimer (OSTimerCallbackWrapper)
1025 | 3 | systemui | schedule_hrtimeout_range (hrtimer_wakeup)
9229 | 3 | modest | schedule_hrtimeout_range (hrtimer_wakeup)
9237 | 3 | modest | schedule_hrtimeout_range (hrtimer_wakeup)
9273 | 3 | modest | schedule_hrtimeout_range (hrtimer_wakeup)
9281 | 3 | modest | schedule_hrtimeout_range (hrtimer_wakeup)
9323 | 3 | modest | schedule_hrtimeout_range (hrtimer_wakeup)
9331 | 3 | modest | schedule_hrtimeout_range (hrtimer_wakeup)
9367 | 3 | modest | schedule_hrtimeout_range (hrtimer_wakeup)
9375 | 3 | modest | schedule_hrtimeout_range (hrtimer_wakeup)
9367 | 3 | modest | neigh_add_timer (neigh_timer_handler)
9417 | 3 | modest | schedule_hrtimeout_range (hrtimer_wakeup)
9425 | 3 | modest | schedule_hrtimeout_range (hrtimer_wakeup)
9456 | 3 | modest | schedule_hrtimeout_range (hrtimer_wakeup)
9461 | 3 | modest | schedule_hrtimeout_range (hrtimer_wakeup)
9469 | 3 | modest | schedule_hrtimeout_range (hrtimer_wakeup)
9461 | 3 | modest | neigh_add_timer (neigh_timer_handler)
758 | 2 | ohmd | schedule_hrtimeout_range (hrtimer_wakeup)
8312 | 2 | gconfd-2 | ubifs_wbuf_write_nolock (wbuf_timer_callback_nolock)
9220 | 2 | intellisyncd | schedule_hrtimeout_range (hrtimer_wakeup)
9228 | 2 | modest | schedule_hrtimeout_range (hrtimer_wakeup)
9268 | 2 | modest | journal_get_write_access (commit_timeout)
9272 | 2 | modest | schedule_hrtimeout_range (hrtimer_wakeup)
9314 | 2 | intellisyncd | blk_plug_device (blk_unplug_timeout)
9314 | 2 | intellisyncd | schedule_hrtimeout_range (hrtimer_wakeup)
9322 | 2 | modest | schedule_hrtimeout_range (hrtimer_wakeup)
9362 | 2 | modest | journal_get_write_access (commit_timeout)
9366 | 2 | modest | schedule_hrtimeout_range (hrtimer_wakeup)
9408 | 2 | intellisyncd | schedule_hrtimeout_range (hrtimer_wakeup)
9416 | 2 | modest | schedule_hrtimeout_range (hrtimer_wakeup)
733 | 2 | mce | schedule_timeout (process_timeout)
805 | 2 | pulseaudio | sys_timer_settime (posix_timer_fn)
805 | 2 | pulseaudio | schedule_hrtimeout_range (hrtimer_wakeup)
733 | 2 | mce | queue_delayed_work (delayed_work_timer_fn)
9460 | 2 | modest | schedule_hrtimeout_range (hrtimer_wakeup)
8193 | 1 | sshd | sk_reset_timer (tcp_write_timer)
9167 | 1 | modest | schedule_hrtimeout_range (hrtimer_wakeup)
9167 | 1 | modest | blk_plug_device (blk_unplug_timeout)
9167 | 1 | modest | schedule_timeout (process_timeout)
9167 | 1 | modest | journal_get_write_access (commit_timeout)
9225 | 1 |e-addressbook-f | futex_wait (hrtimer_wakeup)
9220 | 1 | intellisyncd | blk_plug_device (blk_unplug_timeout)
9220 | 1 | intellisyncd | schedule_timeout (process_timeout)
9220 | 1 | intellisyncd | journal_get_write_access (commit_timeout)
9218 | 1 | modest | blk_plug_device (blk_unplug_timeout)
9218 | 1 | modest | schedule_timeout (process_timeout)
9218 | 1 | modest | journal_get_write_access (commit_timeout)
9269 | 1 |e-addressbook-f | futex_wait (hrtimer_wakeup)
9268 | 1 | modest | blk_plug_device (blk_unplug_timeout)
9268 | 1 | modest | schedule_timeout (process_timeout)
859 | 1 | kjournald | blk_plug_device (blk_unplug_timeout)
9314 | 1 | intellisyncd | schedule_timeout (process_timeout)
9319 | 1 |e-addressbook-f | futex_wait (hrtimer_wakeup)
9314 | 1 | intellisyncd | journal_get_write_access (commit_timeout)
9312 | 1 | modest | blk_plug_device (blk_unplug_timeout)
9312 | 1 | modest | schedule_timeout (process_timeout)
9312 | 1 | modest | journal_get_write_access (commit_timeout)
9363 | 1 |e-addressbook-f | futex_wait (hrtimer_wakeup)
9362 | 1 | modest | blk_plug_device (blk_unplug_timeout)
9362 | 1 | modest | schedule_timeout (process_timeout)
9413 | 1 |e-addressbook-f | futex_wait (hrtimer_wakeup)
9408 | 1 | intellisyncd | blk_plug_device (blk_unplug_timeout)
9408 | 1 | intellisyncd | schedule_timeout (process_timeout)
9408 | 1 | intellisyncd | journal_get_write_access (commit_timeout)
666 | 1 | dsme | schedule_hrtimeout_range (hrtimer_wakeup)
1082 | 1 |hildon-sv-notif | schedule_hrtimeout_range (hrtimer_wakeup)
0 | 1 | <kernel core> | tsc2005_ts_irq_handler (tsc2005_ts_penup_timer_handler)
9 | 1 | twl4030-irq | input_handle_event (input_repeat_key)
1489 | 1 | browser | schedule_timeout (process_timeout)
733 | 1 | mce | queue_delayed_work (delayed_work_timer_fn)
805 | 1 | pulseaudio | queue_delayed_work (delayed_work_timer_fn)
754 | 1 | pulseaudio | ubifs_wbuf_write_nolock (wbuf_timer_callback_nolock)
835 | 1 | hald-addon-bme | schedule_hrtimeout_range (hrtimer_wakeup)
798 | 1 | Xorg | schedule_hrtimeout_range (hrtimer_wakeup)
9406 | 1 | modest | blk_plug_device (blk_unplug_timeout)
9406 | 1 | modest | schedule_timeout (process_timeout)
9406 | 1 | modest | journal_get_write_access (commit_timeout)
9457 | 1 |e-addressbook-f | futex_wait (hrtimer_wakeup)
9456 | 1 | modest | journal_get_write_access (commit_timeout)
9199 | 1 | powertop | do_nanosleep (hrtimer_wakeup)
Power domain activity breakdown
Domain | % of time spent in states
--------+---------+---------+---------+---------+----------
usbhost |OFF: 100%|RET: 0%|INA: 0%| ON: 0%| now:(OFF)
sgx |OFF: 99%|RET: 0%|INA: 0%| ON: 0%| now:(OFF)
per |OFF: 0%|RET: 0%|INA: 0%| ON: 99%| now:(ON)
dss |OFF: 99%|RET: 0%|INA: 0%| ON: 0%| now:(OFF)
cam |OFF: 100%|RET: 0%|INA: 0%| ON: 0%| now:(OFF)
core |OFF: 0%|RET: 0%|INA: 0%| ON: 100%| now:(ON)
neon |OFF: 0%|RET: 0%|INA: 0%| ON: 99%| now:(ON)
mpu |OFF: 0%|RET: 0%|INA: 0%| ON: 99%| now:(ON)
iva2 |OFF: 100%|RET: 0%|INA: 0%| ON: 0%| now:(OFF)
Clock activity breakdown at end of period
Domain | Active clocks
--------+---------------+---------------+------------------
core | SDRC | HSOTGUSB_STBY | HSOTGUSB_IDLE
| OMAPCTRL | MAILBOXES |
wkup | GPT1 | 32KSYNC | GPIO1
| WDT1 |
ckgen | CORE | PERI | 96M
| 48M | 12M | 54M
| EMU_CORE |
per | GPIO2 | GPIO3 | GPIO4
| GPIO5 | GPIO6 |
Total wakeups 2032679, 94.1/s | IRQ 1955606, 90.5/s | Timers 77073, 3.6/s
HW wakeups 171, 0.0/s | Real gp_timers expired 94, 0.0/s
Seems like there is length limit for lines in this forum, because this time I didn't have extra CR/LF:s in the middle but it makes them anyway.
So, here it is more nicely: http://pastebin.com/XJQDNcqx
|