maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   5-10% CPU on hildon-desktop (https://talk.maemo.org/showthread.php?t=70168)

toxaris 2011-02-21 12:13

5-10% CPU on hildon-desktop
 
Hello.
Around once a week I find hildon-desktop utilize 5-10% CPU for no perticuly reson.
Normaly hildon-desktop only utilizes 0.33% CPU according to Conky.

I have tryed to find out what makes this happen.
Sofar most of the times preenv is cursing hildon-desktop to eat CPU, but not all the time.
And sometimes I check CPU utilize on hildon-desktop when I go to bed and when I get up in the morning hildon-desktop have sometime started to utilize 5-10% CPU during the night.

This ofc eats battery.

Any idea what it could be?

Im running Power-Kernel.

vi_ 2011-02-21 12:23

Re: 5-10% CPU on hildon-desktop
 
Please post the output of powertop and top from a fresh reboot with no connections currently running. Then we can diagnose the problem.

9000 2011-02-21 12:23

Re: 5-10% CPU on hildon-desktop
 
Show us the result of maemo-list-user-packages may be we could figure what's going wrong.

toxaris 2011-02-21 13:36

Re: 5-10% CPU on hildon-desktop
 
Quote:

Originally Posted by 9000 (Post 951763)
Show us the result of maemo-list-user-packages may be we could figure what's going wrong.

Code:

3g2g-mode-selection-applet        0.4-2        user/desktop        64
account-plugin-butterfly        0.10        user/network        76
angrybirds        1.4.2        user/hidden        37300
angrybirds-levelpack1        1.0.0        user/hidden        820
angrybirds-levelpack2        1.0.0        user/hidden        436
angrybirds-levelpack3        1.0.0        user/hidden        564
angrybirds-levelpack4        1.0.0        user/hidden        540
apmefo        0.11-1        user/system        200
barriosquare        0.3.10-1        user/network        976
battery        0.3        user/desktop        176
bluezwitch        1.0.0-2        user/desktop        100
cal-home-widget        1.1        user/desktop        160
conky        1.6.1-0maemo5-1.1        user/desktop        680
contacts-merger        0.1.3-0        user/utilities        152
cutetube        0.9.9-13        user/multimedia        2132
decoders-support        0.4        user/multimedia        84
docstogo        2.001.346        user/hidden        10512
facebook-services        0.5.5        user/hidden        52
fastsms        0.5-4        user/utilities        15780
fastsmsevo        0.1-7        user/utilities        64
fcamera        0.1.7-1        user/multimedia        612
feedservice-plugin-fb        0.5.5        user/hidden        264
feedservice-plugin-fb-common        0.5.2        user/hidden        60
feedservice2        0.5.9        user/hidden        212
filebox        0.7-3        user/utilities        2156
flashlight-applet        0.4-5        user/desktop        284
fmms        1.3.3        user/network        840
frogatto        1.0.3+svn4222-maemo1        user/games        72
frontview900        0.2-2        user/graphics        3943
gpodder        2.13-1        user/multimedia        2612
guitar-chords        1.0-2        user/education        140
hdrcapture        1.0.6-1        user/graphics        676
here-and-now        0.0.3        user/navigation        64
hermes        0.8.9        user/utilities        1104
hideuseragent        0.3.7        user/network        116
hostmode-gui        0.3        user/system        188
jenirok        0.2-15        user/utilities        932
joikuspot        1.2.2        user/hidden        1036
kernel-power-flasher        2.6.28-maemo46        user/system        240
kernel-power-settings        0.11        user/system        140
leafpad        0.8.17le-0maemo1        user/utilities        944
libqtm-bearer        1:1.0.2-maemo4+0m5        user/libs        300
libqtm-contacts        1:1.0.2-maemo4+0m5        user/libs        1012
libqtm-location        1:1.0.2-maemo4+0m5        user/libs        256
libqtm-messaging        1:1.0.2-maemo4+0m5        user/libs        848
libqtm-multimedia        1:1.0.2-maemo4+0m5        user/libs        1544
libqtm-publishsubscribe        1:1.0.2-maemo4+0m5        user/libs        244
libqtm-sensors        1:1.0.2-maemo4+0m5        user/libs        336
libqtm-serviceframework        1:1.0.2-maemo4+0m5        user/libs        392
libqtm-systeminfo        1:1.0.2-maemo4+0m5        user/libs        420
libqtm-versit        1:1.0.2-maemo4+0m5        user/libs        468
maemo-geolocation        1.1.3-1        user/navigation        120
maemo-recorder        0.3.0        user/multimedia        224
mobile-maps        8.1.2        user/hidden        142597
mobile-maps-nordics        2009.12.1        user/hidden        272066
mobilewebserver        1.6        user/hidden        517
mobilewebserver-root-plugin        1.5        user/hidden        13
mp-fremantle-generic-pr        20.2010.36-2        user/system       
mstopwatch        0.2-3fremantle4        user/utilities        124
mussorgsky        0.5.2-1        user/multimedia        292
n900-fmrx-enabler        1.5-4+0m5        user/libs        92
n900ftp        0.2.1-1        user/network        2668
njurassic        1.0.1        user/hidden        34136
ogg-support        1.0.6~rc1        user/multimedia        136
openssh-client        1:5.1p1-6.maemo5        user/network        1192
openttd        1.0.2-1maemo1        user/games        3704
panorama        2.0.3        user/hidden        1080
panucci        0.9-alpha1        user/multimedia        652
pidgin        2.7.7-0nix2        user/network        4392
pidgin-maemo-docklet        0.0.3-1        user/network        96
pingus        0.7.2-7        user/games        2624
python2.5-qt4        4.7.5-maemo2        user/development        36
qspot        0.8.1-1        user/multimedia        624
qtranslate        1.0.3        user/utilities        200
qtwol        0.1.0-1        user/network        364
queen-beecon        1.3.3        user/desktop        564
rdesktop        1.7-maemo3        user/misc        1820
rootsh        1.8        user/system        32
sharing-service-facebook        0.5.1        user/hidden        184
sharing-service-youtube        1.0.00.2+0m1        user/hidden        92
spb-tv        1.0-34        user/hidden        768
sphyro        1.1.7        user/hidden        2384
sticky-notes        0.3.1        user/desktop        204
tar-gnu        1.22-2maemo5        user/system        2360
tickstill        1.1.1        user/utilities        356
tracker-cfg        0.3.2-1        user/system        136
transitioncontrol        1.1        user/system        104
transmission        1:1.76-1maemo0        user/network        1620
ttf-droid        1.01-dfsg0maemo3        user/graphics        4392
tuner        0.1.3        user/multimedia        132
tutorial-home-applet        0.6.16+0m5        user/support        1292
tweakflashver        0.4.0-maemo1        user/utilities        212
tweakr        0.0.17-2        user/system        228
unzip        1:6.0-maemo5        user/utilities        404
unzip-fm        0.1.3-4        user/tools        72
wifi-switcher        0.0.9        user/desktop        140
wizard-mounter        1.5.7maemo5.1        user/network        152
xchat        2.8.6-maemo18        user/network        724


toxaris 2011-02-21 13:43

Re: 5-10% CPU on hildon-desktop
 
I have installed BoostN900 some time ago, but I have after that updated pewer-kernel.
Could it be that?
I have regretted that I did run the BoostN900 script since I didnt notice any bigger difference in performance.

epitaph 2011-02-21 13:52

Re: 5-10% CPU on hildon-desktop
 
Quote:

Originally Posted by toxaris (Post 951831)
I have installed BoostN900 some time ago, but I have after that updated pewer-kernel.
Could it be that?
I have regretted that I did run the BoostN900 script since I didnt notice any bigger difference in performance.

U want to install my tune-up utilities. U want donate 5$. Thank u.

toxaris 2011-02-21 14:50

Re: 5-10% CPU on hildon-desktop
 
Quote:

Originally Posted by vi_ (Post 951761)
Please post the output of powertop and top from a fresh reboot with no connections currently running. Then we can diagnose the problem.

Ok, here:
I activated Offline-mode and turned off the phone and on again in offline-mode.

Code:

Powertop 1.13.3
Sleeping for 11 seconds before sampling
Collecting data for 30 seconds
Sample interval was 00m 30s 28962us

C#      | Ratio  | Avg/dura | Frequency | Ratio
--------+--------+----------+-----------+--------+
    C0 |  0.5% |          |  1150 MHz |  nan% |
    C1 |  0.0% |          |
    C2 |  2.2% |    8.3ms |
    C3 |  5.1% |  95.8ms |
    C4 |  92.2% |  922.4ms |

IRQ#    | Activity  | Type          | Name
--------+------------+----------------+---------------------------
    56 |        316 |          INTC | i2c_omap
    86 |        81 |          INTC | mmc1
    37 |        70 |          INTC | gp
    11 |        59 |          INTC | prcm
    57 |        34 |          INTC | i2c_omap
    12 |        14 |          INTC | DMA

PID#    | Activity  | Name          | Function Entry (Expire)
--------+------------+----------------+---------------------------
      0 |        31 |  <kernel core> | hrtimer_start (tick_sched_timer)
    38 |        23D|            awk | cpufreq_governor_dbs (delayed_work_timer_fn)
      0 |        20 |  <kernel core> | tick_nohz_restart_sched_tick (tick_sched_timer)
    646 |        17 |          mmcqd | schedule_timeout (process_timeout)
    646 |          8 |          mmcqd | queue_delayed_work (delayed_work_timer_fn)
    738 |          7 |      bme_RX-51 | sys_timer_settime (posix_timer_fn)
    706 |          3 |          dsme | do_nanosleep (hrtimer_wakeup)
    706 |          3 |          dsme | __enqueue_rt_entity (sched_rt_period_timer)
      0 |          2 |  <kernel core> | queue_delayed_work (delayed_work_timer_fn)
    738 |          2 |      bme_RX-51 | sys_timer_settime (posix_timer_fn)
    738 |          2 |      bme_RX-51 | do_nanosleep (hrtimer_wakeup)
    738 |          2 |      bme_RX-51 | schedule_timeout (process_timeout)
    791 |          2 |            sh | setup_wb_timer (wb_timer_fn)
      1 |          2D|  <kernel core> | queue_delayed_work (delayed_work_timer_fn)
    109 |          2 |  cifsdnotifyd | schedule_timeout (process_timeout)
  1185 |          1 |hildon-status-m | schedule_hrtimeout_range (hrtimer_wakeup)
    818 |          1 |      gconfd-2 | schedule_hrtimeout_range (hrtimer_wakeup)
    646 |          1 |          mmcqd | schedule_timeout (process_timeout)
      1 |          1 |  <kernel core> | inet_initpeers (peer_check_expire)
    807 |          1 |            mce | schedule_hrtimeout_range (hrtimer_wakeup)
    646 |          1 |          mmcqd | cfq_completed_request (cfq_idle_slice_timer)
  1950 |          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: 100%|RET:  0%|INA:  0%| ON:  0%| now:(OFF)
    per |OFF:  95%|RET:  3%|INA:  0%| ON:  0%| now:(ON)
    dss |OFF: 100%|RET:  0%|INA:  0%| ON:  0%| now:(OFF)
    cam |OFF: 100%|RET:  0%|INA:  0%| ON:  0%| now:(OFF)
  core |OFF:  91%|RET:  3%|INA:  0%| ON:  4%| now:(ON)
  neon |OFF:  91%|RET:  5%|INA:  2%| ON:  0%| now:(ON)
    mpu |OFF:  91%|RET:  5%|INA:  2%| ON:  0%| 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_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  707,  23.6/s | IRQ  574,  19.1/s | Timers  133,  4.4/s
HW wakeups      59,  2.0/s |    Real gp_timers expired  70,  2.3/s

Code:

Mem: 235412K used, 9968K free, 0K shrd, 6996K buff, 45116K cached
CPU:  0.0% usr 16.6% sys  0.0% nice 83.3% idle  0.0% io  0.0% irq  0.0% softirq
Load average: 0.24 0.28 0.51
  PID  PPID USER    STAT  RSS %MEM %CPU COMMAND
  872  716 root    S <  16284  6.6  8.3 /usr/bin/Xorg -logfile /tmp/Xorg.0.log
 1897  1893 user    R      592  0.2  8.3 top
 1598  1028 user    S    17424  7.0  0.0 /usr/bin/osso-addressbook           
 1194  1028 user    S    15312  6.2  0.0 /usr/bin/hildon-home                 
 1614  1351 user    S    14808  6.0  0.0 /usr/sbin/browserd -s 1614 -n RTComMes
 1604  1028 user    S    14132  5.7  0.0 /usr/bin/rtcom-messaging-ui         
 1193  1028 user    S    12436  5.0  0.0 /usr/bin/hildon-desktop             
 1642  1351 user    S    11944  4.8  0.0 /usr/sbin/browserd -s 1642 -n browseru
 1601  1028 user    S    11804  4.7  0.0 /usr/bin/rtcom-call-ui               
 1636  1028 user    S    10652  4.3  0.0 /usr/bin/image-viewer               
 1891  1028 user    S    10088  4.0  0.0 /usr/bin/osso-xterm                 
 1639  1028 user    S    9256  3.7  0.0 /usr/bin/Calendar                   
 1515  1028 user    S    8920  3.6  0.0 /usr/bin/modest                     
 1185  1028 user    S    8896  3.6  0.0 /usr/bin/hildon-status-menu         
 1633  1028 user    S    8124  3.3  0.0 /usr/bin/browser                     
 1036  716 user    S    7572  3.0  0.0 /usr/bin/systemui
 1220    1 user    S    7476  3.0  0.0 /opt/sticky-notes/sticky-notes in-back
 1319    1 user    S N  7072  2.8  0.0 /usr/lib/tracker/trackerd
 1428  1028 user    S    6932  2.8  0.0 /usr/bin/osso-abook-home-applet     
  789    1 root    S    6764  2.7  0.0 /usr/sbin/ohmd --no-daemon


toxaris 2011-02-21 15:00

Re: 5-10% CPU on hildon-desktop
 
Quote:

Originally Posted by epitaph (Post 951838)
U want to install my tune-up utilities. U want donate 5$. Thank u.

Sorry I dont realy trust thoes "magic" scripts that is circle around on TMO.
I what to understand what every setting I configure does. I just doesnt feel comfortable with a script that edit a bunch off critical settings and I have no idea where to look when things later might go wrong.
As I think BoostN900 script is the curse of the problem I got now.

epitaph 2011-02-21 15:09

Re: 5-10% CPU on hildon-desktop
 
Quote:

Originally Posted by toxaris (Post 951897)
Sorry I dont realy trust thoes "magic" scripts that is circle around on TMO.
I what to understand what every setting I configure does. I just doesnt feel comfortable with a script that edit a bunch off critical settings and I have no idea where to look when things later might go wrong.
As I think BoostN900 script is the curse of the problem I got now.

Thank u for your answer but don't be a ***** right now!

cddiede 2011-02-21 17:53

Re: 5-10% CPU on hildon-desktop
 
Quote:

Originally Posted by epitaph (Post 951908)
Thank u for your answer but don't be a ***** right now!

Really? Name calling just because some guy doesn't want to install some system configuration scripts that you've posted without first fully understanding everything that it does?

I think that level of caution is to be encouraged of device owners as it would certainly reduce the number of threads associated with bricking one's device.

BTW, when a user asks for help with a Maemo problem and you respond with no insights other then orders to download your scripts and donate money to you for the privilege that makes YOU look like the a ****


All times are GMT. The time now is 15:08.

vBulletin® Version 3.8.8