Active Topics

 


Reply
Thread Tools
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#1
Hi,

I noticed a lot of background applications running in the background. camera-ui or rtcom-call-ui - it's obvious, as you need them launched quickly. But there are many others, like modest, image-viewer, Calendar. Which of them can be safely disabled for background (without losing functionality, only losing speed) and which are essential?

Full list of bg stuff on the go (sorted by memory used):
Code:
CPU:  5.1% usr  3.9% sys  0.0% nic 90.8% idle  0.0% io  0.0% irq  0.0% sirq
Load average: 0.00 0.20 0.38 1/188 1969
  PID  PPID USER     STAT   RSS %MEM %CPU COMMAND
 1900  1284 user     S    19684  8.3  0.0 /usr/bin/modest
 1836  1612 user     S    16588  7.0  0.0 /usr/sbin/browserd -s 1836 -n RTComMessagingServer
 1872  1284 user     S    14548  6.1  0.0 /usr/bin/Calendar
 1865  1284 user     S    13576  5.7  0.0 /usr/bin/image-viewer
 1823  1284 user     S    13296  5.6  0.0 /usr/bin/osso-addressbook
 1797  1284 user     S    12756  5.4  0.3 /usr/bin/osso-xterm
 1076   729 root     S <  12416  5.2  2.9 /usr/bin/Xorg -logfile /tmp/Xorg.0.log -logverbose 1 -nolisten tcp -noreset -s 0 -core
 1382  1284 user     S    12416  5.2  0.1 /usr/bin/hildon-status-menu
 1826  1284 user     S    11392  4.8  0.0 /usr/bin/rtcom-call-ui
 1830  1284 user     S    11384  4.8  0.0 /usr/bin/rtcom-messaging-ui
 1389  1284 user     S    11204  4.7  3.8 /usr/bin/hildon-desktop
 1866  1612 user     S    10660  4.5  0.0 /usr/sbin/browserd -s 1866 -n browserui
 1862  1284 user     S    10468  4.4  0.0 /usr/bin/browser
 1301   729 user     S     9724  4.1  0.0 /usr/bin/systemui
 1384  1284 user     S     7160  3.0  0.0 /usr/bin/camera-ui
 1386  1284 user     S     6860  2.9  0.1 /usr/bin/hildon-home
  998     1 root     S     6848  2.9  0.0 /usr/sbin/ohmd --no-daemon
 1571     1 user     S N   4804  2.0  0.0 /usr/lib/tracker/trackerd
 1422     1 user     S     4564  1.9  0.0 /usr/lib/evolution-data-server/e-addressbook-factory
 1594  1284 user     S     4072  1.7  0.0 /usr/bin/osso-connectivity-ui-conndlgs
 1540  1284 user     S     3816  1.6  0.0 /usr/bin/cl-launcher
 1612   729 user     S     3660  1.5  0.0 /usr/sbin/browserd -d
 1589   729 user     S     3648  1.5  0.1 /usr/bin/hildon-input-method
Thanks
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#2
If you look at the output you will see the stat column states the processes are in 'S' mode. This means they are asleep. They are using no processing power whatsoever.

To stop certain programs autostarting/refusing to die you need to change the 'start with hildon' option in the programs'.desktop' file and possibly stop it being started by that watchdog program that I cannot remember the name of. (the one that reboots the n900 if xorg has crashed >5 times in a row)
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
 

The Following 2 Users Say Thank You to vi_ For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#3
Originally Posted by vi_ View Post
If you look at the output you will see the stat column states the processes are in 'S' mode. This means they are asleep. They are using no processing power whatsoever.

To stop certain programs autostarting/refusing to die you need to change the 'start with hildon' option in the programs'.desktop' file and possibly stop it being started by that watchdog program that I cannot remember the name of. (the one that reboots the n900 if xorg has crashed >5 times in a row)
They don't use CPU, but eat RAM, don't they?
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#4
They do not use much ram at all. They get swapped out when the thread is sleeping. If you look with htop, you can see how much actual 'real' ram they are using.

I sem to recall I removed image-viewer and possibly something else from the startup list. Image viewer takes a little longer to load but that does not bother me.
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
 

The Following 2 Users Say Thank You to vi_ For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#5
Originally Posted by vi_ View Post
They do not use much ram at all. They get swapped out when the thread is sleeping. If you look with htop, you can see how much actual 'real' ram they are using.
They seem to do use real RAM. According to htop: image-viewer (RES): 8968, modest: 11956.

So roughly 9/12 MB real RAM used. (RES is in KB according to the IBM website: https://www.ibm.com/developerworks/c...top190?lang=en )
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following User Says Thank You to marmistrz For This Useful Post:
Posts: 95 | Thanked: 66 times | Joined on Mar 2012
#6
main reason to get rid of them (if you are really gonna be adamant about it) is to reduce swapping when you load various other apps, or even when a new call or SMS comes in. but aim for the big ones. don't bother very much with the small ones.

i didn't invest time in those processes since there's no documentation on what effects they will have & they seem to affect quite a few things here & there (ie: gets auto restarted, causes some apps to start up slowly, or causes reboots by watchdog). they're not extremely big too, & are really only big after combined.

most of the time, most of them only live in the swap area if not invoked, would not take up any battery & physical memory; just swap memory on emmc storage.

what i did was instead, to disable all daemons that i don't use often (just like what my buddy here did); ie: battery graph, removing many plugins & widgets, disabling any http or sshd servers i may have installed. i typically only use apps that load upon use & completely terminate without background processes upon manual termination.

kh
 

The Following User Says Thank You to bozoid For This Useful Post:
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#7
@marmistrz

A number of those applications running in the background are started by hildon-desktop if their .desktop file has "X-Maemo-Prestarted=always".

Have a look in /usr/share/applications/hildon and do "grep Prestarted= *.desktop" to have a look.

With "=always" I have { calendar, osso-addressbook, rtcom-call-ui, rtcom-messaging-ui }
With "=never" I have { browser, image-viewer, modest, nokia-maps, worldclock }
 

The Following 6 Users Say Thank You to reinob For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 19:13.