maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Optimize your Nokia N900 (https://talk.maemo.org/showthread.php?t=58935)

ddiscodave 2010-07-30 23:35

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by JorgeFX (Post 770667)
I don't see any problem, I have most of this app installed too. I recomend unistalling SPEEDOMETER because you are saying that it does not work after PR1.2
Another thing, did you update MYPAINT? because I read that it causes problems after the last update. Don't know if it is true because I don't use it

jorge thank you for the reply. mypaint seems to be updated and i have not experienced issues running it as of yet. i will uninstall speedometer. i dont have any clue as to why i have so many processes running though even after i run the script. how many do you have running after you run it in your n900?

JorgeFX 2010-07-31 00:14

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by sukumar (Post 770814)
I tried both optimize.sh and optimize to run command 'sudo sh optimize'. It is always asking password.

However typing 'sudo gainroot' and 'sh optimize' is working well. Not sure what is password to use 'sudo sh optimize'

Did you install ROOTSH?

JorgeFX 2010-07-31 00:17

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by ddiscodave (Post 770905)
jorge thank you for the reply. mypaint seems to be updated and i have not experienced issues running it as of yet. i will uninstall speedometer. i dont have any clue as to why i have so many processes running though even after i run the script. how many do you have running after you run it in your n900?

The normal amount of active processes on the N900 must be about 200. Any amount higher is because you are running something aditional

pycage 2010-07-31 09:10

Re: Optimize your Nokia N900
 
I noticed when my N900 became laggy it almost always was due to hildon-thumbnailerd running like mad. The optimize script may consider adding a line to renice hildon-thumbnailerd to 19 to make it better.

Something like
Code:

renice 19 `pgrep hildon-thumbnailerd`

sukumar 2010-07-31 11:55

Re: Optimize your Nokia N900
 
Yes. I think I installed rootsh for custom ring tones. I don't know what is exactly rootsh. Is there anyway I can verify if I installed?

I don't know when, but I entered password on n900 while doing something. I guess it is installing custom ring tones.

sukumar 2010-07-31 12:50

Re: Optimize your Nokia N900
 
My unix skills are rusty and did work on it long time back(AIX, Solaris). I never heard sudo command since I only used 'su'.

After researching this is what I understood. I installed rootsh for custom ring tones. So this installed 'gainroot' command in /usr/sbin. I am assuming that gainroot is same as rootsh. sudo is su+ command on same line

I don't think I ever set root password on my n900.

shadowjk 2010-07-31 13:38

Re: Optimize your Nokia N900
 
"sudo gainroot"
is the N900 equivalent of "su".

Need the "rootsh" package from Extras

JorgeFX 2010-07-31 20:08

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by pycage (Post 771206)
I noticed when my N900 became laggy it almost always was due to hildon-thumbnailerd running like mad. The optimize script may consider adding a line to renice hildon-thumbnailerd to 19 to make it better.

Something like
Code:

renice 19 `pgrep hildon-thumbnailerd`

I see your point;), but, renicing processes is not part of this script because that kind of commands you have to run it only one time and you are ready to go all the way. The optimize script is not for run it one time only, it is for run it everytime you have slow downs, and adding that line is redundant. That is why I'm working in another script. Look at this:
http://talk.maemo.org/showpost.php?p...8&postcount=25;)

okhabin 2010-07-31 20:56

Re: Optimize your Nokia N900
 
#!/bin/sh

echo Your Nokia N900 is being Optimized

#Refresh the Audio Process to avoid audio glitch
killall pulseaudio

#Refresh the Tracker process
killall trackerd
killall tracker-indexer

#Refresh the browser MicroB
killall browser browserd

#Refresh of the most common applications and UIs
killall Calendar
killall osso_calculator
killall camera-ui
killall rtcom-call-ui
killall modest
killall rtcom-messaging-ui
killall image-viewer
killall osso_notes
killall osso-addressbook

#Refresh the all UI Hildon, menus and bars.
killall hildon-desktop
killall hildon-status-menu
killall systemui
#NOTE: Killing the hildon-home process can erase all widgets and that is why it is disabled
#killall hildon-home

#Refresh other processes
killall tonegend
killall mafw-gst-renderer

echo Your Nokia N900 is now Optimized! ;)

I think this is inside zip =D

jaywink 2010-08-01 12:16

Re: Optimize your Nokia N900
 
For some reason when I have this script setup in Alarmed for a nightly run, the power button menu does not work. But if I run the script manually, the power button menu is not affected. Weird :) Not running the script from Alarmed anymore but sometimes using it when swapping gets out of hand.


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

vBulletin® Version 3.8.8