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)

D4rKlar 2010-07-22 09:04

Re: Optimize your Nokia N900
 
I was looking for something like this!

Reading this thread http://talk.maemo.org/showthread.php?t=41205 they mention the command

# echo 3 > /proc/sys/vm/drop_caches

....which frees the pagecache, dentries and inodes. Would that be a useful addition to the script?

Kind Regards,
D4rKlar

ossipena 2010-07-22 09:05

Re: Optimize your Nokia N900
 
1 Attachment(s)
copy this to /usr/share/applications/hildon/

with filename [anything goes].desktop

(and copy the optimize script to /opt/)

JorgeFX 2010-07-22 09:08

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by Flandry (Post 760455)
Could you please give a summary of what it's doing?

If you open the script with an editor you could see that this:

-Refresh the Audio Process to avoid audio glitch
-Refresh the Tracker process
-Refresh the browser MicroB
-Refresh of the most common applications and UIs
-Refresh the all UI Hildon, menus and bars.
-Refresh other processes

I'm testing some new processes but I think this script is mature already:)

Flandry 2010-07-22 09:11

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by Chrome (Post 760461)
I think there is a place where i can run it directly without cding, Opt maybe?

That isn't cding, it's just specifying a location. If you are looking for the "home" directory, it's /home/user AKA ~. Then it would just be sh OptimizeN900

Or, you can put it in /opt and use ossipena's desktop entry to click it from the desktop. :)

Quote:

Originally Posted by D4rKlar (Post 760462)
I was looking for something like this!

Reading this thread http://talk.maemo.org/showthread.php?t=41205 they mention the command

# echo 3 > /proc/sys/vm/drop_caches

....which frees the pagecache, dentries and inodes. Would that be a useful addition to the script?

Kind Regards,
D4rKlar

If you read on in this thread, you'll see that it's not really a useful thing to do per se.

JorgeFX 2010-07-22 09:13

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by D4rKlar (Post 760462)
I was looking for something like this!

Reading this thread http://talk.maemo.org/showthread.php?t=41205 they mention the command

# echo 3 > /proc/sys/vm/drop_caches

....which frees the pagecache, dentries and inodes. Would that be a useful addition to the script?

Kind Regards,
D4rKlar

I'm testing that too, but I'm working on a different script to TWEAK the N900 and that command is something I used but it does not have much effect on the system without other commands. In a few days maybe I could post the other script. But remember, this is for Optimize the N900 when you have several hours/days of use and the device is getting slow. The other script is meant to run one time only;)

Flandry 2010-07-22 09:14

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by JorgeFX (Post 760468)
If you open the script with an editor you could see that this:

-Refresh the Audio Process to avoid audio glitch
-Refresh the Tracker process
-Refresh the browser MicroB
-Refresh of the most common applications and UIs
-Refresh the all UI Hildon, menus and bars.
-Refresh other processes

I'm testing some new processes but I think this script is mature already:)

Really appreciate you working on this. I guess what i'm really asking (as i'm fairly trusting) is: what, if any, side effects does the script cause?

JorgeFX 2010-07-22 09:19

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by ossipena (Post 760464)
copy this to /usr/share/applications/hildon/

with filename [anything goes].desktop

(and copy the optimize script to /opt/)

I wanted to add and button to the systemui like we add a reboot button but I have not tried it yet

JorgeFX 2010-07-22 09:23

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by Flandry (Post 760482)
Really appreciate you working on this. I guess what i'm really asking (as i'm fairly trusting) is: what, if any, side effects does the script cause?

Thanks!:D After weeks of testing I can honestly and happily say that I have not seen side effects on more than 20days. Before, I had some freezes but I have been testing and testing and testing and testing and I think this is it:)

ossipena 2010-07-22 09:31

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by Chrome (Post 760472)
Should i restart after doing this? because nothing happened :D

what about trying to browse the application menu or add shortcut to desktop? (it only adds a shortcut to menu)

ossipena 2010-07-22 09:33

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by JorgeFX (Post 760485)
I wanted to add and button to the systemui like we add a reboot button but I have not tried it yet

with it you can add the shortcut to desktop, systemui is probably somewhat harder thing to do.

so concider that a quick and dirty patch to ease the usage a little.


All times are GMT. The time now is 06:39.

vBulletin® Version 3.8.8